Open epananth opened 3 years ago
Additionally, it gives you a way to check the size of the downloaded payload for a simple smoke test, so I really like this option for reliability.
[Async Triage]: I agree the improvements seem compelling, not sure what epic it belongs in though. Perhaps dotnet/arcade-services#2447 , "Improve Release process" ? (accidentally put it there while looking at lists)
Probably can go in Unify and improve build publishing process across (6.x, 5.x and 3.x)
Cos that epic deals with removing v1 and v2 publishing. Also can update stuff for V3 publishing also
Agreed - done
@epananth Did you do this work when you did the streaming publishing work?
sorry missed this :/ this is not completed.
Previously we downloaded one asset at a time using this API (4.1 preview version) https://dev.azure.com/dnceng//_apis/resources/Containers/{containerId}?itemPath=/BlobArtifacts/MergedManifest.xml&isShallow=true&api-version=4.1-preview.4
Where we use it -> https://github.com/dotnet/arcade/blob/0916e2d4f072d0a87db15803ce5572ff687354d4/src/Microsoft.DotNet.Build.Tasks.Feed/src/PublishArtifactsInManifestBase.cs#L885
There is a better way to do this
https://dev.azure.com/dnceng/_apis/resources/Containers/{containerId}?itemPath=PackageArtifacts
This will get the list of all the packages and we do not have to construct the url to download the asset anymore
cc: @hoyosjs @mmitche