Skip to content

Conversation

Gijsreyn
Copy link
Contributor

@Gijsreyn Gijsreyn commented Jan 2, 2025

This PR adds Bicep support to deploy a new WinGet Rest Source in Azure.

@Gijsreyn
Copy link
Contributor Author

Gijsreyn commented Jan 2, 2025

Hi @denelon. I already created an initial draft to add Bicep support. Even thought the New-WinGetSource is a one-liner, I think users would love to see Bicep support as well. With the Graph API also supported in Bicep, we should be able to add the support for Entra ID Service Principal.

I was curious to your thoughts, that's why I already opened it as draft.

@Gijsreyn Gijsreyn marked this pull request as ready for review January 3, 2025 13:09
@Gijsreyn Gijsreyn requested a review from a team as a code owner January 3, 2025 13:09
@Gijsreyn
Copy link
Contributor Author

Gijsreyn commented Jan 3, 2025

@denelon, I've submitted this for review since the PR has grown quite large. I've tried converting the basic ARM templates to Bicep. There were a few challenges, but that's to be expected.

I've done some initial local testing. Before diving into extensive testing (initial setup checks for linting only), I want to see if we can proceed with this. Some documentation has been added, though it might not be in the correct location.

On the other side, after working on this for a while, I realize it might not belong in this repository. Maybe we can ask the AVM team to create a pattern for all three implementation performances. Let me know your thoughts.

@denelon
Copy link
Contributor

denelon commented Jan 3, 2025

Eventually, I'd like to have this work lead into an Azure Marketplace offering. I'd want to keep that code here in this repository with some kind of "small", "medium", "large" concept to support different scale out scenarios.

@Gijsreyn
Copy link
Contributor Author

Gijsreyn commented Jan 4, 2025

Cool, thanks for the reply Demitrius. I'll leave it up to the team to review :)

@yao-msft
Copy link
Contributor

Bicep will be transpiled to arm templates for deployment. This project already has arm templates well defined and we have custom logics in them. Also our PS module uses the arm templates for easy deployment. I don't feel we'll spend the resource to support an additional deployment method at the moment (meaning bicep deployment will work e2e without additional config, and smoke tests before every release).

@Gijsreyn
Copy link
Contributor Author

Thanks for the comment, Yao, and for taking it into consideration. Closing this one.

@Gijsreyn Gijsreyn closed this Aug 29, 2025
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