From e881fd788949c09edc1b624adb8f15d7bde3f028 Mon Sep 17 00:00:00 2001 From: George Hudson Date: Tue, 31 Oct 2023 11:29:13 -0600 Subject: [PATCH] fixed incorrect variable --- .circleci/deployment/jobs.yml | 12 ++++++------ .circleci/deployment/workflows.yml | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.circleci/deployment/jobs.yml b/.circleci/deployment/jobs.yml index f37bbe76b..00bd3b278 100644 --- a/.circleci/deployment/jobs.yml +++ b/.circleci/deployment/jobs.yml @@ -1,17 +1,14 @@ # jobs: deploy-dev: executor: docker-executor - parameters: - target_env: - type: string working_directory: ~/tdp-deploy steps: - 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 >> + backend-appname: tdp-backend-<< pipeline.parameters.target_env >> + frontend-appname: tdp-frontend-<< pipeline.parameters.target_env >> deploy-staging: executor: docker-executor @@ -36,6 +33,9 @@ cf-username: CF_USERNAME_STAGING deploy-infrastructure-dev: + parameters: + target_env: + type: string executor: terraform/default working_directory: ~/tdp-deploy steps: @@ -43,7 +43,7 @@ condition: << pipeline.parameters.run_dev_deployment >> steps: - deploy-infrastructure: - cf-app: << parameters.target_env >> + cf-app: << pipeline.parameters.target_env >> deploy-infrastructure-staging: executor: terraform/default diff --git a/.circleci/deployment/workflows.yml b/.circleci/deployment/workflows.yml index 533ccbaad..b4fc812a4 100644 --- a/.circleci/deployment/workflows.yml +++ b/.circleci/deployment/workflows.yml @@ -84,7 +84,6 @@ only: - master - deploy-dev: - target_env: << pipeline.parameters.target_env >> requires: - deploy-infrastructure-dev filters: