Skip to content

Commit

Permalink
Fix: [AEA-0000] - Updates delete_stacks to cover CPSU (#358)
Browse files Browse the repository at this point in the history
## Summary
- Routine Change
- 🤖 Operational or Infrastructure Change

### Details
- Updates delete_stacks script to cover cpsu proxies

Co-authored-by: anthony-nhs <[email protected]>
  • Loading branch information
Orkastrated and anthony-nhs authored Jun 6, 2024
1 parent 87d73ef commit 8b82f8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/scripts/delete_stacks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ do
echo "Checking if apigee deployment $i has open pull request"
PULL_REQUEST=${i//prescription-status-update-pr-/}
PULL_REQUEST=${PULL_REQUEST//-sandbox/}
PULL_REQUEST=${PULL_REQUEST//custom-/}
echo "Checking pull request id ${PULL_REQUEST}"
URL="https://api.github.com/repos/NHSDigital/eps-prescription-status-update-api/pulls/${PULL_REQUEST}"
RESPONSE=$(curl "${URL}" 2>/dev/null)
Expand All @@ -90,6 +91,7 @@ do
echo "Checking if apigee deployment $i has open pull request"
PULL_REQUEST=${i//prescription-status-update-pr-/}
PULL_REQUEST=${PULL_REQUEST//-sandbox/}
PULL_REQUEST=${PULL_REQUEST//custom-/}
echo "Checking pull request id ${PULL_REQUEST}"
URL="https://api.github.com/repos/NHSDigital/eps-prescription-status-update-api/pulls/${PULL_REQUEST}"
RESPONSE=$(curl "${URL}" 2>/dev/null)
Expand Down

0 comments on commit 8b82f8e

Please sign in to comment.