Skip to content

Fix deploy scripts for ACR task builds without local Docker#54

Open
placerda wants to merge 7 commits into
developfrom
fix/ni-acr-task-deploy
Open

Fix deploy scripts for ACR task builds without local Docker#54
placerda wants to merge 7 commits into
developfrom
fix/ni-acr-task-deploy

Conversation

@placerda
Copy link
Copy Markdown
Collaborator

Summary

Makes UI deployment work in network-isolated environments where Docker is intentionally not installed on the jumpbox.

  • Adds BUILD_MODE=local|acr-task selection.
  • Automatically selects acr-task when NETWORK_ISOLATION=true or ACR_TASK_AGENT_POOL is set.
  • Uses az acr build instead of local Docker in remote mode.
  • Passes --agent-pool $ACR_TASK_AGENT_POOL when present and validates the pool first.
  • Keeps local Docker builds available via BUILD_MODE=local.

Related upstream blocker

The deploy script now uses the correct ACR Task path, but the current landing-zone ACR Tasks pool still needs outbound/mirror support for public base images and package feeds: Azure/bicep-ptn-aiml-landing-zone#66.

Validation

  • Parsed scripts/deploy.ps1 with PowerShell parser.
  • Parsed scripts/deploy.sh with Git Bash bash -n.

placerda and others added 7 commits May 19, 2026 22:01
Enable network-isolated deployments to use ACR remote builds without requiring Docker on the jumpbox. Propagate/consume ACR_TASK_AGENT_POOL and fail fast on unsupported post-provision prerequisites instead of silently masking errors.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@placerda
Copy link
Copy Markdown
Collaborator Author

Fixed by gpt-rag-ui v2.3.3 and GPT-RAG manifest bump in v2.7.1.

Validation completed with a fresh basic deployment:

  • Environment: gptrag-0525261715
  • Region: swedencentral
  • azd provision: succeeded
  • azd deploy: succeeded
  • UI component deployed from gpt-rag-ui v2.3.3 (frontend:a3919eb)
  • Frontend Container App responded HTTP 200

No changes were made under the infra/ submodule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant