-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[docker][android] use aws instead of google repository #42393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
[ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit 458b857 (more details on the Dr. CI page):
🕵️ 3 new failures recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
[ghstack-poisoned]
[ghstack-poisoned]
| curl --silent --show-error --location --fail --retry 3 --output /tmp/$_sdk_version https://dl.google.com/android/repository/$_sdk_version | ||
| sudo unzip -q /tmp/$_sdk_version -d $_android_home | ||
| rm /tmp/$_sdk_version | ||
| curl --silent --show-error --location --fail --retry 3 --output /tmp/android-sdk-linux.zip $_https_amazon_aws/android-sdk-linux.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be
| curl --silent --show-error --location --fail --retry 3 --output /tmp/android-sdk-linux.zip $_https_amazon_aws/android-sdk-linux.zip | |
| curl --silent --show-error --location --fail --retry 3 --output /tmp/android-sdk-linux.zip $_https_amazon_aws/sdk-tools-linux-3859397.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here I did a change how we install it,
it was hard to just with unpacking archives to replicate all sdk state that should be equivalent to:
unzip sdk-tools-linux-3859397.zip
sdkmanager \
"tools" \
"platform-tools" \
"emulator"
sdkmanager \
"build-tools;28.0.3" \
"build-tools;29.0.2"
sdkmanager \
"platforms;android-28" \
"platforms;android-29"
I zipped that state from my devserver to android-sdk-linux.zip
If we want to support naming how it was packed, probably it should be something like
android-sdk-linux-tools3859397-build-tools2803-2902-platforms28-29.zip
[ghstack-poisoned]
[ghstack-poisoned]
|
Closing as change was merged inside original PR: #40950 |
Stack from ghstack: