Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
Fix topology nodes retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentluce committed Aug 28, 2024
1 parent f311a1c commit 3f49f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci_wip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
- name: Validate topology endpoint
run: |
tenant_id=${{ steps.tenant.outputs.id }}
nodes=$(curl http://localhost:8080/tenant/${tenant_id}/cluster-resources | jq -r '.deployments[].metadata.name' | tr " " "\n" | sort -g | tr "\n" " " | xargs)
nodes=$(curl http://localhost:8080/tenant/${tenant_id}/topology | jq -r '.nodes[].id' | tr " " "\n" | sort -g | tr "\n" " " | xargs)
if [ "${nodes} != "cartservice free-currency-api frontend frontend-external postgres productcatalogservice" ]; then exit 1; fi
- name: Create, validate and delete flow
Expand Down

0 comments on commit 3f49f50

Please sign in to comment.