[gnome-build-meta/alatiera/async-image-builds: 118/119] fixup! ci: switch from dependencies key to needs




commit e82dee9c873dc019b6f202580f73e8c045cf6abd
Author: Jordan Petridis <jordan centricular com>
Date:   Mon Apr 19 04:30:50 2021 +0300

    fixup! ci: switch from dependencies key to needs

 .gitlab-ci.yml | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8d65111f..fd26e239 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,7 +30,9 @@ default:
 
 .build-template:
   stage: build
-  needs: ['track']
+  needs:
+    - job: 'track'
+      optional: true
   interruptible: true
   script:
   - TARGETS=(core.bst flatpak-runtimes.bst flatpak-platform-extensions.bst flatpak/platform-manifest.bst 
flatpak/sdk-manifest.bst)
@@ -57,7 +59,9 @@ default:
 
 .manual-image-template:
   stage: deploy
-  needs: ['track']
+  needs:
+    - job: 'track'
+      optional: true
   when: manual
   allow_failure: true
   script:
@@ -79,7 +83,9 @@ default:
 .ostree-template:
   extends: .deploy-rules
   stage: deploy
-  needs: ['track']
+  needs:
+    - job: 'track'
+      optional: true
   script:
   - |
     export FLAT_MANAGER_SERVER=https://flatmgr-ostree.openshift.gnome.org/
@@ -153,6 +159,7 @@ generate-deploy-config:
   - .deploy-rules
   needs:
     - job: 'track'
+      optional: true
     - job: 'build-x86_64'
       artifacts: false
     - job: 'build-i386'
@@ -285,6 +292,7 @@ s3-image:
   stage: deploy
   needs:
     - job: 'track'
+      optional: true
     - job: 'build-x86_64'
       artifacts: false
   script:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]