question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[QCR][Release ring]Release day pipeline should push private transport packages to public feeds on release day

See original GitHub issue
  • This issue is blocking
  • This issue is causing unreasonable pain

For an internal build, release day stage of the pipeline, in concert with the push to nuget.org, should take internal transport packages and push them to public feeds so that branding update PRs can complete in public.

It’s is not necessary to know whether a build is public or private. Just look for packages that exist on internal transport feeds and push them to the corresponding public feeds. Here is a powershell snippet sample which will do this:

builds = Get-Content \\vsufile\patches\sign\NET\CORE_BUILDS\3.1.X\3.1.4\3.1.300-servicing-015161\manifest.json | ConvertFrom-Json;

foreach ($asset in $builds.builds.assets) {
  if ($asset.Source.StartsWith('https://pkgs.dev.azure.com/dnceng/_apis/packaging/feeds/dotnet3.1-internal-transport')) {
    D:\tools\nuget.exe push -Source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3.1-transport/nuget/v3/index.json" -ApiKey AzureDevOps $asset.targets[0] -SkipDuplicate
  } 
}

Feed: mapping:

  • dotnet3.1-internal-transport -> dotnet3.1-transport
  • dotnet5-internal-transport -> dotnet5-transport

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
michellemcdanielcommented, Aug 27, 2020

Yes. I’m trying to make this as general as possible.

1reaction
michellemcdanielcommented, Aug 27, 2020

Do the symbols also need to be moved? So:

dotnet5-internal-symbols -> dotnet5-symbols

Read more comments on GitHub >

github_iconTop Results From Across the Web

Azure build/release pipelines to push library to nuget
In build pipelines pack library a push to nugget with prerelease number and prepare with the pack library as an artifact for release...
Read more >
Publish NuGet packages with Azure Pipelines (YAML ...
In Azure Pipelines, you can use the classic editor or the YAML tasks to publish your NuGet packages within your pipeline, to your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found