Skip to content

docs: Update deployment script and azure.yaml to run script in proper sequence#650

Merged
Roopan-Microsoft merged 1 commit into
microsoft:mainfrom
chaudhariniraj:psl-add-acr
Jul 9, 2026
Merged

docs: Update deployment script and azure.yaml to run script in proper sequence#650
Roopan-Microsoft merged 1 commit into
microsoft:mainfrom
chaudhariniraj:psl-add-acr

Conversation

@chaudhariniraj

@chaudhariniraj chaudhariniraj commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Purpose

Removed the postprovision hook from the default azure.yaml, so azd up no longer automatically runs post-deployment scripts.

What changed

  • azure.yaml
  • acr_build_push.sh
  • post_deployment.sh
  • acr_build_push.ps1
  • post_deployment.ps1

Impact

Default deployment now stops after infrastructure provisioning.
Post-deployment steps must be executed manually.

Breaking change note

This is a behavior change for users relying on the previous azd up flow, so the PR should clearly state that automatic post-deployment execution has been removed.

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the deployment guidance and azd configuration so post-deployment tasks run in the intended order (ACR build/push first, then post-deployment configuration).

Changes:

  • Updates the deployment guide to explicitly run the ACR build/push script before the post-deployment script.
  • Disables the automatic postprovision hook in azure.yaml (no longer runs the post-deployment script automatically).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
docs/DeploymentGuide.md Adds/clarifies the manual post-deployment script sequence (ACR build/push → post-deployment).
azure.yaml Removes the default postprovision hook behavior by replacing it with an empty hook map.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/DeploymentGuide.md
Comment thread docs/DeploymentGuide.md
Comment thread azure.yaml
@Roopan-Microsoft Roopan-Microsoft merged commit deab07d into microsoft:main Jul 9, 2026
10 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.

3 participants