Issue
azd ai agent init --no-prompt always defaults to container deployment mode.
At the moment, there is:
no CLI flag such as --deploy-mode
no environment variable override
no supported way to select code deployment mode in a non-interactive flow
Why non-interactive support matters
This is required for CI/CD scenarios.
The Foundry samples cloud E2E pipeline (hosted-agents-cloud-e2e.yml) runs unattended on GitHub Actions runners with no TTY and validates approximately 47 samples on every PR. Any interactive prompt causes the job to hang and eventually time out.
Today, container deploy works in this pipeline via --no-prompt. We need the same non-interactive capability for code deploy so both deployment paths can be validated in parallel.
Issue
azd ai agent init --no-prompt always defaults to container deployment mode.
At the moment, there is:
no CLI flag such as --deploy-mode
no environment variable override
no supported way to select code deployment mode in a non-interactive flow
Why non-interactive support matters
This is required for CI/CD scenarios.
The Foundry samples cloud E2E pipeline (hosted-agents-cloud-e2e.yml) runs unattended on GitHub Actions runners with no TTY and validates approximately 47 samples on every PR. Any interactive prompt causes the job to hang and eventually time out.
Today, container deploy works in this pipeline via --no-prompt. We need the same non-interactive capability for code deploy so both deployment paths can be validated in parallel.