Bug 1868944 - pin android emulator version in toolchain tasks r=gbrown! CLOSED TREE

This is not really the best fix - ultimately the pinned version should go in a task definition somewhere, I think, and we should even consider pinning in https://searchfox.org/mozilla-central/source/python/mozboot/mozboot/android.py and pinning for even non-Taskcluster users (as we do for the NDK, cmdline tools, etc.)

But this is the safest, quickest fix for the immediate term.

Differential Revision: https://phabricator.services.mozilla.com/D195914
This commit is contained in:
Ben Hearsum 2023-12-08 19:29:16 +00:00
Родитель 7a4dbf4053
Коммит 2f526e5cdc
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -10,6 +10,13 @@ mkdir -p $UPLOAD_DIR
cd $GECKO_PATH
./mach python python/mozboot/mozboot/android.py --emulator-only --no-interactive --list-packages
# Bug XXXX: override emulator to a known working version
curl -L http://dl.google.com/android/repository/emulator-linux_x64-10696886.zip > /tmp/emulator.zip
cd /builds/worker/.mozbuild/android-sdk-linux
rm -rf emulator
unzip /tmp/emulator.zip
cd $GECKO_PATH
# Remove extra files we don't need
rm -rfv /builds/worker/.mozbuild/android-sdk-linux/tools
mkdir /builds/worker/.mozbuild/android-sdk-linux/system-images