File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,40 +52,6 @@ workflows:
5252 - azd : provision
5353
5454hooks :
55- preprovision :
56- windows :
57- run : |
58- Write-Host "Preparing Content Generation Solution Accelerator deployment..." -ForegroundColor Cyan
59- Write-Host "Checking Azure CLI authentication..."
60- az account show --query "{name:name, id:id}" -o table
61-
62- # For private networking on first run, skip ACI (image not yet in ACR)
63- $currentSkip = azd env get-value skipContainerDeployment 2>$null
64- if (-not $?) {
65- $currentSkip = ""
66- $global:LASTEXITCODE = 0
67- }
68- if ($env:enablePrivateNetworking -eq 'true' -and -not $env:ACR_NAME -and $currentSkip -ne 'false') {
69- Write-Host "Private networking enabled - skipping container deployment until image is built" -ForegroundColor Yellow
70- azd env set skipContainerDeployment true
71- }
72- shell : pwsh
73- continueOnError : false
74- posix :
75- run : |
76- echo "Preparing Content Generation Solution Accelerator deployment..."
77- echo "Checking Azure CLI authentication..."
78- az account show --query "{name:name, id:id}" -o table
79-
80- # For private networking on first run, skip ACI (image not yet in ACR)
81- current_skip=$(azd env get-value skipContainerDeployment 2>/dev/null || echo "")
82- if [ "$enablePrivateNetworking" = "true" ] && [ -z "$ACR_NAME" ] && [ "$current_skip" != "false" ]; then
83- echo "Private networking enabled - skipping container deployment until image is built"
84- azd env set skipContainerDeployment true
85- fi
86- shell : sh
87- continueOnError : false
88-
8955 postprovision :
9056 windows :
9157 run : |
Original file line number Diff line number Diff line change @@ -360,9 +360,6 @@ azd up --debug
360360
361361If deployment gets into a bad state:
362362``` bash
363- # Clear environment values
364- azd env set skipContainerDeployment " "
365-
366363# Re-run provisioning
367364azd provision
368365```
You can’t perform that action at this time.
0 commit comments