ci: Put all container related jobs in a single stage
authorMichel Dänzer <mdaenzer@redhat.com>
Thu, 9 Sep 2021 10:26:39 +0000 (12:26 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 10 Sep 2021 18:56:26 +0000 (18:56 +0000)
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>

.gitlab-ci.yml

index 5c9aae2..1a28a11 100644 (file)
@@ -45,7 +45,6 @@ include:
 stages:
   - sanity
   - container
-  - container-2
   - git-archive
   - build-x86_64
   - build-misc
@@ -282,7 +281,6 @@ test-docs-mr:
     - .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:
@@ -461,7 +459,7 @@ fedora/x86_build:
 .kernel+rootfs:
   extends:
     - .ci-run-policy
-  stage: container-2
+  stage: container
   variables:
     GIT_STRATEGY: fetch
     KERNEL_URL: *kernel-rootfs-url
@@ -512,7 +510,6 @@ debian/arm_test:
     - .container
     # Don't want the .container rules
     - .ci-run-policy
-  stage: build-misc
   needs:
     - kernel+rootfs_arm64
     - kernel+rootfs_armhf