Commit 235d79af authored by Vesa Vertainen's avatar Vesa Vertainen

fixed setup-pipeline.sh to work on CentOS

parent 52dac8a5
Pipeline #83155294 failed with stage
in 8 minutes and 30 seconds
......@@ -61,7 +61,6 @@ PIPELINES=$(find pipelines/ \( -name "setup.sh" \) | grep -oP './\K.*?(?=/)')
PS3="Your choice: "
select CHOSEN_PIPELINE in "${OPTIONS[@]}"; do
if [[ -n "$CHOSEN_PIPELINE" ]]; then
PIPELINE="$CHOSEN_PIPELINE"
break
else
if [ "$REPLY" = "q" ] || [ "$REPLY" = "Q" ]; then exit;fi
......@@ -71,7 +70,7 @@ PIPELINES=$(find pipelines/ \( -name "setup.sh" \) | grep -oP './\K.*?(?=/)')
# Check if private registry was chosen
if [[ $CHOSEN_PIPELINE == *"Private"* ]]; then
CHOSEN_PIPELINE="${CHOSEN_PIPELINE/" $REGISTRY_VERSION"/""}"
CHOSEN_PIPELINE="${CHOSEN_PIPELINE/" $REGISTRY_VERSION"/}"
fi
# Change directory and launch pipeline setup.sh, if exists
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment