Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing prod CD script #111

Merged
merged 1 commit into from
Apr 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/synthetix-prod-ecr-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build & Tag Container, Push to ECR, Deploy to UAT
name: Build & Tag Container, Push to ECR, Deploy to prod

on:
push:
Expand Down Expand Up @@ -28,17 +28,17 @@ jobs:
- name: Build, tag, and push Geth to ECR
env:
AWS_ACCOUNT_NUMBER: ${{ secrets.AWS_CI_AWS_ACCOUNT_ID }}
run: ./docker/publish-geth-container.sh synthetix-uat
run: ./docker/publish-geth-container.sh synthetix-prod

- name: Build, tag, and push Full Node to ECR
env:
AWS_ACCOUNT_NUMBER: ${{ secrets.AWS_CI_AWS_ACCOUNT_ID }}
run: ./docker/publish-rollup-fullnode-container.sh synthetix-uat
run: ./docker/publish-rollup-fullnode-container.sh synthetix-prod

- name: Stop existing ECS tasks to auto-start task with new image
run: |
./.github/scripts/stop-ecs-task.sh synthetix-uat-web synthetix-prod-web
./.github/scripts/stop-ecs-task.sh synthetix-uat-geth synthetix-prod-geth
./.github/scripts/stop-ecs-task.sh synthetix-prod-web synthetix-prod-web
./.github/scripts/stop-ecs-task.sh synthetix-prod-geth synthetix-prod-geth


- name: Logout of Amazon ECR
Expand Down