aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorEnrico Tassi2020-12-14 11:02:27 +0100
committerEnrico Tassi2020-12-14 11:02:27 +0100
commit8817a18edc9185891d48e0da9e214a678fb97b75 (patch)
tree649017781221e576f86354fc300f1242066ce4da /dev
parentc95058a0f70608c82195f34fef78ac50d517cf8a (diff)
[ci] simplify script to pin ci projects
Diffstat (limited to 'dev')
-rwxr-xr-xdev/tools/pin-ci.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/dev/tools/pin-ci.sh b/dev/tools/pin-ci.sh
index dbf54d7f0a..a1ee83a004 100755
--- a/dev/tools/pin-ci.sh
+++ b/dev/tools/pin-ci.sh
@@ -38,9 +38,7 @@ process_development() {
# Execute the script to set the overlay variables
. $OVERLAYS
-# Find all variables declared in the base overlay of the form *_CI_GITURL
-for REPO_VAR in $(compgen -A variable | grep _CI_GITURL)
+for project in ${projects[*]}
do
- DEV=${REPO_VAR%_CI_GITURL}
- process_development $DEV
+ process_development $project
done