Skip to content

Commit 3d40975

Browse files
Set telemetry collection to 'no' and update e2e test condition
1 parent da8a0ec commit 3d40975

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/deploy-Parameterized.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ jobs:
388388
azd env set AZURE_ENV_OPENAI_LOCATION="$AZURE_LOCATION"
389389
azd env set AZURE_RESOURCE_GROUP="$RESOURCE_GROUP_NAME"
390390
azd env set AZURE_ENV_IMAGETAG="${{ env.IMAGE_TAG }}"
391+
azd env set AZURE_DEV_COLLECT_TELEMETRY="no"
391392
392393
# Set ACR name only when building Docker image
393394
if [[ "${{ env.BUILD_DOCKER_IMAGE }}" == "true" ]]; then
@@ -470,12 +471,12 @@ jobs:
470471
WEB_APP_NAME=$(echo "$DEPLOY_OUTPUT" | jq -r '.WEB_APP_NAME // .SERVICE_BACKEND_NAME // empty')
471472
echo "WEB_APP_NAME=$WEB_APP_NAME" >> $GITHUB_ENV
472473
473-
echo "🔧 Disabling AUTH_ENABLED for the web app..."
474-
if [[ -n "$WEB_APP_NAME" && -n "$RESOURCE_GROUP_NAME" ]]; then
475-
az webapp config appsettings set -g "$RESOURCE_GROUP_NAME" -n "$WEB_APP_NAME" --settings AUTH_ENABLED=false
476-
else
477-
echo "Warning: Could not disable AUTH_ENABLED - WEB_APP_NAME or RESOURCE_GROUP_NAME not found"
478-
fi
474+
# echo "🔧 Disabling AUTH_ENABLED for the web app..."
475+
# if [[ -n "$WEB_APP_NAME" && -n "$RESOURCE_GROUP_NAME" ]]; then
476+
# az webapp config appsettings set -g "$RESOURCE_GROUP_NAME" -n "$WEB_APP_NAME" --settings AUTH_ENABLED=false
477+
# else
478+
# echo "Warning: Could not disable AUTH_ENABLED - WEB_APP_NAME or RESOURCE_GROUP_NAME not found"
479+
# fi
479480
480481
sleep 30
481482
@@ -507,7 +508,7 @@ jobs:
507508
508509
e2e-test:
509510
# Run e2e tests for automatic triggers or when manually enabled
510-
if: github.event_name != 'workflow_dispatch' || github.event.inputs.run_e2e_tests == true || github.event.inputs.run_e2e_tests == null
511+
if: always() && (github.event_name != 'workflow_dispatch' || github.event.inputs.run_e2e_tests == true || github.event.inputs.run_e2e_tests == null)
511512
needs: [deploy]
512513
uses: ./.github/workflows/test-automation.yml
513514
with:

0 commit comments

Comments
 (0)