Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Sep 12, 2025

As of Azure Developer CLI version 1.17.0, the pipeline: variables: section in azure.yaml is no longer needed. The Azure Developer CLI now auto-detects required variables from main.parameters.json.

This PR updates the repository's azure.yaml by:

  1. Removing the entire pipeline: block (23 lines) including all nested variables: entries
  2. Updating the azd version requirement from ">= 1.10.0" to ">= 1.17.0" to enforce the modern azd version
  3. Bumping the template version from 0.0.1 to 0.0.2 to indicate the change

Benefits:

  • Simplifies configuration (variables now inferred automatically)
  • Reduces duplication and risk of drift between pipeline variables and parameter definitions
  • Aligns with current azd best practices

Validation:

  • Confirmed that 18 out of 20 pipeline variables are auto-detected from infra/main.parameters.json
  • Verified YAML structure remains valid
  • Tested that core application modules continue to work correctly

The two variables not found in main.parameters.json (AZURE_OPENAI_VERSION and AZURE_OPENAI_EMBEDDING_COLUMN) appear to be legacy/unused, confirming that the auto-detection approach is sufficient.

Fixes #261.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@Copilot Copilot AI changed the title [WIP] Remove the pipeline: variables section from azure.yaml Remove pipeline variables section from azure.yaml per azd 1.17.0+ Sep 12, 2025
@Copilot Copilot AI requested a review from pamelafox September 12, 2025 16:50
Copilot finished work on behalf of pamelafox September 12, 2025 16:50
@pamelafox pamelafox marked this pull request as ready for review September 12, 2025 19:20
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.

Remove the pipeline: variables section from azure.yaml
2 participants