feat: added support for deploying local changes#534
Open
Dhruvkumar-Microsoft wants to merge 2 commits intodevfrom
Open
feat: added support for deploying local changes#534Dhruvkumar-Microsoft wants to merge 2 commits intodevfrom
Dhruvkumar-Microsoft wants to merge 2 commits intodevfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces a “custom” AZD configuration + infrastructure template intended to enable deploying locally modified source code to Azure via azd up, and updates the deployment guide to describe the new workflow.
Changes:
- Added
azure_custom.yamlto define AZD services that build/push local code as container images. - Added
infra/main_custom.bicepto support AZD service integration viaazd-service-nametags and placeholder images. - Updated
docs/DeploymentGuide.mdto document swapping config/infra files before runningazd up.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
| infra/main_custom.bicep | New custom Bicep template that provisions resources for “local changes” deployments and tags Container Apps for AZD integration. |
| azure_custom.yaml | New AZD config defining services + docker build/push behavior for local source changes. |
| docs/DeploymentGuide.md | Updates “Advanced” section to describe the new file-swapping workflow for local deployments. |
| azure.yaml | Minor formatting/indent fix in requiredVersions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Purpose
This pull request introduces a new custom Azure Developer (AZD) configuration for deploying local code changes and updates the deployment guide to reflect the new workflow. The main focus is to provide a clear, repeatable process for deploying local modifications using custom configuration and infrastructure files.
Custom deployment configuration:
azure_custom.yaml, a customizable AZD configuration file that enables building and deploying local code changes with placeholder container images and post-provision hooks.Documentation updates:
docs/DeploymentGuide.mdto guide users through swapping configuration and infrastructure files (azure_custom.yamlandmain_custom.bicep) before runningazd up, replacing the previous Docker build script approach.Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information