diff --git a/.github/workflows/scenario-testing.yaml b/.github/workflows/scenario-testing.yaml index 7943d0eb..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 }} + make test-upstream-scenarios SUBSCRIPTION=${{ secrets.AZURE_SUBSCRIPTION }} ENVIRONMENT=github-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 ----------------------------------