Skip to content

feat: added support for deploying local changes#534

Open
Dhruvkumar-Microsoft wants to merge 2 commits intodevfrom
psl-DeployingLocalChanges
Open

feat: added support for deploying local changes#534
Dhruvkumar-Microsoft wants to merge 2 commits intodevfrom
psl-DeployingLocalChanges

Conversation

@Dhruvkumar-Microsoft
Copy link
Copy Markdown
Contributor

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:

  • Added 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:

  • Updated the "Advanced: Deploy Local Changes" section in docs/DeploymentGuide.md to guide users through swapping configuration and infrastructure files (azure_custom.yaml and main_custom.bicep) before running azd up, replacing the previous Docker build script approach.

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yaml to define AZD services that build/push local code as container images.
  • Added infra/main_custom.bicep to support AZD service integration via azd-service-name tags and placeholder images.
  • Updated docs/DeploymentGuide.md to document swapping config/infra files before running azd 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.

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.

2 participants