Closed jlebon closed 3 months ago
Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all
OK, actually I think I've convinced myself we don't need this intermediate stage. Instead, I think it's better to just go straight to having a follow-on job that builds the image and pushes it to the registry. This makes immediately palpable the distinct phases between the base compose using our usual cosa pipeline vs the layered build, which is how we want it set up in the long run.
As part of https://github.com/openshift/os/issues/799, we'll want to build the "OCP node" image as a layered image on top of the RHCOS base image.
Eventually, this image should be built outside our pipelines and more like the rest of OpenShift container images. But for now, let's build it ourselves. This allows us to prove out the idea without yet requiring changes in the rest of OpenShift.
The script added here looks wordy, but it's really trivial. It's basically a glorified wrapper around
podman build
andskopeo copy
so that the built OCI image ends up in ourmeta.json
.