Skip to content
Snippets Groups Projects
Commit 6e397bc3 authored by Administrator's avatar Administrator
Browse files

Update generate-deploy-stages.sh

parent 0ad3ee73
No related branches found
No related tags found
No related merge requests found
Pipeline #1766 failed with stages
in 1 second
...@@ -5,7 +5,7 @@ basedir=$( cd "$(dirname "$0")" ; pwd -P ) ...@@ -5,7 +5,7 @@ basedir=$( cd "$(dirname "$0")" ; pwd -P )
echo TRIGGER_PAYLOAD=$TRIGGER_PAYLOAD echo TRIGGER_PAYLOAD=$TRIGGER_PAYLOAD
cat $TRIGGER_PAYLOAD cat $TRIGGER_PAYLOAD
cat $TRIGGER_PAYLOAD | python3 -c "import sys, json; print(json.loads(json.load(sys.stdin)['payload'])['ref'])" | grep "uat" cat $TRIGGER_PAYLOAD | python3 -c "import sys, json; print(json.loads(json.load(sys.stdin)['payload'])['ref'])" | grep "uat"
TAG=$(!!) TAG=$($(!!))
touch deploy.yml touch deploy.yml
if [ -z "${TAG}" ]; then if [ -z "${TAG}" ]; then
git clone --single-branch --branch ${TAG} https://github.com/MAAP-Project/maap-workspaces.git git clone --single-branch --branch ${TAG} https://github.com/MAAP-Project/maap-workspaces.git
......
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