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!
Promote Package if Build is promoted to new stage
-
Hi there,
are there any possibilities to promote a package (internal feed) to next feed if the build is promoted?
The reason for this question is that my idea for a good workflow would be as followed:
- Developer commit changes in VCS
- CI-System builds and
- upload package to feed universal-build
- creates new build in proGet with previously uploaded package in state Build
- If the package will be tested the test-engineer could promote the build to state Test
- now it would be nice if the packages (possible configurable) also would be promoted to another feed
Actually we should start a lookup for each package in the Package in the Build after promotion and should promote each Package manually (over Web-UI or pgutil-CLI) to another feed.
Would this be a possible workflow solution or there any other suggestions to work with package/build/promotion?
Best regards,
Florian
-
Hi @it_9582,
First and foremost, we don't recommend the "package promotion" feature as a means to indicate which "stage" (i.e. tested quality) a package is in relative to a CI/CD pipeline.
Instead, repackaging should be used:
https://docs.inedo.com/docs/proget/packages/repackagingHaving multiple feeds is fine; we do that for
Products
andPreReleaseProducts
on proget.inedo.com, but that's to make it "harder" for someone to accidently use a prerelease version. Otherwise, you can just use one feed and have retention policies cleanup the "-ci" builds.As for having the "build promotion" feature in ProGet be used as a workflow engine (i.e. to trigger actions upon promotion), I don't think we would consider that. At the most, we would do a webhook of sorts... though it doesn't make a ton of sense to be honest.
The reason is that ProGet isn't intended as the "source of truth" for build status - the idea is that you would have something like a pipeline in BuildMaster) update the statuses in ProGet.
The main benefit to having this status in ProGet is retention of builds/SBOMs.
Hope that helps,
Steve