Skip to content

Commit 00f201a

Browse files
author
Seth
committed
AZD - preup permission fix
1 parent efe8821 commit 00f201a

1 file changed

Lines changed: 27 additions & 27 deletions

File tree

azure.yaml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
name: deploy-your-ai-application-in-production
2-
infra:
3-
provider: "bicep"
4-
metadata:
5-
template: deploy-your-ai-application-in-production@1.0
6-
hooks:
7-
preup:
8-
windows:
9-
shell: pwsh
10-
run: ./scripts/set_conns_env_vars.ps1
11-
interactive: true
12-
continueOnError: false
13-
posix:
14-
shell: sh
15-
run: ./scripts/set_conns_env_vars.sh
16-
interactive: true
17-
continueOnError: false
18-
preprovision:
19-
posix:
20-
shell: sh
21-
run: chmod u+r+x ./scripts/validate_model_deployment_quotas.sh; chmod u+r+x ./scripts/validate_model_quota.sh; ./scripts/validate_model_deployment_quotas.sh --subscription $AZURE_SUBSCRIPTION_ID --location $AZURE_LOCATION --models-parameter "aiModelDeployments"
22-
interactive: false
23-
continueOnError: false
24-
windows:
25-
shell: pwsh
26-
run: ./scripts/validate_model_deployment_quotas.ps1 -Subscription $env:AZURE_SUBSCRIPTION_ID -Location $env:AZURE_LOCATION -ModelsParameter "aiModelDeployments"
27-
interactive: false
1+
name: deploy-your-ai-application-in-production
2+
infra:
3+
provider: "bicep"
4+
metadata:
5+
template: deploy-your-ai-application-in-production@1.0
6+
hooks:
7+
preup:
8+
windows:
9+
shell: pwsh
10+
run: ./scripts/set_conns_env_vars.ps1
11+
interactive: true
12+
continueOnError: false
13+
posix:
14+
shell: sh
15+
run: chmod u+r+x ./scripts/set_conns_env_vars.sh; ./scripts/set_conns_env_vars.sh
16+
interactive: true
17+
continueOnError: false
18+
preprovision:
19+
posix:
20+
shell: sh
21+
run: chmod u+r+x ./scripts/validate_model_deployment_quotas.sh; chmod u+r+x ./scripts/validate_model_quota.sh; ./scripts/validate_model_deployment_quotas.sh --subscription $AZURE_SUBSCRIPTION_ID --location $AZURE_LOCATION --models-parameter "aiModelDeployments"
22+
interactive: false
23+
continueOnError: false
24+
windows:
25+
shell: pwsh
26+
run: ./scripts/validate_model_deployment_quotas.ps1 -Subscription $env:AZURE_SUBSCRIPTION_ID -Location $env:AZURE_LOCATION -ModelsParameter "aiModelDeployments"
27+
interactive: false
2828
continueOnError: false

0 commit comments

Comments
 (0)