GitLab 14.2 supports dependencies between jobs in the same stage.
Acked-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12790>
stages:
- sanity
- container
- - container-2
- git-archive
- build-x86_64
- build-misc
- .incorporate-base-tag+templates-commit
# Don't want the .container rules
- .ci-run-policy
- stage: container-2
# Debian 11 based x86 build image base
debian/x86_build-base:
.kernel+rootfs:
extends:
- .ci-run-policy
- stage: container-2
+ stage: container
variables:
GIT_STRATEGY: fetch
KERNEL_URL: *kernel-rootfs-url
- .container
# Don't want the .container rules
- .ci-run-policy
- stage: build-misc
needs:
- kernel+rootfs_arm64
- kernel+rootfs_armhf