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

Sign Powershell scripts for VS #451

Merged
merged 16 commits into from
Mar 30, 2022
Merged

Conversation

dan-shaw
Copy link
Contributor

No description provided.

@@ -0,0 +1,56 @@
[CmdletBinding()]
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of duplicating this content, shouldn't we take it from the vcpkg repo (same as the rest of scripts)?

Copy link
Member

Choose a reason for hiding this comment

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

IMO anything that we are signing should have the authoritiative copy be here and updating the copies in Microsoft/vcpkg if necessary be part of the release process. That way the things we're signing actually are in the internal repo.

@@ -341,6 +358,10 @@ jobs:
move "$(Build.ArtifactStagingDirectory)\staging\vcpkg-muslc" "$(Build.ArtifactStagingDirectory)\drop\vcpkg-muslc"
move "$(Build.ArtifactStagingDirectory)\staging\vcpkg-standalone-bundle.tar.gz" "$(Build.ArtifactStagingDirectory)\drop\vcpkg-standalone-bundle.tar.gz"

move /Y "$(Build.ArtifactStagingDirectory)\staging\applocal.ps1" "$(Build.ArtifactStagingDirectory)\vs-insertion\staging\scripts\buildsystems\msbuild\applocal.ps1"
Copy link
Member

Choose a reason for hiding this comment

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

I think you need to edit mint-standalone-bundle.ps1 to pick up these signed copies so they also end up in vcpkg-standalone-bundle.tar.gz. Other than that this looks great to me!

@@ -17,13 +17,21 @@ parameters:
displayName: vcpkg Base Version (default is today's date in ISO 8601)
type: string
default:

- name: PublishLocation
Copy link
Contributor

Choose a reason for hiding this comment

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

Could this be a different name? Something like PublishedTo or smth. PublishLocation makes me think of a URI to publish to or something.

@BillyONeal
Copy link
Member

I am working on resolving the code review feedback thus far.

@BillyONeal
Copy link
Member

@dan-shaw I pushed fixes for the things I indicated, including ensuring the signed scripts are also in the "standalone bundle" tarball. Please check that you're happy. (I also fixed @strega-nil 's PR comment about the name of the radio button to do partial publishes)

@strega-nil-ms strega-nil-ms merged commit 692785a into microsoft:main Mar 30, 2022
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.

4 participants