Skip to content

Move layered node image definition to new openshift/node repoΒ #1775

@jlebon

Description

@jlebon

Currently, this repo contains both the definition of the base RHCOS bootable container (which includes image.yaml, used for disk image creation) and the layered node image (Containerfile).

Those two are attached to different versioning. E.g. the layered node image content should keep following OCP branching, but that doesn't make sense for the RHEL-versioned base image. Additionally, having both defined in the same repo is confusing because it's not clear which file pertains to which and what exactly CI is testing.

See also: https://github.com/openshift/enhancements/blob/master/enhancements/rhcos/split-rhcos-into-layers.md#re-organize-repos

Here's a starting proposal:

  • We create a new openshift/node repo and move everything related to building the node image there. We can then also start adding more OCP-specific things, like some of the MCO static templates. That repo follows OCP branching.
  • We stop branching this repo for OCP versions. We start branching this repo for RHEL EUS versions. Once dual stream happens, one branch would capture definitions for both RHEL 9.x and RHEL 10.y versions that were released together on the OCP side.
  • We rename this repo to openshift/coreos? Optional, but I think it'd be clearer than the generic "os" name.

One thing I had considered was to have the RHCOS/SCOS base definition be defined in Gitlab instead, closer to rhel-bootc/centos-bootc. But I think the pull from OpenShift CI and its integration with GitHub is too strong to ignore. A lot of CI happens at the node layer, but I want us to also be able to easily run cluster tests when the base layer changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions