Skip to content

Make sure the publisher example supports azd #9277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 13, 2025
Merged

Conversation

davidfowl
Copy link
Member

Fixes #9265

@Copilot Copilot AI review requested due to automatic review settings May 13, 2025 06:22
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label May 13, 2025
Copy link
Contributor

@Copilot 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 adjusts the publisher example to support azd by removing the obsolete Deployment configuration and updating the environment selection logic.

  • Removed the "Deployment" block from appsettings.json.
  • Updated Program.cs to use a tuple switch on publisher and target, and added password authentication to the Azure Postgres chain.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
playground/publishers/Publishers.AppHost/appsettings.json Removed the Deployment configuration to align with the azd support update.
playground/publishers/Publishers.AppHost/Program.cs Revised environment selection logic using tuple switch and enhanced the Azure Postgres configuration with password authentication.

@davidfowl davidfowl merged commit 1ce643c into main May 13, 2025
176 checks passed
@davidfowl davidfowl deleted the davidfowl/support-azd branch May 13, 2025 15:16
@danmoseley danmoseley added area-deployment and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels May 13, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Jun 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

non-compatible azd-sample in the playground
3 participants