[polari] ci: Explicitly specify job dependencies



commit 5a16adfb615442a205a468fb4b1ca005f260d10c
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Aug 30 21:33:02 2021 +0200

    ci: Explicitly specify job dependencies
    
    We can speed up CI a bit by allowing build jobs to run in parallel
    with review jobs.
    
    See https://gitlab.gnome.org/help/ci/yaml/README.md#needs for details.
    
    Part-of: <https://gitlab.gnome.org/GNOME/polari/-/merge_requests/220>

 .gitlab-ci.yml | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ee18c743..321333b1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -84,6 +84,7 @@ check-merge-request:
 eslint:
   image: registry.gitlab.gnome.org/gnome/gnome-shell/fedora/34:2021-08-12.0
   stage: review
+  needs: []
   script:
     - eslint -o $LINT_LOG -f junit --resolve-plugins-relative-to $(npm root -g) src
   artifacts:
@@ -94,6 +95,7 @@ eslint:
 
 .flatpak-template:
   stage: build
+  needs: []
   variables:
     RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo";
     FLATPAK_MODULE: "polari"
@@ -115,6 +117,8 @@ flatpak-main:
 
 nightly:
   extends: '.publish_nightly'
+  needs:
+    - flatpak-main
   variables:
     BUNDLES: '$BUNDLE'
 
@@ -123,6 +127,7 @@ check-flatpak-deps:
     name: ghcr.io/flathub/flatpak-external-data-checker
     entrypoint: [""]
   stage: housekeeping
+  needs: []
   script:
     - /app/flatpak-external-data-checker $MANIFEST_PATH
   rules:


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