Skip to content

Commit 6ab29b6

Browse files
authored
ELI-446: Adds validate toggle step explicitly for dev and test (#421)
1 parent 24db206 commit 6ab29b6

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/cicd-2-publish.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,13 @@ jobs:
111111
make terraform env=$ENVIRONMENT stack=api-layer tf-command=apply workspace=$WORKSPACE
112112
working-directory: ./infrastructure
113113

114+
- name: "Validate Feature Toggles"
115+
env:
116+
ENV: ${{ needs.metadata.outputs.environment }}
117+
run: |
118+
pip install boto3
119+
python scripts/feature_toggle/validate_toggles.py
120+
114121
- name: "Tag the dev deployment"
115122
run: |
116123
git config user.name "github-actions"

.github/workflows/cicd-3-test-deploy.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@ jobs:
9999
make terraform env=$ENVIRONMENT stack=api-layer tf-command=apply workspace=$WORKSPACE
100100
working-directory: ./infrastructure
101101

102+
- name: "Validate Feature Toggles"
103+
env:
104+
ENV: ${{ needs.metadata.outputs.environment }}
105+
run: |
106+
pip install boto3
107+
python scripts/feature_toggle/validate_toggles.py
108+
102109
- name: "Extract S3 bucket name from Terraform output"
103110
id: tf_output
104111
run: |

0 commit comments

Comments
 (0)