From 91785da7e81ec2a649b997da6f14b644bd528c22 Mon Sep 17 00:00:00 2001 From: Sneha Parthasarathy Date: Tue, 7 Nov 2023 15:33:27 -0800 Subject: [PATCH] Remove env --- .github/workflows/run-validation.yml | 1 - dist/index.js | 2 +- src/ContainerAppHelper.ts | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-validation.yml b/.github/workflows/run-validation.yml index ae15ce4e..bf33c9f0 100644 --- a/.github/workflows/run-validation.yml +++ b/.github/workflows/run-validation.yml @@ -560,7 +560,6 @@ jobs: acrUsername: ${{ secrets.TEST_REGISTRY_USERNAME }} acrPassword: ${{ secrets.TEST_REGISTRY_PASSWORD }} containerAppName: ${{ vars.TEST_EXISTING_CONTAINER_APP_DOCKERFILE }} - containerAppEnvironment: ${{ vars.TEST_EXISTING_CONTAINER_APP_ENV }} resourceGroup: ${{ vars.TEST_RESOURCE_GROUP_NAME }} imageToBuild: ${{ env.TEST_FULL_ACR_NAME }}/${{ env.TEST_IMAGE_REPOSITORY }}:${{ env.TEST_IMAGE_TAG }} disableTelemetry: ${{ vars.TEST_DISABLE_TELEMETRY }} diff --git a/dist/index.js b/dist/index.js index a02d7d08..40611d21 100644 --- a/dist/index.js +++ b/dist/index.js @@ -4835,7 +4835,7 @@ var ContainerAppHelper = /** @class */ (function () { _a.label = 1; case 1: _a.trys.push([1, 3, , 4]); - command_3 = "az containerapp update -n ".concat(containerAppName, " -g ").concat(resourceGroup, " --output none"); + command_3 = "az containerapp update -n ".concat(containerAppName, " -g ").concat(resourceGroup, " --output none --debug"); optionalCmdArgs.forEach(function (val) { command_3 += " ".concat(val); }); diff --git a/src/ContainerAppHelper.ts b/src/ContainerAppHelper.ts index 75ae3bbe..20e8ea3b 100644 --- a/src/ContainerAppHelper.ts +++ b/src/ContainerAppHelper.ts @@ -100,7 +100,7 @@ export class ContainerAppHelper { optionalCmdArgs: string[]) { toolHelper.writeDebug(`Attempting to update Container App with name "${containerAppName}" in resource group "${resourceGroup}" `); try { - let command = `az containerapp update -n ${containerAppName} -g ${resourceGroup} --output none`; + let command = `az containerapp update -n ${containerAppName} -g ${resourceGroup} --output none --debug`; optionalCmdArgs.forEach(function (val: string) { command += ` ${val}`; });