-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
False
-
-
False
-
None
-
None
-
None
-
None
-
None
Once upon a time we had make targets that facilitated building hive images in just a couple of minutes. There was one piece that would do all the slow baseline stuff that seldom/never changes (RPMs etc.) that you would run once; and then the hive-specific pieces (go build ing hive itself) would use that as the base image.
Over the past year or so, we've had to swizzle how we're building images for things like
- FIPS
- RHEL8/9
- konflux
- licensing/entitlement stuff around CentOS, ubi, ...
...and at this point, whereas we seem to be able to build unentitled dev images (for local use and for OperatorHub), we don't seem to have the ability to do so in less than about 20 minutes. This makes it slow to iterate.
Goal
make target(s) or other mechanisms to get local dev builds to less than, say, five minutes. A bigger one-time initial hit is acceptable.
Thoughts
- Assuming we're going with static-ish base images, I think we're going to need two of them: one for rhel8 and one for rhel9.
- Consider uploading those to quay.io/openshift-hive/hive so only one of us has to build them.
- SOP content for this. If we have it, it's surely out of date. If we don't, let's add some.