Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 6fb5262

Browse files
authored
bbrooks/4361-Fix-Packer-Validation-AMI-Builds (#4362)
* 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
1 parent 7eb859a commit 6fb5262

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.circleci/config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,16 @@ workflows:
6767
only:
6868
- main
6969
jobs:
70+
- packer validation tests:
71+
name: Packer Validation Tests
7072
- build preview ami:
7173
name: Build Preview AMI
74+
requires:
75+
- Packer Validation Tests
7276
- build production staging ami:
7377
name: Build Prod Staging AMI
78+
requires:
79+
- Packer Validation Tests
7480
- cleanup preview ami:
7581
name: Cleanup Old Unused Preview AMIs
7682
requires:

packer/preview-ami.pkr.hcl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ build {
5757
"OKTA_API_KEY=${var.preview_okta_api_key}",
5858
"ENVIRONMENT=${var.environment}",
5959
"PREVIEW_TEALIUM_TAG=${var.preview_tealium_tag}",
60-
"PREVIEW_TEALIUM_ENV=${var.preview_tealium_env}",
61-
"PREVIEW_LD_API_KEY=${var.preview_ld_api_key}",
62-
"PREVIEW_LD_CLIENT_ID=${var.preview_ld_client_id}"
60+
"PREVIEW_TEALIUM_ENV=${var.preview_tealium_env}"
6361
]
6462
script = "./preview20220608.sh"
6563
}

0 commit comments

Comments
 (0)