summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorEric Engestrom <eric@igalia.com>2023-03-09 11:33:53 +0000
committerMarge Bot <emma+marge@anholt.net>2023-10-07 21:38:02 +0000
commit6387c175044b4e15c41095420aed297ea34983e3 (patch)
tree101a52cf0cd5e680d18e8f70b405a6d928788d39 /.gitlab-ci
parent8b9677a4f46bd7b16f57c38d5a8a70043b7213ed (diff)
downloadmesa-6387c175044b4e15c41095420aed297ea34983e3.tar.gz
mesa-6387c175044b4e15c41095420aed297ea34983e3.tar.bz2
mesa-6387c175044b4e15c41095420aed297ea34983e3.zip
ci: print deqp version in the job log
This allows to easily verify which version was actually running in some job, to notice if an image tag wasn't properly bumped, for instance. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21850>
Diffstat (limited to '.gitlab-ci')
-rw-r--r--.gitlab-ci/container/build-deqp.sh2
-rwxr-xr-x.gitlab-ci/deqp-runner.sh2
-rw-r--r--.gitlab-ci/image-tags.yml8
3 files changed, 8 insertions, 4 deletions
diff --git a/.gitlab-ci/container/build-deqp.sh b/.gitlab-ci/container/build-deqp.sh
index cce4f52c73a..10d0d904bfc 100644
--- a/.gitlab-ci/container/build-deqp.sh
+++ b/.gitlab-ci/container/build-deqp.sh
@@ -110,6 +110,8 @@ if [ "${DEQP_TARGET}" = 'android' ]; then
mv /deqp/modules/egl/deqp-egl /deqp/modules/egl/deqp-egl-android
fi
+git -C /VK-GL-CTS describe --long > /deqp/version
+
# Copy out the mustpass lists we want.
mkdir /deqp/mustpass
for mustpass in $(< /VK-GL-CTS/external/vulkancts/mustpass/main/vk-default.txt) ; do
diff --git a/.gitlab-ci/deqp-runner.sh b/.gitlab-ci/deqp-runner.sh
index 3d5df0a8499..cf7b22d96e3 100755
--- a/.gitlab-ci/deqp-runner.sh
+++ b/.gitlab-ci/deqp-runner.sh
@@ -161,6 +161,8 @@ fi
uncollapsed_section_switch deqp "deqp: deqp-runner"
+echo "deqp $(cat /deqp/version)"
+
set +e
if [ -z "$DEQP_SUITE" ]; then
deqp-runner \
diff --git a/.gitlab-ci/image-tags.yml b/.gitlab-ci/image-tags.yml
index 69657492107..67cae5d90d4 100644
--- a/.gitlab-ci/image-tags.yml
+++ b/.gitlab-ci/image-tags.yml
@@ -7,7 +7,7 @@
variables:
DEBIAN_X86_64_BUILD_BASE_IMAGE: "debian/x86_64_build-base"
- DEBIAN_BASE_TAG: "2023-10-06-crosvm"
+ DEBIAN_BASE_TAG: "2023-10-07-deqp-version"
DEBIAN_X86_64_BUILD_IMAGE_PATH: "debian/x86_64_build"
DEBIAN_BUILD_TAG: "2023-09-30-shader-db"
@@ -21,9 +21,9 @@ 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: "2023-09-18-deqp"
- DEBIAN_X86_64_TEST_GL_TAG: "2023-09-18-deqp"
- DEBIAN_X86_64_TEST_VK_TAG: "2023-09-18-deqp"
+ DEBIAN_X86_64_TEST_ANDROID_TAG: "2023-10-07-deqp-version"
+ DEBIAN_X86_64_TEST_GL_TAG: "2023-10-07-deqp-version"
+ DEBIAN_X86_64_TEST_VK_TAG: "2023-10-07-deqp-version"
ALPINE_X86_64_BUILD_TAG: "2023-10-04-ephemeral"
ALPINE_X86_64_LAVA_SSH_TAG: "2023-06-26-first-version"