Skip to content

Commit fe963b6

Browse files
Merge branch 'main' into dev-v4
2 parents bc71573 + a9be69b commit fe963b6

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/deploy-orchestrator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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:

.github/workflows/job-deploy-linux.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,9 @@ 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-
# Run PowerShell script with 'All' use case automatically selected
188-
# Provide two inputs: '1' for keeping current subscription, '5' for All use cases
189-
echo -e "1\n5" | pwsh -File infra/scripts/Selecting-Team-Config-And-Data.ps1 -ResourceGroup "${{ env.RESOURCE_GROUP_NAME }}"
190-
187+
# Automatically select "6" (All use cases) for non-interactive deployment
188+
echo "6" | bash infra/scripts/selecting_team_config_and_data.sh
189+
191190
- name: Generate Deployment Summary
192191
if: always()
193192
shell: bash

.github/workflows/job-deploy-windows.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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()

.github/workflows/job-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ jobs:
268268
if [[ "$BRANCH_NAME" == "main" ]]; then
269269
IMAGE_TAG="latest_v4"
270270
elif [[ "$BRANCH_NAME" == "dev-v4" ]]; then
271-
IMAGE_TAG="dev_v4"
271+
IMAGE_TAG="dev-v4"
272272
elif [[ "$BRANCH_NAME" == "hotfix" ]]; then
273273
IMAGE_TAG="hotfix"
274274
else

0 commit comments

Comments
 (0)