-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Don't publish assets with Vertical visibility as part of the merged manifest for a vertical. #45553
Don't publish assets with Vertical visibility as part of the merged manifest for a vertical. #45553
Conversation
…anifest for a vertical.
…ldn't be uploaded from jobs and they won't be in the asset manifest anyway.
b7a0af1
to
f68a748
Compare
<BinPlaceFile Include="@(ProducedAsset->'$(ArtifactsAssetsDir)%(Identity)')" /> | ||
<!-- | ||
When building from source, the Private.SourceBuilt.Artifacts archive already contains the nuget packages. | ||
Don't binplace any packages or blobs with vertical visibility. These are only used for building other repos within this vertical |
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.
Don't binplace any packages or blobs with vertical visibility. These are only used for building other repos within this vertical | |
In addition, don't binplace any packages or blobs with vertical visibility. These are only used for building other repos within this vertical |
<BinPlaceFile Include="@(ProducedPackage->'$(ArtifactsPackagesDir)%(ShippingFolder)/$(RepositoryName)/%(Identity).%(Version).nupkg')" Condition="'$(DotNetBuildSourceOnly)' != 'true'" /> | ||
<BinPlaceFile Include="@(ProducedAsset->'$(ArtifactsAssetsDir)%(Identity)')" /> | ||
<!-- | ||
When building from source, the Private.SourceBuilt.Artifacts archive already contains the nuget packages. |
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.
When building from source, the Private.SourceBuilt.Artifacts archive already contains the nuget packages. | |
When building from source, the Private.SourceBuilt.Artifacts archive already contains the nuget packages so no need to binplace. |
...urceBuild/content/eng/tools/tasks/Microsoft.DotNet.UnifiedBuild.Tasks/MergeAssetManifests.cs
Show resolved
Hide resolved
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.
Approved with minor comments.
{ | ||
string elementId = artifactElement.Attribute(_idAttribute)?.Value | ||
// Filter out artifacts that are not "External" visibility. | ||
// Artifacts of "Vertical" visibility should have been filtered out in each individual vertical, |
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.
Should we assert on that here?
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.
I'll add some validation
Related to dotnet/arcade#15344
Implements support for Vertical asset visibility in the VMR, where an asset is only visible within a vertical and is not uploaded to AzDO storage nor included in the merged asset manifest for the vertical.