From 2ad4a976c1b2e2774cd8491d8c00de453b9407b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Volds=C3=A6ter?= <ole.voldsater@uib.no> Date: Thu, 13 Feb 2020 11:17:50 +0100 Subject: [PATCH] finner ut senere hvordan oppdatere stacken uten feilmelding --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index db58269..fc77c37 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,8 +24,8 @@ deploy: - if aws cloudformation describe-stacks --stack-name ${STACK_NAME} &> /dev/null - then - echo "stack exists" - - aws cloudformation update-stack --stack-name ${STACK_NAME} --template-body file://aws/beta.ordbok.uib.no_stack.yaml --parameters ParameterKey=CertificateArn,ParameterValue=${CERT_ARN} || echo $? - - aws cloudformation wait stack-update-complete --stack-name ${STACK_NAME} + - #aws cloudformation update-stack --stack-name ${STACK_NAME} --template-body file://aws/beta.ordbok.uib.no_stack.yaml --parameters ParameterKey=CertificateArn,ParameterValue=${CERT_ARN} && \ + - #aws cloudformation wait stack-update-complete --stack-name ${STACK_NAME} - else - echo "creating stack" - aws cloudformation create-stack --stack-name ${STACK_NAME} --template-body file://aws/beta.ordbok.uib.no_stack.yaml --parameters ParameterKey=CertificateArn,ParameterValue=${CERT_ARN} -- GitLab