From 8817a18edc9185891d48e0da9e214a678fb97b75 Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Mon, 14 Dec 2020 11:02:27 +0100 Subject: [ci] simplify script to pin ci projects --- dev/tools/pin-ci.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'dev/tools') 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 -- cgit v1.2.3 From 477cba2c8906c2007b6aa6c9aa2b352d096ec844 Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Mon, 14 Dec 2020 12:01:29 +0100 Subject: Update dev/tools/pin-ci.sh Co-authored-by: Gaƫtan Gilbert --- dev/tools/pin-ci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dev/tools') diff --git a/dev/tools/pin-ci.sh b/dev/tools/pin-ci.sh index a1ee83a004..676688bedc 100755 --- a/dev/tools/pin-ci.sh +++ b/dev/tools/pin-ci.sh @@ -38,7 +38,7 @@ process_development() { # Execute the script to set the overlay variables . $OVERLAYS -for project in ${projects[*]} +for project in ${projects[@]} do process_development $project done -- cgit v1.2.3