Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Petridis <jordan@centricular.com>2022-09-14 15:19:21 +0300
committerJordan Petridis <jordan@centricular.com>2022-09-14 15:30:35 +0300
commit3f5020ec837a48390426c369dc07f2062f1e9e4f (patch)
treea853c7396302df31651a5b5a4a8793a873e9fb9a /.gitlab-ci.yml
parent45962eca1cfdd1d6d8e39edd449c2ae778898333 (diff)
ci: have build jobs depend on either build-* or update-* jobs
followup to 23c07d3c When we trigger an update pipeline, instead of build-jobs we replace them update-* jobs. In order for gitlab to not complain add both of the jobs in the needs array, but mark them as optional so either of them can be used depending on the usecase.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml18
1 files changed, 15 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 57720f211..c828c63eb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -128,19 +128,31 @@ update-nightly:
extends:
- .dist-debian-container
- .debian:11-stable
- needs: ['build-stable']
+ needs:
+ - job: 'build-stable'
+ optional: true
+ - job: 'update-stable'
+ optional: true
.img-msrv:
extends:
- .dist-debian-container
- .debian:11-msrv
- needs: ['build-msrv']
+ needs:
+ - job: 'build-msrv'
+ optional: true
+ - job: 'update-msrv'
+ optional: true
.img-nightly:
extends:
- .dist-debian-container
- .debian:11-nightly
- needs: ['build-nightly']
+ needs:
+ - job: 'build-nightly'
+ optional: true
+ - job: 'update-nightly'
+ optional: true
.cargo test:
stage: "test"