.gitlab-ci.d/container-cross: Fix RISC-V container dependencies / stages
authorThomas Huth <thuth@redhat.com>
Fri, 27 May 2022 15:35:31 +0000 (16:35 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 1 Jun 2022 09:21:49 +0000 (10:21 +0100)
The "riscv64-debian-cross-container" job does not depend on any other
container job from the first stage, so we can move it to the first
stage, too.

The "riscv64-debian-test-cross-container" job needs the debian11
container, so we should add a proper "needs:" statement here.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220524093141.91012-1-thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220527153603.887929-2-alex.bennee@linaro.org>

.gitlab-ci.d/container-cross.yml

index e622ac2d21311d6501b701e463e998e1983f4e5d..ac15fce9b63ba1e921b742e6918f9c73c6c5cd32 100644 (file)
@@ -125,7 +125,7 @@ ppc64el-debian-cross-container:
 
 riscv64-debian-cross-container:
   extends: .container_job_template
-  stage: containers-layer2
+  stage: containers
   # as we are currently based on 'sid/unstable' we may break so...
   allow_failure: true
   variables:
@@ -135,6 +135,7 @@ riscv64-debian-cross-container:
 riscv64-debian-test-cross-container:
   extends: .container_job_template
   stage: containers-layer2
+  needs: ['amd64-debian11-container']
   variables:
     NAME: debian-riscv64-test-cross