Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Sep 12, 2025

This PR modernizes the Azure Developer CLI configuration by removing the deprecated pipeline: variables: section from azure.yaml, which is no longer needed as of azd version 1.17.0.

Changes Made

  • Removed entire pipeline: block containing the following variables:

    • AZURE_OPENAI_RESOURCE
    • AZURE_OPENAI_RESOURCE_LOCATION
    • AZURE_OPENAI_RESOURCE_GROUP
    • AZURE_OPENAI_SKU_NAME
    • ALLOWED_ORIGINS
  • Added requiredVersions section to enforce minimum azd version:

    requiredVersions:
      azd: ">= 1.17.0"
  • Bumped template version from 0.0.1-beta to 0.1.0-beta to indicate the change

Rationale

With azd 1.17.0+, the Azure Developer CLI automatically detects required variables from main.parameters.json, eliminating the need for manual variable declarations in the pipeline section. All removed variables are confirmed to be present in infra/main.parameters.json and will be auto-detected.

This change:

  • Simplifies configuration by removing duplication
  • Reduces risk of drift between pipeline variables and actual parameter usage
  • Aligns with current Azure Developer CLI best practices
  • Maintains full compatibility with existing CI/CD workflows

All tests pass and YAML syntax validation confirms the configuration is valid.

Fixes #90.


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

Copy link
Contributor Author

Copilot AI commented Sep 12, 2025

@pamelafox 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs.

I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review.

….17.0+

Co-authored-by: pamelafox <297042+pamelafox@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove the pipeline: variables section from azure.yaml Remove pipeline variables section from azure.yaml and update to azd 1.17.0+ Sep 12, 2025
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:22
@pamelafox pamelafox merged commit 69ca78c into main Sep 12, 2025
3 checks passed
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