Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

How can i promote a pre-release build to production, and have the new version embedded, without a rebuild?



  • I'm having the same issue as nuget feeds and promotions:https://stackoverflow.com/questions/17735540/nuget-feeds-and-promotionsbed-sale, eight years later!

    In this case I'm talking more generically; we're using ProGet as our package manager, and have nugets, universal packages, and even some docker containers to consider in the package promotion process.

    One of the ideas is to have several Nuget feeds; a ci feed where every successful integration publishes a package, a qa feed that you only publish versions you want qa to test and then a release feed, where you copy only packages from the qa feed that they successfully tested.
    

    So, say we have a build in the ci feed that works, it's version 1.2.3-ci-xyz. We want to promote that to the QA feed, without a rebuild, and re-package it as 1.2.3-rc-1. That package passes QA and is ready to be promoted into the prod feed, with no rebuild, and ship to production. It should ship as 1.2.3. (right?)

    The question is, if we're not doing any rebuilds, the package binaries will still have the version 1.2.3-ci-xyz. That'll show up anywhere a version is displayed or queried in the app.

    And that's where I get stuck. What's the proper pattern here? Does it matter what version is shipped, as long as we know what it is?

    • meaning, we promote 1.2.3-ci-xyz from lower feeds to higher feeds, without repackaging with different versions?

    • Wouldn't it be incorrect for package 1.2.3 to include a binary 1.2.3-ci-xyz?

    • do we always build with the next 3-digit number, and forget about the ci/rc suffix?


  • inedo-engineer

    Hi @pegogif654_4423,

    We have some great blog posts about this for NuGet and you can apply the same concepts to UPACK and Docker.

    I believe you are looking to use our Repackaging feature and Package Promotion. Please note that in free editions of ProGet, you can only use the ProGet UI to repackage (for Docker it is Add Virtual Tag) and promote packages and containers. The APIs require a paid edition.

    Hope this helps!

    Thanks,
    Dan


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation