From b9b3001d9ed0671b1c81e4f04fd011d395d8a7a8 Mon Sep 17 00:00:00 2001 From: vmarcella Date: Fri, 5 Jul 2024 15:18:59 -0700 Subject: [PATCH 1/2] [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/2] [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: |