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



commit 81e09f1c9a0ffca9535c6cf6701cbf6a6b29f08a
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

 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1a498f39..cbcc8cc2 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.9.0-0-g63a19e8068bd777bd9cd59b1a9442f9749ea5a85'
@@ -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]