Skip to content
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 20 additions & 17 deletions .github/workflows/azure-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,24 @@ jobs:
uses: azure/setup-kubectl@v3
- name: Install helm
uses: azure/setup-helm@v4
- name: Log in with Azure (Federated Credentials)
- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
Comment thread
nassiharel marked this conversation as resolved.
Outdated
Comment thread
nassiharel marked this conversation as resolved.
Outdated
Comment thread
nassiharel marked this conversation as resolved.
Outdated
- name: Login to AZD
shell: bash
run: |
azd auth login `
--client-id "$Env:AZURE_CLIENT_ID" `
--federated-credential-provider "github" `
--tenant-id "$Env:AZURE_TENANT_ID"
shell: pwsh

- name: Provision Infrastructure
run: azd provision --no-prompt
env:
AZD_INITIAL_ENVIRONMENT_CONFIG: ${{ secrets.AZD_INITIAL_ENVIRONMENT_CONFIG }}

# NOTE: azure.yaml has no services: block, so azd deploy is a no-op.
# The postprovision hook handles all post-Bicep setup (Arc, GPU, VI extension).
# This step is kept for forward-compatibility if app services are added.
- name: Deploy Application
run: azd deploy --no-prompt
azd auth login \
--client-id "$AZURE_CLIENT_ID" \
--federated-credential-provider "github" \
--tenant-id "$AZURE_TENANT_ID"
- name: Provision
shell: bash
run: |
if ! azd env select "$AZURE_ENV_NAME"; then
azd env new "$AZURE_ENV_NAME" --subscription "$AZURE_SUBSCRIPTION_ID" --location "$AZURE_LOCATION" --no-prompt
fi
azd config set defaults.subscription "$AZURE_SUBSCRIPTION_ID"
azd up --no-prompt
Loading