(MODE-11365) Added tileserver-alb deployment to workflow jobs for dev and prod.

This commit is contained in:
siozosdr 2019-06-24 15:53:02 +02:00
parent 332a668f6c
commit b655c9d4dc

View file

@ -97,7 +97,11 @@ jobs:
wget https://github.com/gruntwork-io/terragrunt/releases/download/v0.14.10/terragrunt_linux_amd64 -O terragrunt wget https://github.com/gruntwork-io/terragrunt/releases/download/v0.14.10/terragrunt_linux_amd64 -O terragrunt
chmod a+x terragrunt chmod a+x terragrunt
mv terragrunt /bin/ mv terragrunt /bin/
# sed -i -e "s%repo_version =%repo_version = \"${CIRCLE_SHA1}\"%g" "${REGION}/${ENVIRONMENT}/tileserver/terraform.tfvars" - run:
name: Deploy tileserver-alb to fra dev
command: |
cd /tmp/repo/artifact/deployment/eu-central-1/dev/tileserver-alb && \
terragrunt apply --terragrunt-non-interactive -auto-approve
- run: - run:
name: Deploy tileserver to fra dev name: Deploy tileserver to fra dev
command: | command: |
@ -126,7 +130,11 @@ jobs:
wget https://github.com/gruntwork-io/terragrunt/releases/download/v0.14.10/terragrunt_linux_amd64 -O terragrunt wget https://github.com/gruntwork-io/terragrunt/releases/download/v0.14.10/terragrunt_linux_amd64 -O terragrunt
chmod a+x terragrunt chmod a+x terragrunt
mv terragrunt /bin/ mv terragrunt /bin/
# sed -i -e "s%repo_version =%repo_version = \"${CIRCLE_SHA1}\"%g" "${REGION}/${ENVIRONMENT}/tileserver/terraform.tfvars" - run:
name: Deploy tileserver-alb to fra prod
command: |
cd /tmp/repo/artifact/deployment/eu-central-1/prod/tileserver-alb && \
terragrunt apply --terragrunt-non-interactive -auto-approve
- run: - run:
name: Deploy tileserver to fra prod name: Deploy tileserver to fra prod
command: | command: |