Commit cb4883d
authored
DPC-5102 Handle error in generate token github action (#2874)
## 🎫 Ticket
https://jira.cms.gov/browse/DPC-5102
## 🛠 Changes
Github Action Workflow for generating token validates token before
loading into parameter store
## ℹ️ Context
We ran this workflow when the API was down, and an html page was entered
as the golden macaroon, which made everything else fail.
## 🧪 Validation
- Ran the workflow with api up and verified golden macaroon in dev
parameter store changed:
https://github.com/CMSgov/dpc-app/actions/runs/20664928982
- Ran the workflow with api down and verified the workflow failed and
that the token was not updated:
https://github.com/CMSgov/dpc-app/actions/runs/206650121101 parent ace6791 commit cb4883d
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
0 commit comments