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



commit 50be25ab646fafa024a7a9971bdce54b35b154d6
Author: Jordan Petridis <jordan centricular com>
Date:   Tue Sep 1 19:19:01 2020 +0300

    ci: switch from dependencies key to needs

 .gitlab-ci.yml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 422ce88a..d89060e3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -49,7 +49,7 @@ default:
 
 .build-template:
   stage: build
-  dependencies: [track]
+  needs: ['track']
   interruptible: true
   script:
   - TARGETS=(core.bst flatpak-runtimes.bst flatpak-platform-extensions.bst platform-manifest.bst 
sdk-manifest.bst)
@@ -76,7 +76,7 @@ default:
 
 .manual-image-template:
   stage: deploy
-  dependencies: [track]
+  needs: ['track']
   when: manual
   allow_failure: true
   script:
@@ -97,7 +97,7 @@ default:
 .ostree-template:
   extends: .deploy-rules
   stage: deploy
-  dependencies: [track]
+  needs: ['track']
   script:
   - |
     export FLAT_MANAGER_SERVER=https://flatmgr-ostree.openshift.gnome.org/
@@ -171,7 +171,7 @@ generate-deploy-config:
   extends:
   - .x86_64
   - .deploy-rules
-  dependencies: [track]
+  needs: ['track']
   stage: deploy-config
   script:
   - TRACK_JOB_ID=$(cat track-job.id)
@@ -276,7 +276,7 @@ raspberrypi-4-image:
 s3-image:
   extends: .x86_64
   stage: deploy
-  dependencies: [track]
+  needs: ['track']
   script:
     - ${BST_NO_PUSH} --max-jobs $(( $(nproc) / 4 )) -o arch "${ARCH}" build vm/image.bst
     - ${BST} -o arch "${ARCH}" checkout --hardlinks vm/image.bst image
@@ -307,7 +307,7 @@ ostree-x86_64:
 cve_report:
   extends: .x86_64
   stage: reports
-  dependencies: [track]
+  needs: ['track']
   script:
   - ${BST} pull platform-manifest.bst sdk-manifest.bst
 


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