From 57aa5c47ae6f97238db34ef56003547d8bf17221 Mon Sep 17 00:00:00 2001 From: Leandro Poroli Date: Thu, 12 Sep 2024 10:58:08 -0300 Subject: [PATCH] echo services and deployments in Validate cluster resources endpoint in test --- .github/workflows/ci-e2e-tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci-e2e-tests.yml b/.github/workflows/ci-e2e-tests.yml index 312c9f0..b5616a9 100644 --- a/.github/workflows/ci-e2e-tests.yml +++ b/.github/workflows/ci-e2e-tests.yml @@ -67,8 +67,10 @@ jobs: run: | tenant_id=${{ steps.tenant.outputs.id }} services=$(curl http://localhost:8080/tenant/${tenant_id}/cluster-resources | jq -r '.services[].metadata.name' | tr " " "\n" | sort -g | tr "\n" " " | xargs) + echo "Services: $services" if [ "${services}" != "cartservice frontend postgres productcatalogservice" ]; then exit 1; fi deployments=$(curl http://localhost:8080/tenant/${tenant_id}/cluster-resources | jq -r '.deployments[].metadata.name' | tr " " "\n" | sort -g | tr "\n" " " | xargs) + echo "Deployments: $deployments" if [ "${deployments}" != "cartservice-prod frontend-prod postgres-prod productcatalogservice-prod" ]; then exit 1; fi - name: Validate topology endpoint