Skip to content

Commit b3eb6ba

Browse files
Merge remote-tracking branch 'origin/dev' into PSL-US-35960
2 parents 8da20ea + 721884f commit b3eb6ba

52 files changed

Lines changed: 2870 additions & 2163 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CODEOWNERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Lines starting with '#' are comments.
2+
# Each line is a file pattern followed by one or more owners.
3+
4+
# These owners will be the default owners for everything in the repo.
5+
* @Avijit-Microsoft @Roopan-Microsoft @Prajwal-Microsoft @aniaroramsft @Vinay-Microsoft @malrose07 @toherman-msft @nchandhi

.github/workflows/deploy-orchestrator.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_call:
55
inputs:
66
runner_os:
7-
description: 'Runner OS (ubuntu-latest, windows-latest, or devcontainer)'
7+
description: 'Runner OS (ubuntu-latest or windows-latest)'
88
required: true
99
type: string
1010
azure_location:
@@ -62,18 +62,14 @@ on:
6262
required: true
6363
type: string
6464
image_model_choice:
65-
description: 'Image model to deploy (gpt-image-1, gpt-image-1.5, none)'
65+
description: 'Image model to deploy (gpt-image-1-mini, gpt-image-1.5, none)'
6666
required: false
67-
default: 'gpt-image-1'
67+
default: 'gpt-image-1-mini'
6868
type: string
6969

7070
env:
7171
AZURE_DEV_COLLECT_TELEMETRY: ${{ vars.AZURE_DEV_COLLECT_TELEMETRY }}
72-
permissions:
73-
contents: read
74-
actions: read
75-
packages: write # Required by job-deploy → job-deploy-devcontainer to push devcontainer image to GHCR
76-
72+
7773
jobs:
7874
docker-build:
7975
uses: ./.github/workflows/job-docker-build.yml
@@ -104,8 +100,7 @@ jobs:
104100
secrets: inherit
105101

106102
e2e-test:
107-
# if: "!cancelled() && ((needs.deploy.result == 'success' && needs.deploy.outputs.WEB_APPURL != '') || (inputs.existing_webapp_url != '' && inputs.existing_webapp_url != null)) && (inputs.trigger_type != 'workflow_dispatch' || (inputs.run_e2e_tests != 'None' && inputs.run_e2e_tests != '' && inputs.run_e2e_tests != null))"
108-
if: false # Temporarily disable E2E tests
103+
if: "!cancelled() && ((needs.deploy.result == 'success' && needs.deploy.outputs.WEB_APPURL != '') || (inputs.existing_webapp_url != '' && inputs.existing_webapp_url != null)) && (inputs.trigger_type != 'workflow_dispatch' || (inputs.run_e2e_tests != 'None' && inputs.run_e2e_tests != '' && inputs.run_e2e_tests != null))"
109104
needs: [docker-build, deploy]
110105
uses: ./.github/workflows/test-automation-v2.yml
111106
with:
Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ on:
2727
type: choice
2828
options:
2929
- 'codespace'
30-
- 'Devcontainer'
3130
- 'Local'
3231
default: 'codespace'
3332

@@ -104,10 +103,10 @@ on:
104103
image_model_choice:
105104
description: 'Image Model to Deploy'
106105
required: false
107-
default: 'gpt-image-1'
106+
default: 'gpt-image-1-mini'
108107
type: choice
109108
options:
110-
- 'gpt-image-1'
109+
- 'gpt-image-1-mini'
111110
- 'gpt-image-1.5'
112111
- 'none'
113112

@@ -116,7 +115,8 @@ on:
116115
permissions:
117116
contents: read
118117
actions: read
119-
packages: write # Required by deploy-orchestrator → job-deploy → job-deploy-devcontainer for GHCR
118+
id-token: write # Required for OIDC-based Azure authentication
119+
packages: write # Required for GHCR operations
120120
jobs:
121121
validate-inputs:
122122
runs-on: ubuntu-latest
@@ -157,8 +157,8 @@ jobs:
157157
158158
# Validate runner_os (specific allowed values) and derive actual runner
159159
RUNNER_OS_INPUT="${INPUT_RUNNER_OS:-codespace}"
160-
if [[ "$RUNNER_OS_INPUT" != "codespace" && "$RUNNER_OS_INPUT" != "Devcontainer" && "$RUNNER_OS_INPUT" != "Local" ]]; then
161-
echo "❌ ERROR: runner_os must be one of: codespace, Devcontainer, Local, got: '$RUNNER_OS_INPUT'"
160+
if [[ "$RUNNER_OS_INPUT" != "codespace" && "$RUNNER_OS_INPUT" != "Local" ]]; then
161+
echo "❌ ERROR: runner_os must be one of: codespace, Local, got: '$RUNNER_OS_INPUT'"
162162
VALIDATION_FAILED=true
163163
else
164164
echo "✅ runner_os: '$RUNNER_OS_INPUT' is valid"
@@ -167,8 +167,6 @@ jobs:
167167
# Derive actual runner from runner_os input
168168
if [[ "$RUNNER_OS_INPUT" == "codespace" ]]; then
169169
RUNNER_OS="ubuntu-latest"
170-
elif [[ "$RUNNER_OS_INPUT" == "Devcontainer" ]]; then
171-
RUNNER_OS="devcontainer"
172170
else
173171
RUNNER_OS="windows-latest"
174172
fi
@@ -309,8 +307,8 @@ jobs:
309307
echo "existing_webapp_url=$INPUT_EXISTING_WEBAPP_URL" >> $GITHUB_OUTPUT
310308
311309
# Validate and output image_model_choice
312-
IMAGE_MODEL="${INPUT_IMAGE_MODEL_CHOICE:-gpt-image-1}"
313-
ALLOWED_MODELS=("gpt-image-1" "gpt-image-1.5" "none")
310+
IMAGE_MODEL="${INPUT_IMAGE_MODEL_CHOICE:-gpt-image-1-mini}"
311+
ALLOWED_MODELS=("gpt-image-1-mini" "gpt-image-1.5" "none")
314312
if [[ ! " ${ALLOWED_MODELS[@]} " =~ " ${IMAGE_MODEL} " ]]; then
315313
echo "❌ ERROR: image_model_choice '$IMAGE_MODEL' is invalid. Allowed: ${ALLOWED_MODELS[*]}"
316314
exit 1
@@ -335,5 +333,5 @@ jobs:
335333
AZURE_EXISTING_AI_PROJECT_RESOURCE_ID: ${{ needs.validate-inputs.outputs.azure_existing_ai_project_resource_id || '' }}
336334
existing_webapp_url: ${{ needs.validate-inputs.outputs.existing_webapp_url || '' }}
337335
trigger_type: ${{ github.event_name }}
338-
image_model_choice: ${{ needs.validate-inputs.outputs.image_model_choice || 'gpt-image-1' }}
336+
image_model_choice: ${{ needs.validate-inputs.outputs.image_model_choice || 'gpt-image-1-mini' }}
339337
secrets: inherit

.github/workflows/deploy-windows.yml

Lines changed: 0 additions & 275 deletions
This file was deleted.

0 commit comments

Comments
 (0)