reconfigure.sh takes pipelines to configure
@@ -30,6 +30,19 @@ lpass sync
pipelines_path=$(cd $(dirname $0)/../ci/pipelines && pwd)
+pipeline=${1}
+
+if [ "$#" -gt 0 ]; then
+ for pipeline in $*; do
+ file=$pipelines_path/${pipeline}.yml
+ if [ "$pipeline" = "main" ]; then
+ file=$pipelines_path/concourse.yml
+ fi
+
+ configure_pipeline $pipeline \
+ $file
+ done
+else
configure_pipeline main \
$pipelines_path/concourse.yml
@@ -47,3 +60,4 @@ configure_pipeline hangar \
configure_pipeline prs \
$pipelines_path/pull-requests.yml
+fi
