From b9b3001d9ed0671b1c81e4f04fd011d395d8a7a8 Mon Sep 17 00:00:00 2001 From: vmarcella Date: Fri, 5 Jul 2024 15:18:59 -0700 Subject: [PATCH 1/3] [update] pipeline to specify the environment in the Makefile. --- .github/workflows/scenario-testing.yaml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scenario-testing.yaml b/.github/workflows/scenario-testing.yaml index 7943d0eb..88e6a958 100644 --- a/.github/workflows/scenario-testing.yaml +++ b/.github/workflows/scenario-testing.yaml @@ -64,7 +64,7 @@ jobs: azcliversion: 2.53.0 inlineScript: | apk add --no-cache make git openssh openssl helm curl jq - make test-upstream-scenarios SUBSCRIPTION=${{ secrets.AZURE_SUBSCRIPTION }} + make test-upstream-scenarios SUBSCRIPTION=${{ secrets.AZURE_SUBSCRIPTION }} ENVIRONMENT=gitub-action - name: Display ie.log file if: (success() || failure()) run: | diff --git a/Makefile b/Makefile index 4bb3416d..d31e48a4 100644 --- a/Makefile +++ b/Makefile @@ -70,7 +70,7 @@ test-upstream-scenarios: if echo "$${dir}" | grep -q "CreateContainerAppDeploymentFromSource"; then \ continue; \ fi; \ - ($(MAKE) test-scenario SCENARIO="$${dir}README.md" SUBCRIPTION="$(SUBSCRIPTION)" WORKING_DIRECTORY="$${dir}") || exit $$?; \ + ($(MAKE) test-scenario SCENARIO="$${dir}README.md" SUBCRIPTION="$(SUBSCRIPTION)" WORKING_DIRECTORY="$${dir}" ENVIRONMENT="$(ENVIRONMENT)") || exit $$?; \ done # ------------------------------- Run targets ---------------------------------- From dc37e1e5e55db5916ab00053185f8bb7c2478992 Mon Sep 17 00:00:00 2001 From: vmarcella Date: Fri, 5 Jul 2024 15:24:54 -0700 Subject: [PATCH 2/3] [update] spelling. --- .github/workflows/scenario-testing.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scenario-testing.yaml b/.github/workflows/scenario-testing.yaml index 88e6a958..086f43a3 100644 --- a/.github/workflows/scenario-testing.yaml +++ b/.github/workflows/scenario-testing.yaml @@ -64,7 +64,7 @@ jobs: azcliversion: 2.53.0 inlineScript: | apk add --no-cache make git openssh openssl helm curl jq - make test-upstream-scenarios SUBSCRIPTION=${{ secrets.AZURE_SUBSCRIPTION }} ENVIRONMENT=gitub-action + make test-upstream-scenarios SUBSCRIPTION=${{ secrets.AZURE_SUBSCRIPTION }} ENVIRONMENT=github-action - name: Display ie.log file if: (success() || failure()) run: | From 28a55821099e7132edaf58b3bad5f26f79d552fa Mon Sep 17 00:00:00 2001 From: vmarcella Date: Fri, 5 Jul 2024 15:34:24 -0700 Subject: [PATCH 3/3] [fix] spelling. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d31e48a4..b12f40ee 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ test-scenario: ifeq ($(SUBSCRIPTION), 00000000-0000-0000-0000-000000000000) $(IE_BINARY) test $(SCENARIO) --working-directory $(WORKING_DIRECTORY) --environment $(ENVIRONMENT) else - $(IE_BINARY) test $(SCENARIO) --subscription $(SUBSCRIPTION) --working-directory $(WORKING_DIRECTORY) --enviroment $(ENVIRONMENT) + $(IE_BINARY) test $(SCENARIO) --subscription $(SUBSCRIPTION) --working-directory $(WORKING_DIRECTORY) --environment $(ENVIRONMENT) endif test-scenarios: