gitlab-ci: x86_test-base image as common base for x86_test-gl/vk
authorMichel Dänzer <mdaenzer@redhat.com>
Sat, 16 May 2020 15:17:23 +0000 (17:17 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 28 May 2020 08:01:24 +0000 (08:01 +0000)
commitc2366f01fd194c9aef91153e3050af30c57bb95a
treec20922845e233a18829ac7e4a1a20fced1be5a9c
parent43111ea74589db078aa7d385d49d480097d22439
gitlab-ci: x86_test-base image as common base for x86_test-gl/vk

Making use of the relatively recent FDO_BASE_IMAGE feature of the
templates, the x86_test-base image contents are shared as a separate
layer by the x86_test-gl/vk images (meaning the former only needs to be
downloaded once for either or both of the latter). This should be more
efficient in terms of overall network bandwidth and storage, in
particular if the base image changes less often than the -gl/vk ones.

v2:
* List x86_test-base in needs: along with x86_test-gl/vk (see parent
  commit)
* Always put $STABLE/TESTING_EPHEMERAL on separate lines, will make it
  easier to add any non-ephemeral packages

Reviewed-by: Eric Anholt <eric@anholt.net> # v1
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5186>
.gitlab-ci.yml
.gitlab-ci/container/x86_test-base.sh [new file with mode: 0644]
.gitlab-ci/container/x86_test-gl.sh
.gitlab-ci/container/x86_test-vk.sh