builder: use --with-rpmlist for ibcli (HMS-10051)#23
builder: use --with-rpmlist for ibcli (HMS-10051)#23avitova wants to merge 3 commits intoosbuild:mainfrom
Conversation
Only in the integration test but it's currently broken, see #21 |
de4e085 to
648266d
Compare
|
I've rebased this PR on top of #24 which fixes the integration test. This then shows that we're encountering an actual error when adding the RPM list: I assume this means that Koji will actually verify that the RPMs in the RPM list are present as builds in Koji. Unsure how we can pre-create all of these for the integration test (could we import them)? Aside from this I fixed up the commit to use lists instead of a dictionary since |
85e7ad5 to
a60d085
Compare
Adds a flag --with-rpmlist to show rpmlist in the output of the image-builder build in koji. Co-authored-by: Simon de Vlieger <cmdr@supakeen.com> Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
When RPMs come from external repositories they need to be marked as such. The `BuildRoot` has a helper method to achieve this. Let's apply it. Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
Only attach the RPM list when this is a non-scratch build. This is identical to the behavior for the Kiwi plugin. Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
|
Ok; so the implementation for This is why we're seeing: |
|
This might all lie a bit deeper since we use the checksum we get from DNF through |
|
Since the linked commit mentions: Perhaps we can do this by dropping the |
|
Filed an issue to see if we can get some guidance: https://forge.fedoraproject.org/koji/koji/issues/4582 |
|
Just thought of another option; we could drop the usage of I'd prefer not to do this; but if we really want to do something on a short timeline it's a possibility. |
|
Another option is to output it as metadata from the RPM stage in |
Adds a flag --with-rpmlist to show rpmlist in the output of the image-builder build in koji.
I added tests for
load_rpmlist_from_outputbut can we test the output of the whole handler or not?