Skip to content

Improve RLE container workflows and command guidance #9425

Description

@farhann1

Description

Follow up on the RLE Foundry integration delivered in #9334 by addressing deferred review feedback, improving local container tooling, moving publish builds to Azure Container Registry, and making CLI guidance platform-aware.

Scope

Address deferred review feedback

Correct extension usage metadata

Use Podman for local environments

  • Replace the Docker Desktop dependency used by local init/run workflows with Podman.
  • Update prerequisite checks, process execution, error messages, tests, and documentation accordingly.

Use ACR remote builds during publishing

  • Replace the local container build and push performed by azd ai rle publish with an Azure Container Registry remote build.
  • Continue registering the resulting image with the RLE control plane after the build succeeds.
  • Surface actionable authentication, registry, build, and image-registration failures.

Improve command guidance

Make init and related next-step output shell- and platform-aware. The CLI currently prints PowerShell environment-variable syntax under WSL/Linux and still refers to the old deploy command:

$ azd ai rle init echo
Created OpenEnv-style environment at: ./echo
Next steps:
  cd "./echo"
  azd ai rle run
  $env:FOUNDRY_PROJECT_ENDPOINT = "https://<account>.services.ai.azure.com/api/projects/<project>"
  $env:AZURE_CONTAINER_REGISTRY_ENDPOINT = "<registry>.azurecr.io"
  azd ai rle deploy

The guidance should:

  • Use syntax appropriate for PowerShell versus Bash/WSL.
  • Refer to azd ai rle publish, not deploy.
  • Clearly separate the local run workflow from the cloud publish workflow.
  • Avoid presenting placeholder environment-variable commands as though every user must run them immediately.

Acceptance criteria

  • Deferred review comments from fix: switch to foundry backend urls #9334 and [azure.ai.rle] Dev registry update for 0.3.0-preview #9426 are addressed and covered by tests.
  • extension.yaml advertises invoke [environment-name] and show [environment-name], and generated registry metadata receives the correction through the next release.
  • Local environment build/run uses Podman and no longer requires Docker Desktop.
  • Publishing uses an ACR remote build rather than building and pushing locally.
  • init guidance is correct for PowerShell and Bash/WSL.
  • Guidance uses the current publish command and clearly explains local versus cloud next steps.
  • README and prerequisite documentation reflect Podman and ACR remote-build requirements.
  • Relevant extension tests, linting, and cross-platform builds pass.

Metadata

Metadata

Assignees

Labels

ext-rleazure.ai.rle extension

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions