[gnome-build-meta/jjardon/track_latest_tag: 5/5] .gitlab-ci.yml: Add variable to create schedule pipelines to build from tags



commit b44d5d3ec2e69b5eb15114928ed8059bebc7b5d8
Author: Javier Jardón <jjardon gnome org>
Date:   Sat Jun 1 22:09:18 2019 -0700

    .gitlab-ci.yml: Add variable to create schedule pipelines to build from tags
    
    This pipeline will basically simulate doing a release

 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9bd06da4..a243e98a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,6 +4,7 @@ variables:
   XDG_CACHE_HOME: "${CI_PROJECT_DIR}/cache"
   GET_SOURCES_ATTEMPTS: 3
   BST_STRICT: '--no-strict'
+  BST_TRACK_TAGS: 'False'
   BST: "bst $BST_STRICT --config build.conf --log-file logs/build.log --colors"
   BST_SHA: '1.2.6-0-gac360dfc481c5435a52e31988cc46106cc26d01c'
   BST_EXTERNAL_SHA: '0.13.0-0-g6121d1909f80379776e7cff21faaf91adfc779e2'
@@ -151,6 +152,7 @@ track:
   <<: *x86_64
   stage: track
   script:
+    - 'sed -i "s/track-tags: False/track-tags: ${BST_TRACK_TAGS}/" project.conf'
     - ${BST} track --deps all core.bst flatpak-runtimes.bst
   retry: 2
   # only run on branches targeting master


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