ci/android: use a specific version of android-cuttlefish

Using whatever version is the latest at the time of the image build is
bad practice from a stability & reproducibility point of view, and the
latest version is currently broken, preventing any change that rebuilds
the android image from being merged.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27911>
This commit is contained in:
Eric Engestrom 2024-03-01 09:42:24 +00:00 committed by Marge Bot
parent fab675956a
commit 2106092e63
2 changed files with 8 additions and 2 deletions

View file

@ -74,8 +74,14 @@ popd
############### Building and installing Debian package ...
git clone --depth 1 https://github.com/google/android-cuttlefish.git
ANDROID_CUTTLEFISH_VERSION=f6494d9fbeaa9974b56923e3029909e5d5f440dd
mkdir android-cuttlefish
pushd android-cuttlefish
git init
git remote add origin https://github.com/google/android-cuttlefish.git
git fetch --depth 1 origin "$ANDROID_CUTTLEFISH_VERSION"
git checkout FETCH_HEAD
pushd base
dpkg-buildpackage -uc -us

View file

@ -24,7 +24,7 @@ variables:
DEBIAN_X86_64_TEST_IMAGE_VK_PATH: "debian/x86_64_test-vk"
DEBIAN_X86_64_TEST_ANDROID_IMAGE_PATH: "debian/x86_64_test-android"
DEBIAN_X86_64_TEST_ANDROID_TAG: "20240124-split"
DEBIAN_X86_64_TEST_ANDROID_TAG: "20240301-cuttlefish"
DEBIAN_X86_64_TEST_GL_TAG: "20240223-piglit-2a"
DEBIAN_X86_64_TEST_VK_TAG: "20240223-piglit-2a"
ALPINE_X86_64_BUILD_TAG: "20240208-libclc-5"