From 85360a9c0ffc42aa01f64a8eb2257c4ea94c3e76 Mon Sep 17 00:00:00 2001 From: Leandro Poroli Date: Thu, 12 Sep 2024 11:10:13 -0300 Subject: [PATCH] edited the expected deployments name in the test --- .github/workflows/ci-e2e-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-e2e-tests.yml b/.github/workflows/ci-e2e-tests.yml index b5616a9..b6c929e 100644 --- a/.github/workflows/ci-e2e-tests.yml +++ b/.github/workflows/ci-e2e-tests.yml @@ -71,7 +71,7 @@ jobs: 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 + if [ "${deployments}" != "cartservice-baseline frontend-baseline postgres-baseline productcatalogservice-baseline" ]; then exit 1; fi - name: Validate topology endpoint run: | @@ -85,7 +85,7 @@ jobs: flow_id=$(grep "Flow.*created" kardinal.out | cut -d ' ' -f2 | tr -d "\"") tenant_id=${{ steps.tenant.outputs.id }} deployments=$(curl http://localhost:8080/tenant/${tenant_id}/cluster-resources | jq -r '.deployments[].metadata.name' | tr " " "\n" | sort -g | tr "\n" " " | xargs) - if [ "${deployments}" != "cartservice-prod frontend-${flow_id} frontend-prod postgres-prod productcatalogservice-prod" ]; then exit 1; fi + if [ "${deployments}" != "cartservice-baseline frontend-${flow_id} frontend-baseline postgres-baseline productcatalogservice-baseline" ]; then exit 1; fi KARDINAL_CLI_DEV_MODE=TRUE kardinal flow ls | grep ${flow_id} KARDINAL_CLI_DEV_MODE=TRUE kardinal flow delete ${flow_id}