Commit f6a33467 authored by Thomas Beermann's avatar Thomas Beermann
Browse files

fix trim command for deployment url

parent 8a2578c0
Pipeline #93864 passed with stages
in 10 minutes and 21 seconds
......@@ -62,7 +62,7 @@ docker_build_push:
docker build -t $DOCKER_IMAGE_BASE:latest .
docker push $DOCKER_IMAGE_BASE:latest
else
tag=$(echo $CI_COMMIT_REF_NAME | tr _ -)
tag=$(echo $CI_COMMIT_REF_NAME | tr [:upper:] [:lower:] | tr [:punct:] -)
docker build -t $DOCKER_IMAGE_BASE:$tag .
docker push $DOCKER_IMAGE_BASE:$tag
fi
......@@ -80,7 +80,7 @@ trigger_deploy_mr:
- apk add curl
script:
- 'curl -X POST -F token=$GITLAB_DESY_TOKEN -F ref=main --form "variables[CI_COMMIT_REF_NAME]=$CI_COMMIT_REF_NAME" --form "variables[CI_MERGE_REQUEST_IID]=$CI_MERGE_REQUEST_IID" --form "variables[CP_COMPONENT]=webapp" $GITLAB_DESY_URL'
- echo "Application will be automatically deployed. After a couple of minutes you can find it at http://webapp-`echo $CI_COMMIT_REF_NAME | tr _ -`.beermath-test.131.169.234.105.nip.io"
- echo "Application will be automatically deployed. After a couple of minutes you can find it at http://webapp-`echo $CI_COMMIT_REF_NAME | tr [:upper:] [:lower:] | tr [:punct:] -`.beermath-test.131.169.234.105.nip.io"
trigger_deploy_master:
only:
......
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