Skip to content

Commit

Permalink
use support-bundle app
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig O'Donnell committed Nov 28, 2023
1 parent efaf52d commit d50d5ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3860,7 +3860,7 @@ jobs:
{distribution: openshift, version: 4.13.0-okd}
]
env:
APP_SLUG: kotsadm-smoke-test
APP_SLUG: support-bundle-halibut
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -3943,7 +3943,7 @@ jobs:
done
# port forward to kotsadm
kill -9 $(sudo lsof -t -i:3000) 2>/dev/null || true
kill -9 "$(sudo lsof -t -i:3000)" 2>/dev/null || true
kubectl port-forward -n "$APP_SLUG" svc/kotsadm 3000:3000 &
sleep 5
Expand Down Expand Up @@ -3972,7 +3972,7 @@ jobs:
curl -sSL -X GET "http://localhost:3000/api/v1/troubleshoot/supportbundle/$BUNDLE_ID/redactions" > redactions.json
# validate that default ip address redaction was applied
IP_ADDRESS_REDACTION_COUNT=$(cat redactions.json | jq '.redactions.byRedactor."IP Addresses.regex.0" | length')
IP_ADDRESS_REDACTION_COUNT=$(jq '.redactions.byRedactor."IP Addresses.regex.0" | length' < redactions.json)
if [ "$IP_ADDRESS_REDACTION_COUNT" -eq "0" ]; then
echo "Expected IP address redaction count to be greater than 0"
exit 1
Expand Down

0 comments on commit d50d5ac

Please sign in to comment.