Skip to content

Commit

Permalink
use this branch to check develop deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
George Hudson committed Nov 13, 2023
1 parent 74a6557 commit e8a5633
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .circleci/deployment/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,21 @@
executor: docker-executor
working_directory: ~/tdp-deploy
steps:
- run:
name: Set Initial CHECK RUN ENV
command: CHECK_RUN="false"
- when:
condition: << pipeline.parameters.run_dev_deployment >>
steps:
- deploy-cloud-dot-gov:
backend-appname: tdp-backend-<< parameters.target_env >>
frontend-appname: tdp-frontend-<< parameters.target_env >>
- run:
name: Update CHECK RUN
command: CHECK_RUN="true"
- run:
name: Echo Check Run
command: echo "dev-deploy run = $CHECK_RUN"

deploy-staging:
executor: docker-executor
Expand Down Expand Up @@ -42,11 +51,20 @@
executor: terraform/default
working_directory: ~/tdp-deploy
steps:
- run:
name: Set Initial CHECK RUN ENV
command: CHECK_RUN="false"
- when:
condition: << pipeline.parameters.run_dev_deployment >>
steps:
- deploy-infrastructure:
cf-app: << parameters.target_env >>
- run:
name: Update CHECK RUN
command: CHECK_RUN="true"
- run:
name: Echo Check Run
command: echo "dev-deploy run = $CHECK_RUN"

deploy-infrastructure-staging:
executor: terraform/default
Expand Down

0 comments on commit e8a5633

Please sign in to comment.