Author SHA1 Message Date
r.didato 7680378f28 Scripts 2022-09-25 15:46:54 +02:00
r.didato 7bab6253cf Automation 2022-09-25 15:43:49 +02:00
+10 -5
View File
@@ -116,11 +116,6 @@ if [[ $SELECTED_MODES -ne 1 ]]; then
usage
fi
if [[ $AUTOTAG -eq 1 ]]; then
TAG=`./next-ver.sh -${TAG_OPTS}`
echo "Using tag $TAG"
fi
./aws-login.sh
if [[ $UNIT_MODE -eq 1 ]]; then
@@ -137,6 +132,10 @@ if [[ $UNIT_MODE -eq 1 ]]; then
fi
if [[ $PUBLISH_MODE -eq 1 ]]; then
if [[ $AUTOTAG -eq 1 ]]; then
TAG=`./next-ver.sh -${TAG_OPTS}`
echo "Using tag $TAG"
fi
BUILDOPT+="bu"
VERBOPT=""
if [[ $VERBOSE -gt 0 ]]; then
@@ -180,6 +179,9 @@ if [[ $DEBUG_MODE -eq 1 ]]; then
fi
if [[ $DEPLOY_TEST_MODE -eq 1 ]]; then
if [[ $AUTOTAG -eq 1 ]]; then
TAG=`./latest-ver.sh -${TAG_OPTS}`
fi
OUT_FOLDER="/home/$PROJECT_AUTHOR/$PROJECT_BUILDNAME/test"
mkdir -p $OUT_FOLDER
./generateComposeFolder.sh -s -o "$OUT_FOLDER" -t $TAG
@@ -189,6 +191,9 @@ if [[ $DEPLOY_TEST_MODE -eq 1 ]]; then
fi
if [[ $DEPLOY_PROD_MODE -eq 1 ]]; then
if [[ $AUTOTAG -eq 1 ]]; then
TAG=`./latest-ver.sh -${TAG_OPTS}`
fi
OUT_FOLDER="/home/$PROJECT_AUTHOR/$PROJECT_BUILDNAME/production"
mkdir -p $OUT_FOLDER
./generateComposeFolder.sh -p -o "$OUT_FOLDER" -t $TAG