Skip to content

Commit

Permalink
update deployment test
Browse files Browse the repository at this point in the history
  • Loading branch information
paullatzelsperger committed Jul 30, 2024
1 parent da762af commit 8907c76
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 58 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/deployment-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,20 @@ jobs:
kubectl rollout status deployment tx-prod-controlplane
kubectl rollout status deployment tx-prod-dataplane
# execute the helm test using delegated auth in the management API
helm test tx-prod --filter name=controlplane-with-delegated-auth-test
kubectl port-forward service/tx-prod-controlplane 8081:8081 &
code=$(curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer sdfasdfasdf" -d '{
"@context": {
"tx": "https://w3id.org/tractusx/v0.0.1/ns/"
},
"@id": "tx:BPN000001234",
"tx:groups": ["group1", "group2", "group3"]
}' --silent -o /dev/null -w '%{http_code}' http://localhost:8081/management/v3/business-partner-groups)
if [[ $code -ne 401 ]]; then
echo "Expected a HTTP 401, got $code"
exit 1;
fi
test-azure-vault-postgres:
runs-on: ubuntu-latest
Expand Down

This file was deleted.

0 comments on commit 8907c76

Please sign in to comment.