Remove pipeline variables section from azure.yaml and update azd version requirement #330
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR modernizes the
azure.yaml
configuration by removing thepipeline:
variables:
section, which is no longer needed as of Azure Developer CLI version 1.17.0. The Azure Developer CLI now auto-detects the needed variables frommain.parameters.json
.Changes Made
pipeline:
block containing 14 variable definitions that are now redundantrequiredVersions.azd
from>= 1.10.0
to>= 1.17.0
to enforce the minimum version that supports auto-detectionmetadata.template
version from0.2.0
to0.3.0
to indicate this modernizationBefore
After
All the removed variables are properly defined in
infra/main.parameters.json
with the${VARIABLE_NAME=default}
syntax, ensuring azd >= 1.17.0 can auto-detect them. The CI workflows continue to work as they define these same variables as GitHub variables/secrets.Benefits
main.parameters.json
Fixes #329.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.