[gnome-runtime-images/alatiera/scheduled-stable-rebuilds: 2/3] avoid rebuilding stable releases unless on scheduled pipelines



commit 491026e43fcc58903e382bf86a119791283312ed
Author: Jordan Petridis <jpetridis gnome org>
Date:   Thu Apr 23 11:50:33 2020 +0300

    avoid rebuilding stable releases unless on scheduled pipelines
    
    Require an env var to trigger the build automatically,
    which we are only going to set in a scheduled pipeline

 .gitlab-ci.yml | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a42ba08..a25626a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -77,6 +77,7 @@ flat-manager-client:
 # Expects ${BRANCH} and ${FD_BRANCH} variables which are the gnome branch and the freedesktop-sdk
 # branch it is based on
 .sdk_template:
+    needs: []
     script:
         # build the flatpak sdk image
         - |
@@ -118,6 +119,10 @@ gnome:3.32:
     variables:
         BRANCH: "3.32"
         FD_BRANCH: "18.08"
+    rules:
+      - if: '$REBUILD_3_32'
+        when: 'always'
+      - when: 'manual'
 
 gnome:3.34:
     stage: runtimes
@@ -125,6 +130,10 @@ gnome:3.34:
     variables:
         BRANCH: "3.34"
         FD_BRANCH: "19.08"
+    rules:
+      - if: '$REBUILD_3_34'
+        when: 'always'
+      - when: 'manual'
 
 gnome:3.36:
     stage: runtimes
@@ -132,3 +141,7 @@ gnome:3.36:
     variables:
         BRANCH: "3.36"
         FD_BRANCH: "19.08"
+    rules:
+      - if: '$REBUILD_3_36'
+        when: 'always'
+      - when: 'manual'


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