Skip to content

Commit 984464d

Browse files
Richard BoardRichard Board
authored andcommitted
Updated prod actions file
1 parent ca3908f commit 984464d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/deploy-to-prod.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
7474
- name: Backup databases
7575
run: |
76-
python terraform_stack/terraform_deploy/terraform_deployment.py --environment prod --function exec --command "python aws_tools/dump_rds_to_s3_as_sql.py" && \
76+
python terraform_stack/terraform_deploy/terraform_deployment.py --environment prod --function exec --command "python terraform_stack/terraform_deploy/dump_rds_to_s3_as_sql.py" && \
7777
sleep 30 && \
7878
aws s3 sync s3://amp-app-prod-env-prod-env-files/ s3://amp-aurora-backup-prod/
7979
env:
@@ -86,6 +86,7 @@ jobs:
8686
aws s3 sync s3://amp-app-prod-env-prod-env-files/ s3://amp-app-staging-env-staging-env-files/ && \
8787
python terraform_stack/terraform_deploy/terraform_deployment.py --environment staging --function exec --command 'python terraform_stack/terraform_deploy/prod_deploy_tools.py' && \
8888
python terraform_stack/terraform_deploy/terraform_deployment.py --environment staging --function up && \
89+
sleep 300 && \
8990
docker compose --file stack_tests/smoke_tests/staging-platform.docker-compose.yml up --abort-on-container-exit && \
9091
docker compose --file stack_tests/smoke_tests_viewer/staging-viewer.docker-compose.yml up --abort-on-container-exit
9192
env:

0 commit comments

Comments
 (0)