Add CentOS Stream keys, add cosa podman-build#4054
Conversation
This goes together with a related patch in openshift/os. Copying the
same context from that one:
A long-standing issue that rears its head in various places in our
code is the fact that the repo files for CentOS Stream reference a
`gpgkey` path that is valid only for cosa but not within a CentOS Stream
environment. See e.g. 0a7ad3b ("extensions: Workaround for CentOS GPG
key paths") in the openshift/os repo for an example issue.
We don't have this problem with RHEL because cosa, being Fedora-based,
ships the Red Hat key in its `/etc/pki/rpm-gpg`. I want to address this
for CentOS Stream the same way, i.e. by adding the CentOS Stream keys to
`/etc/pki/rpm-gpg` in cosa. This should allow us to simplify code there.
This is basically a thin wrapper around `podman build` to make it easier to get the arguments right. The fanciest part really is the passing of the secret repos file into the build environment. Example usage: ``` cosa podman-build node cosa podman-build extensions ``` Additional arguments are passed through to `podman build`.
Sigh. Looks like our continuous repo was nuked again. |
|
/retest |
|
Is this intended to be run inside the When I run it it gives me: |
Hmm.. yeah. This kinda was written for my workflow I guess :), which is that cosa is just in my pet container and I mean, we could also transparently do |
Yeah this would be nice, but the problem there is the paths inside and outside of COSA are different so I don't think it would work. |
|
Yeah, I guess it'd need to be |
See individual commit messages. Goes together with openshift/os#1780.