File tree Expand file tree Collapse file tree 5 files changed +11
-9
lines changed
Expand file tree Collapse file tree 5 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ jobs:
124124 secrets : inherit
125125
126126 cleanup-deployment :
127- if : always () && needs.deploy.result == 'success' && needs.deploy. outputs.RESOURCE_GROUP_NAME != '' && inputs.existing_webapp_url == '' && (inputs.trigger_type != 'workflow_dispatch' || inputs.cleanup_resources)
127+ if : " !cancelled () && needs.deploy.outputs.RESOURCE_GROUP_NAME != '' && inputs.existing_webapp_url == '' && (inputs.trigger_type != 'workflow_dispatch' || inputs.cleanup_resources)"
128128 needs : [docker-build, deploy, e2e-test]
129129 uses : ./.github/workflows/job-cleanup-deployment.yml
130130 with :
Original file line number Diff line number Diff line change @@ -184,7 +184,8 @@ jobs:
184184 export AZURE_ENV_NAME="${{ steps.get_output_linux.outputs.AZURE_ENV_NAME }}"
185185
186186 # Upload team configurations and index sample data in one step
187- bash infra/scripts/team_config_and_data.sh "${{ inputs.RESOURCE_GROUP_NAME }}"
187+ # Automatically select "6" (All use cases) for non-interactive deployment
188+ echo "6" | bash infra/scripts/selecting_team_config_and_data.sh
188189
189190 - name : Generate Deployment Summary
190191 if : always()
Original file line number Diff line number Diff line change @@ -179,8 +179,9 @@ jobs:
179179 $env:AZURE_AI_SEARCH_INDEX_NAME = "sample-dataset-index"
180180 $env:AZURE_ENV_NAME = "${{ steps.get_output_windows.outputs.AZURE_ENV_NAME }}"
181181
182- # Run the script (PowerShell version)
183- & infra\scripts\Team-Config-And-Data.ps1 "${{ inputs.RESOURCE_GROUP_NAME }}"
182+ # Upload team configurations and index sample data in one step
183+ # Automatically select "6" (All use cases) for non-interactive deployment
184+ bash -c "echo 6 | pwsh -File infra/scripts/Selecting-Team-Config-And-Data.ps1"
184185
185186 - name : Generate Deployment Summary
186187 if : always()
Original file line number Diff line number Diff line change @@ -266,13 +266,13 @@ jobs:
266266 echo "Current branch: $BRANCH_NAME"
267267
268268 if [[ "$BRANCH_NAME" == "main" ]]; then
269- IMAGE_TAG="latest_v3 "
270- elif [[ "$BRANCH_NAME" == "dev-v3 " ]]; then
271- IMAGE_TAG="dev_v3 "
269+ IMAGE_TAG="latest_v4 "
270+ elif [[ "$BRANCH_NAME" == "dev-v4 " ]]; then
271+ IMAGE_TAG="dev-v4 "
272272 elif [[ "$BRANCH_NAME" == "hotfix" ]]; then
273273 IMAGE_TAG="hotfix"
274274 else
275- IMAGE_TAG="latest_v3 "
275+ IMAGE_TAG="latest_v4 "
276276 fi
277277 echo "Using existing Docker image tag: $IMAGE_TAG"
278278 fi
Original file line number Diff line number Diff line change 3131 MACAE_WEB_URL : ${{ inputs.MACAE_WEB_URL }}
3232 MACAE_URL_API : ${{ inputs.MACAE_URL_API }}
3333 MACAE_RG : ${{ inputs.MACAE_RG }}
34- accelerator_name : " MACAE v3 "
34+ accelerator_name : " MACAE v4 "
3535
3636jobs :
3737 test :
You can’t perform that action at this time.
0 commit comments