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.

[Publishing] Manifest versioning changes affecting darc-add-build-to-channel

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

NuGet.client ran into issues when using the add-build-to-channel command to insert one of their builds:

##[error].packages\microsoft.dotnet.arcade.sdk\5.0.0-beta.20330.3\tools\SdkTasks\PublishArtifactsInManifest.proj(79,5): error : (NETCORE_ENGINEERING_TELEMETRY=Publish) This task is not able to handle legacy manifests.
(Build)

C:\dotnet\arcade [master ≡]> darc add-build-to-channel --id 56547 --channel "VS 16.7" --source-branch master
Build 56547 will be assigned to target channel(s) once this build finishes publishing assets: https://devdiv.visualstudio.com/devdiv/_build/results?buildId=3862000
Waiting '60' seconds for promotion build to complete.
Waiting '60' seconds for promotion build to complete.
Waiting '60' seconds for promotion build to complete.
Waiting '60' seconds for promotion build to complete.
Waiting '60' seconds for promotion build to complete.
Waiting '60' seconds for promotion build to complete.
Waiting '60' seconds for promotion build to complete.
The promotion build finished but the build isn't associated with at least one of the target channels. This is an error scenario. Please contact @dnceng.

I suspect https://github.com/dotnet/arcade/commit/5a99acb9c13bddf0174054c3b04c9cfff3fa8586 includes a change that causes NuGet’s manifest to be invalid when tring to publish using the command. This is a scenario that should still work.

As a workaround for now, specifying a source-sha parameter to use a commit before the publishing changes allows the build promotion job to succeed

darc add-build-to-channel --id 56547 --channel "VS 16.7" --source-branch "master" --source-sha "a7ba57554594196351a788410800fc6636cef16c"

@epananth We should find out what needs to happen to unblock this scenario. It’s possibly related to https://github.com/dotnet/arcade-services/pull/1261 which had to be reverted?

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
riarenascommented, Jul 15, 2020

Upgrading this to blocking. @epananth it looks like we need to allow older versions if possible.

1reaction
epananthcommented, Jul 25, 2020

@riarenas can you please work with @zivkan to get this PR merged? (I’m oof next week)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Published folder name and manifest not getting updated
I have changed the assembly version manually using assemblyInfo.cs file and my current version are 2.0.0.7. But I'm facing the below issues.
Read more >
Security/versioning/manifest issues (ClickOnce)
Learn about issues with ClickOnce security, application versioning, and manifest syntax and semantics that can cause a ClickOnce deployment ...
Read more >
Auto generate manifests for newer versions · Issue #500
Based on custom rules, such as scripts for finding newer versions, URLs for downloading them, a CI can run continuously based on a...
Read more >
Publishing, versions, and approvals - Tag Manager Help
Select Publish and Create Version if it is not already selected. Review the Workspace Changes section to see if your configuration appears as...
Read more >
Version your app | Android Studio
Versioning is a critical component of your app upgrade and maintenance strategy.
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