From f9e3adcdaf63bda57bd9d02ed0c4d6e2c8ceee31 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Wed, 4 Dec 2024 19:55:36 -0500 Subject: [PATCH] openshift/os: start building node image As part of https://github.com/openshift/enhancements/pull/1637, we want to start building the node image as a layered build on top of an RHCOS base image. For now, promote this image as `node`. In the future, when we're ready to switch CI over to the node image, it'll take the place of `rhel-coreos`. --- .../config/openshift/os/openshift-os-master.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ci-operator/config/openshift/os/openshift-os-master.yaml b/ci-operator/config/openshift/os/openshift-os-master.yaml index b5c138d4f43f7..f5339eb4532fa 100644 --- a/ci-operator/config/openshift/os/openshift-os-master.yaml +++ b/ci-operator/config/openshift/os/openshift-os-master.yaml @@ -1,3 +1,8 @@ +base_images: + rhel-coreos-base: + name: rhel-coreos-base + namespace: coreos + tag: "9.6" build_root: image_stream_tag: name: coreos-assembler @@ -23,6 +28,12 @@ images: WORKDIR /tmp/cosa from: root to: build-image +- build_args: + - name: OPENSHIFT_CI + value: "1" + dockerfile_path: Containerfile + from: rhel-coreos-base + to: node promotion: to: - excluded_images: