Skip to content

Commit 1ab88d8

Browse files
Merge pull request #291 from microsoft/psl-deploymentpipeline-fix
feat: Update deployment configurations to set WAF architecture parameters
2 parents 7fdb1af + 0b60e5b commit 1ab88d8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/deploy-waf.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
export AZURE_TENANT_ID=${{ secrets.AZURE_TENANT_ID }}
2222
export AZURE_CLIENT_SECRET=${{ secrets.AZURE_CLIENT_SECRET }}
2323
export AZURE_SUBSCRIPTION_ID="${{ secrets.AZURE_SUBSCRIPTION_ID }}"
24-
export GPT_MIN_CAPACITY="140"
24+
export GPT_MIN_CAPACITY="5"
2525
export AZURE_REGIONS="${{ vars.AZURE_REGIONS }}"
2626
2727
chmod +x infra/scripts/checkquota.sh
@@ -102,7 +102,9 @@ jobs:
102102
--resource-group ${{ env.RESOURCE_GROUP_NAME }} \
103103
--template-file infra/main.bicep \
104104
--parameters \
105+
useWafAlignedArchitecture=true \
105106
aiDeploymentsLocation='${{ env.AZURE_LOCATION }}' \
107+
gptModelCapacity=5 \
106108
virtualMachineConfiguration='{"adminUsername": "adminuser", "adminPassword": "P@ssw0rd1234"}' \
107109
logAnalyticsWorkspaceConfiguration='{"existingWorkspaceResourceId": ""}'
108110

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
export AZURE_TENANT_ID=${{ secrets.AZURE_TENANT_ID }}
2222
export AZURE_CLIENT_SECRET=${{ secrets.AZURE_CLIENT_SECRET }}
2323
export AZURE_SUBSCRIPTION_ID="${{ secrets.AZURE_SUBSCRIPTION_ID }}"
24-
export GPT_MIN_CAPACITY="140"
24+
export GPT_MIN_CAPACITY="5"
2525
export AZURE_REGIONS="${{ vars.AZURE_REGIONS }}"
2626
2727
chmod +x infra/scripts/checkquota.sh
@@ -102,7 +102,9 @@ jobs:
102102
--resource-group ${{ env.RESOURCE_GROUP_NAME }} \
103103
--template-file infra/main.bicep \
104104
--parameters \
105+
useWafAlignedArchitecture=false \
105106
aiDeploymentsLocation='${{ env.AZURE_LOCATION }}' \
107+
gptModelCapacity=5 \
106108
logAnalyticsWorkspaceConfiguration='{"dataRetentionInDays": 30, "existingWorkspaceResourceId": ""}' \
107109
applicationInsightsConfiguration='{"retentionInDays": 30}' \
108110
virtualNetworkConfiguration='{"enabled": false}' \

0 commit comments

Comments
 (0)