Skip to content
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

Support official DSC v3 release #5313

Merged
merged 5 commits into from
Mar 24, 2025
Merged

Conversation

JohnMcPMS
Copy link
Member

@JohnMcPMS JohnMcPMS commented Mar 19, 2025

Change

Install the specific, MSIX version from the winget-pkgs in the pipeline. (Store installs don't work on Server 2022)
In the processor, find dsc.exe by the alias location. Support the preview version for test builds (anything from winget-cli).

Validation

Running tests locally continues to work.

Microsoft Reviewers: Open in CodeFlow

@JohnMcPMS JohnMcPMS requested a review from a team as a code owner March 19, 2025 23:15

This comment was marked as outdated.

@JohnMcPMS JohnMcPMS changed the title Move to official DSC v3 release Support official DSC v3 release Mar 21, 2025
- powershell: |
Install-WinGetPackage -Id Microsoft.DSC.Preview -Source winget
$installResult = Install-WinGetPackage -Id Microsoft.DSC.Preview -Source winget -InstallerType Msix -Version 3.0.12
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
$installResult = Install-WinGetPackage -Id Microsoft.DSC.Preview -Source winget -InstallerType Msix -Version 3.0.12
$installResult = Install-WinGetPackage -Id Microsoft.DSC.Preview -Source winget -InstallerType Msix -Version 3.0.12.0

3.0.12 doesn't match the version on winget-pkgs, making the command fail

Install-WinGetPackage -Id Microsoft.DSC.Preview -Source winget
$installResult = Install-WinGetPackage -Id Microsoft.DSC.Preview -Source winget -InstallerType Msix -Version 3.1.1
$installResult | Format-List
if ($installResult.ExtendedErrorCode) { throw $installResult.ExtendedErrorCode }
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: do we still need these debug related scripts?

Copy link
Member Author

Choose a reason for hiding this comment

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

That is what is installing DSC for the pipeline currently.

I'm still considering how best to have the configuration code paths handle acquiring DSC themselves.

@JohnMcPMS JohnMcPMS merged commit 92daa5f into microsoft:master Mar 24, 2025
9 checks passed
@JohnMcPMS JohnMcPMS deleted the dscv3-install branch March 24, 2025 21:02
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