Bugzilla – Bug 1192012
release trigger pushed non-published images
Last modified: 2021-11-16 13:41:34 UTC
When an image build project has PublishFlags: noearlykiwipublish set in the project config to ensure images only get published when all images in the project succeed build it is still possible to images from this project that have completed built but did not get published due to some other image build failure in the project to another project via a release, i.e. the trigger/release api uses the latest built but not published images. The build service should only release images in a project that are published.
no, sorry, this is not going how it works, since it must be possible to re-create the publish area based on the build results. It would not be possible to create a reproducible state and we would need to backup way more content. Btw noearlykiwipublish would not have the effect you described, it just waits until all finished (no matter if succeeded or failed). "nofailedpackages" would have that effect, maybe you are using that? Maybe this would be an option to set "nofailedpackages" in source and target project to block any release when one build has failed? I have to admit, that I am not sure how "nofailedpackages" is behave in release target projects, but we could get it working to take care about the build results. Would this solve your issue?
it would not block the release command, but it would block the publishing in the target to be exact.
we could also added further optional checks for the release command, but we should discuss this directly maybe....
nofailedpackages is also set in the project. OK, will find a time slot.
why is this assigned to me ?
Marcus, this should not be assigned to you. Based on the conversation with Adrian he was going to create a request in Jira and then close this bug.