-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Nic Cheneweth <[email protected]>
- Loading branch information
1 parent
afc1130
commit 3b25a71
Showing
1 changed file
with
3 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,7 @@ version: 2.1 | |
orbs: | ||
terraform: twdps/[email protected] | ||
op: twdps/[email protected] | ||
#checkov:skip=CKV_CIRCLECIPIPELINES_3:Ensure mutable development orbs are not used. | ||
do: twdps/pipeline-events@dev:alpha | ||
do: twdps/[email protected] | ||
|
||
globals: | ||
- &context empc-lab | ||
|
@@ -37,18 +36,15 @@ commands: | |
- op/env: | ||
env-file: op.<< parameters.account >>.env | ||
- terraform/terraformrc | ||
# - run: | ||
# name: set ~/.terraformrc | ||
# command: op inject -i tpl/terraformrc.tpl -o ~/.terraformrc | ||
- run: | ||
name: set << parameters.account >> environment variables | ||
name: set << parameters.account >> terraform workspace environment variables | ||
command: op inject -i environments/<< parameters.account >>.auto.tfvars.json.tpl -o << parameters.account >>.auto.tfvars.json | ||
- do/bash-functions | ||
|
||
aws-integration-tests: | ||
parameters: | ||
account: | ||
description: for EMPC Labs this is either nonprod or prod | ||
description: Workspace environment to test | ||
type: string | ||
steps: | ||
- run: | ||
|
@@ -74,7 +70,6 @@ jobs: | |
- image: *executor-image | ||
environment: | ||
TF_WORKSPACE: << parameters.account >> | ||
shell: op run --env-file op.<< parameters.account >>.env -- /bin/sh -eo pipefail | ||
parameters: | ||
account: | ||
description: nonprod or production account configuration | ||
|
@@ -93,7 +88,6 @@ jobs: | |
- image: *executor-image | ||
environment: | ||
TF_WORKSPACE: nonprod | ||
shell: op run --env-file op.nonprod.env -- /bin/sh -eo pipefail | ||
steps: | ||
- checkout | ||
- setup_remote_docker | ||
|