diff --git a/.circleci/deployment/jobs.yml b/.circleci/deployment/jobs.yml index 9e5557629..3aa796b45 100644 --- a/.circleci/deployment/jobs.yml +++ b/.circleci/deployment/jobs.yml @@ -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 @@ -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