[sysadmin/buildstream-management] /: track: parameterize the track argument

Harald Sitter <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 731767a632613a0e9dc3de240e674341d1fda4ea by Harald Sitter.
Committed on 03/08/2026 at 19:45.
Pushed by sitter into branch 'master'.

track: parameterize the track argument

this allows us to track different things per repo

M  +1    -1    .gitlab-ci.yml
M  +1    -1    track.sh

https://invent.kde.org/sysadmin/buildstream-management/-/commit/731767a632613a0e9dc3de240e674341d1fda4ea

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1ae8dd8..4a7e3d3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,4 +17,4 @@ track_kde-buildstream:on-schedule:
     - if: $CI_PIPELINE_SOURCE == "schedule"
   image: storage.kde.org/vm-images/kde-linux-builder
   script:
-    - TARGET_PROJECT=packaging/kde-buildstream ./track.sh
+    - TARGET_PROJECT=packaging/kde-buildstream ./track.sh **.bst
diff --git a/track.sh b/track.sh
index 705cefb..a85cd47 100755
--- a/track.sh
+++ b/track.sh
@@ -17,7 +17,7 @@ python3 -m pip install 'BuildStream>=2.7' buildstream-plugins dulwich tomlkit
 git clone --depth 1 --branch master https://oauth2:$KDECI_PUSH_TOKEN@$CI_SERVER_FQDN/$TARGET_PROJECT.git repo
 cd repo
 
-bst source track **.bst
+bst source track "$@"
 
 git config user.email "[email protected]"
 git config user.name "KDE CI"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.