-
Notifications
You must be signed in to change notification settings - Fork 65
Enable publishing in VMR #4215
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
Enable publishing in VMR #4215
Conversation
eng/Publishing.props
Outdated
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <_InstallersToPublish Remove="@(_InstallersToPublish)" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WindowsDesktop may be special here. I would find out how they are publishing their assets right now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that they're using https://github.com/dotnet/windowsdesktop/blob/main/src/publish/prepare-artifacts.proj for publishing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally this change would replace https://github.com/dotnet/windowsdesktop/blob/main/src/publish/prepare-artifacts.proj but that might need a bit more work.
Otherwise we would still publish differently. This applies to windowsdesktop and runtime. Both use prepare-artifacts.proj.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NikolaMilosavljevic I simplified this code a bit. I hope you don't mind. Testing it locally.
| <ItemsToPushToBlobFeed Include="@(InstallerToPublish)" | ||
| IsShipping="true" | ||
| ManifestArtifactData="DotNetReleaseShipping=true" | ||
| PublishFlatContainer="true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mmitche any idea why this metadata is set? Just double checking if this is right. There isn't much documentation for this parameter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PublishFlatContainer? This just says "I'm a blob not a package". It used to refer to some sleet feed vs. blob artifact pivot.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool, thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Validated offline. This works now.
Contributes to dotnet/source-build#4101
Enables publishing in VMR.
Installers are not collected by common arcade publishing infra. All repos that build installers need to collect them in Publishing.props file.
Additionally installers need to be published to correct blob path, which includes versioned sub-directory. I'm obtaining the version value from
MicrosoftWindowsDesktopAppRuntimewinx64PackageVersionproperty which is defined in all architecture builds. This repo does not appear to define any RID-specific properties, i.e.TargetRid.