Skip to content

Commit

Permalink
[nc] cleanup bash script
Browse files Browse the repository at this point in the history
Signed-off-by: Nic Cheneweth <[email protected]>
  • Loading branch information
ncheneweth committed Apr 6, 2024
1 parent afc1130 commit 3b25a71
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3b25a71

Please sign in to comment.