mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-21 18:20:33 +01:00
ci: Export the rootfs from the test-* containers
Use the FDO_DISTRIBUTION_POST_EXEC mechanism to run the fdo_cntr_export.sh script after building the test-* containers. This exports the container rootfs, creates a lava-rootfs.tar.zst archive, and uploads it to S3. Signed-off-by: Valentine Burley <valentine.burley@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34451>
This commit is contained in:
parent
53c7a04d12
commit
16db8b22cc
1 changed files with 16 additions and 0 deletions
|
|
@ -102,6 +102,12 @@
|
|||
variables:
|
||||
CI_BUILD_COMPONENTS: "angle piglit"
|
||||
|
||||
# Export the container rootfs and upload it to S3
|
||||
.export-container:
|
||||
variables:
|
||||
FDO_DISTRIBUTION_PACKAGES: zstd
|
||||
FDO_DISTRIBUTION_POST_EXEC: 'bash .gitlab-ci/container/fdo_cntr_export.sh'
|
||||
|
||||
.use-base-image:
|
||||
extends:
|
||||
- .container
|
||||
|
|
@ -422,8 +428,10 @@ debian/x86_64_test-gl:
|
|||
extends:
|
||||
- .use-debian/x86_64_test-base
|
||||
- .container-builds-x86_64
|
||||
- .export-container
|
||||
variables:
|
||||
MESA_IMAGE_TAG: &debian-x86_64_test-gl ${DEBIAN_TEST_GL_TAG}
|
||||
LAVA_DISTRIBUTION_TAG: "debian/x86_64_test-gl:${DEBIAN_TEST_GL_TAG}--${DEBIAN_BASE_TAG}--${PKG_REPO_REV}--${KERNEL_TAG}--${MESA_TEMPLATES_COMMIT}"
|
||||
|
||||
.use-debian/x86_64_test-gl:
|
||||
tags:
|
||||
|
|
@ -442,8 +450,10 @@ debian/x86_64_test-vk:
|
|||
extends:
|
||||
- .use-debian/x86_64_test-base
|
||||
- .container-builds-x86_64
|
||||
- .export-container
|
||||
variables:
|
||||
MESA_IMAGE_TAG: &debian-x86_64_test-vk ${DEBIAN_TEST_VK_TAG}
|
||||
LAVA_DISTRIBUTION_TAG: "debian/x86_64_test-vk:${DEBIAN_TEST_VK_TAG}--${DEBIAN_BASE_TAG}--${PKG_REPO_REV}--${KERNEL_TAG}--${MESA_TEMPLATES_COMMIT}"
|
||||
|
||||
.use-debian/x86_64_test-vk:
|
||||
tags:
|
||||
|
|
@ -506,8 +516,10 @@ debian/arm32_test-gl:
|
|||
extends:
|
||||
- .use-debian/arm32_test-base
|
||||
- .container-builds-arm32
|
||||
- .export-container
|
||||
variables:
|
||||
MESA_IMAGE_TAG: &debian-arm32_test-gl ${DEBIAN_TEST_GL_TAG}
|
||||
LAVA_DISTRIBUTION_TAG: "debian/arm32_test-gl:${DEBIAN_TEST_GL_TAG}--${DEBIAN_BASE_TAG}--${PKG_REPO_REV}--${MESA_TEMPLATES_COMMIT}"
|
||||
|
||||
.use-debian/arm32_test-gl:
|
||||
tags:
|
||||
|
|
@ -552,8 +564,10 @@ debian/arm64_test-gl:
|
|||
extends:
|
||||
- .use-debian/arm64_test-base
|
||||
- .container-builds-arm64
|
||||
- .export-container
|
||||
variables:
|
||||
MESA_IMAGE_TAG: &debian-arm64_test-gl ${DEBIAN_TEST_GL_TAG}
|
||||
LAVA_DISTRIBUTION_TAG: "debian/arm64_test-gl:${DEBIAN_TEST_GL_TAG}--${DEBIAN_BASE_TAG}--${PKG_REPO_REV}--${MESA_TEMPLATES_COMMIT}"
|
||||
|
||||
.use-debian/arm64_test-gl:
|
||||
tags:
|
||||
|
|
@ -574,8 +588,10 @@ debian/arm64_test-vk:
|
|||
extends:
|
||||
- .use-debian/arm64_test-base
|
||||
- .container-builds-arm64
|
||||
- .export-container
|
||||
variables:
|
||||
MESA_IMAGE_TAG: &debian-arm64_test-vk ${DEBIAN_TEST_VK_TAG}
|
||||
LAVA_DISTRIBUTION_TAG: "debian/arm64_test-vk:${DEBIAN_TEST_VK_TAG}--${DEBIAN_BASE_TAG}--${PKG_REPO_REV}--${MESA_TEMPLATES_COMMIT}"
|
||||
|
||||
.use-debian/arm64_test-vk:
|
||||
tags:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue