Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beta.ordbok.uib.no
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Språksamlingane
beta.ordbok.uib.no
Commits
ada5bcbb
Commit
ada5bcbb
authored
5 years ago
by
Ole Voldsæter
Browse files
Options
Downloads
Patches
Plain Diff
sertifikat-parameter for CF-stack
parent
bb0ac8b5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+3
-2
3 additions, 2 deletions
.gitlab-ci.yml
aws/beta.ordbok.uib.no_stack.yaml
+0
-1
0 additions, 1 deletion
aws/beta.ordbok.uib.no_stack.yaml
with
3 additions
and
3 deletions
.gitlab-ci.yml
+
3
−
2
View file @
ada5bcbb
...
...
@@ -20,14 +20,15 @@ deploy:
-
rm -rf ~/.aws
-
mv .aws ~/
-
STACK_NAME=ordbok-frontend-beta
-
CERT_ARN=arn:aws:acm:us-east-1:156160966877:certificate/c7078026-d634-462b-86b4-1a6d33ac6d53
-
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
-
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
-
aws cloudformation create-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-create-complete --stack-name ${STACK_NAME}
-
fi
-
aws s3 rm "s3://${STACK_NAME}.aws.uib.no" --recursive
...
...
This diff is collapsed.
Click to expand it.
aws/beta.ordbok.uib.no_stack.yaml
+
0
−
1
View file @
ada5bcbb
...
...
@@ -25,7 +25,6 @@ Parameters:
CertificateArn
:
Type
:
String
Default
:
'
'
###############################################################################
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment