Skip to content

Commit

Permalink
bbrooks/4361-Fix-Packer-Validation-AMI-Builds (#4362)
Browse files Browse the repository at this point in the history
* Removing unused and conflicting Launch Darkly env vars

* Added Packer Validation as a requirement for Weekly AMI builds

* Fixed capitalization of workflow names

* Added Packer Validation tests to Weekly AMI workflow

* Updating capitlization again
  • Loading branch information
cthulhuplus authored Oct 18, 2022
1 parent 7eb859a commit 6fb5262
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,16 @@ workflows:
only:
- main
jobs:
- packer validation tests:
name: Packer Validation Tests
- build preview ami:
name: Build Preview AMI
requires:
- Packer Validation Tests
- build production staging ami:
name: Build Prod Staging AMI
requires:
- Packer Validation Tests
- cleanup preview ami:
name: Cleanup Old Unused Preview AMIs
requires:
Expand Down
4 changes: 1 addition & 3 deletions packer/preview-ami.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ build {
"OKTA_API_KEY=${var.preview_okta_api_key}",
"ENVIRONMENT=${var.environment}",
"PREVIEW_TEALIUM_TAG=${var.preview_tealium_tag}",
"PREVIEW_TEALIUM_ENV=${var.preview_tealium_env}",
"PREVIEW_LD_API_KEY=${var.preview_ld_api_key}",
"PREVIEW_LD_CLIENT_ID=${var.preview_ld_client_id}"
"PREVIEW_TEALIUM_ENV=${var.preview_tealium_env}"
]
script = "./preview20220608.sh"
}
Expand Down

0 comments on commit 6fb5262

Please sign in to comment.