Skip to content

Commit

Permalink
deployment: While creating AMI disable flag '--disable-rollback' to r…
Browse files Browse the repository at this point in the history
…emove unused NIGHTLY parameter
  • Loading branch information
cruizba committed Jul 31, 2023
1 parent c683d98 commit 918bf0a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions openvidu-server/deployments/ce/aws/createAMI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ fi

aws cloudformation create-stack \
--stack-name openvidu-ce-${DATESTAMP} \
--template-url ${TEMPLATE_URL} \
"$(if [ "$NIGHTLY" == "false" ]; then echo '--disable-rollback'; fi)"
--template-url ${TEMPLATE_URL}
# --disable-rollback

aws cloudformation wait stack-create-complete --stack-name openvidu-ce-${DATESTAMP}

Expand Down
4 changes: 2 additions & 2 deletions openvidu-server/deployments/enterprise/aws/createAMI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ fi

aws cloudformation create-stack \
--stack-name openvidu-${DATESTAMP} \
--template-url ${TEMPLATE_URL} \
"$(if [ "$NIGHTLY" == "false" ]; then echo '--disable-rollback'; fi)"
--template-url ${TEMPLATE_URL}
# --disable-rollback

aws cloudformation wait stack-create-complete --stack-name openvidu-${DATESTAMP}

Expand Down
4 changes: 2 additions & 2 deletions openvidu-server/deployments/enterprise/aws/dev/createAMI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ TEMPLATE_URL=https://s3-eu-west-1.amazonaws.com/aws.openvidu.io/cfn-crete-ov-aws

aws cloudformation create-stack \
--stack-name openvidu-${DATESTAMP} \
--template-url ${TEMPLATE_URL} \
"$(if [ "$NIGHTLY" == "false" ]; then echo '--disable-rollback'; fi)"
--template-url ${TEMPLATE_URL}
# --disable-rollback

aws cloudformation wait stack-create-complete --stack-name openvidu-${DATESTAMP}

Expand Down
8 changes: 4 additions & 4 deletions openvidu-server/deployments/pro/aws/createAMI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ fi

aws cloudformation create-stack \
--stack-name kms-${DATESTAMP} \
--template-url ${TEMPLATE_URL} \
"$(if [ "$NIGHTLY" == "false" ]; then echo '--disable-rollback'; fi)"
--template-url ${TEMPLATE_URL}
# --disable-rollback

aws cloudformation wait stack-create-complete --stack-name kms-${DATESTAMP}

Expand Down Expand Up @@ -144,8 +144,8 @@ fi

aws cloudformation create-stack \
--stack-name openvidu-${DATESTAMP} \
--template-url ${TEMPLATE_URL} \
"$(if [ "$NIGHTLY" == "false" ]; then echo '--disable-rollback'; fi)"
--template-url ${TEMPLATE_URL}
# --disable-rollback

aws cloudformation wait stack-create-complete --stack-name openvidu-${DATESTAMP}

Expand Down

0 comments on commit 918bf0a

Please sign in to comment.