From f22989637de7fa2e3a58f603a7df1410569cdd48 Mon Sep 17 00:00:00 2001 From: wangke19 Date: Mon, 29 Dec 2025 12:58:38 +0800 Subject: [PATCH 1/2] fix(cluster-kube-apiserver-operator): revert okd-scos jobs back to 4.21 For 4.22, scos-4.22:stream-coreos is missing required labels that are causing the okd-scos images job to fail. This should be reverted once that is fixed. Related: https://github.com/coreos/rhel-coreos-config/pull/134 Related: https://github.com/openshift/release/pull/72920 --- ...uster-kube-apiserver-operator-main__okd-scos.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/ci-operator/config/openshift/cluster-kube-apiserver-operator/openshift-cluster-kube-apiserver-operator-main__okd-scos.yaml b/ci-operator/config/openshift/cluster-kube-apiserver-operator/openshift-cluster-kube-apiserver-operator-main__okd-scos.yaml index c18f64825631d..47f78542ee3ce 100644 --- a/ci-operator/config/openshift/cluster-kube-apiserver-operator/openshift-cluster-kube-apiserver-operator-main__okd-scos.yaml +++ b/ci-operator/config/openshift/cluster-kube-apiserver-operator/openshift-cluster-kube-apiserver-operator-main__okd-scos.yaml @@ -2,16 +2,16 @@ base_images: ocp_builder_rhel-9-golang-1.24-openshift-4.22: name: builder namespace: ocp - tag: rhel-9-golang-1.24-openshift-4.22 + tag: rhel-9-golang-1.24-openshift-4.21 origin_scos-4.22_base-stream9: - name: scos-4.22 + name: scos-4.21 namespace: origin tag: base-stream9 build_root: image_stream_tag: name: release namespace: openshift - tag: rhel-9-release-golang-1.24-openshift-4.22 + tag: rhel-9-release-golang-1.24-openshift-4.21 images: - build_args: - name: TAGS @@ -24,15 +24,11 @@ images: - builder - registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.21 to: cluster-kube-apiserver-operator -promotion: - to: - - name: scos-4.22 - namespace: origin releases: latest: integration: include_built_images: true - name: scos-4.22 + name: scos-4.21 namespace: origin resources: '*': From c418c487e9bbf9cb9e57fe60869e76953091d62d Mon Sep 17 00:00:00 2001 From: wangke19 Date: Mon, 29 Dec 2025 12:59:27 +0800 Subject: [PATCH 2/2] fix(cluster-kube-apiserver-operator): generated jobs after config update --- ...e-apiserver-operator-main-postsubmits.yaml | 62 ------------------- ...be-apiserver-operator-main-presubmits.yaml | 1 - .../openshift/mapping_origin_scos-4_22 | 1 - 3 files changed, 64 deletions(-) diff --git a/ci-operator/jobs/openshift/cluster-kube-apiserver-operator/openshift-cluster-kube-apiserver-operator-main-postsubmits.yaml b/ci-operator/jobs/openshift/cluster-kube-apiserver-operator/openshift-cluster-kube-apiserver-operator-main-postsubmits.yaml index 205ef07aff824..c9e0faff06bf6 100644 --- a/ci-operator/jobs/openshift/cluster-kube-apiserver-operator/openshift-cluster-kube-apiserver-operator-main-postsubmits.yaml +++ b/ci-operator/jobs/openshift/cluster-kube-apiserver-operator/openshift-cluster-kube-apiserver-operator-main-postsubmits.yaml @@ -58,65 +58,3 @@ postsubmits: - name: result-aggregator secret: secretName: result-aggregator - - agent: kubernetes - always_run: true - branches: - - ^main$ - cluster: build08 - decorate: true - decoration_config: - skip_cloning: true - labels: - ci-operator.openshift.io/is-promotion: "true" - ci-operator.openshift.io/variant: okd-scos - ci.openshift.io/generator: prowgen - max_concurrency: 1 - name: branch-ci-openshift-cluster-kube-apiserver-operator-main-okd-scos-images - spec: - containers: - - args: - - --gcs-upload-secret=/secrets/gcs/service-account.json - - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson - - --image-mirror-push-secret=/etc/push-secret/.dockerconfigjson - - --promote - - --report-credentials-file=/etc/report/credentials - - --target=[images] - - --variant=okd-scos - command: - - ci-operator - image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest - imagePullPolicy: Always - name: "" - resources: - requests: - cpu: 10m - volumeMounts: - - mountPath: /secrets/gcs - name: gcs-credentials - readOnly: true - - mountPath: /secrets/manifest-tool - name: manifest-tool-local-pusher - readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - - mountPath: /etc/push-secret - name: push-secret - readOnly: true - - mountPath: /etc/report - name: result-aggregator - readOnly: true - serviceAccountName: ci-operator - volumes: - - name: manifest-tool-local-pusher - secret: - secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - - name: push-secret - secret: - secretName: registry-push-credentials-ci-central - - name: result-aggregator - secret: - secretName: result-aggregator diff --git a/ci-operator/jobs/openshift/cluster-kube-apiserver-operator/openshift-cluster-kube-apiserver-operator-main-presubmits.yaml b/ci-operator/jobs/openshift/cluster-kube-apiserver-operator/openshift-cluster-kube-apiserver-operator-main-presubmits.yaml index 5ef1a4905c0bb..6a46437ff65e1 100644 --- a/ci-operator/jobs/openshift/cluster-kube-apiserver-operator/openshift-cluster-kube-apiserver-operator-main-presubmits.yaml +++ b/ci-operator/jobs/openshift/cluster-kube-apiserver-operator/openshift-cluster-kube-apiserver-operator-main-presubmits.yaml @@ -2933,7 +2933,6 @@ presubmits: - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson - --report-credentials-file=/etc/report/credentials - --target=[images] - - --target=[release:latest] - --variant=okd-scos command: - ci-operator diff --git a/core-services/image-mirroring/openshift/mapping_origin_scos-4_22 b/core-services/image-mirroring/openshift/mapping_origin_scos-4_22 index a50a8f0a8ee09..d1c749142ef6b 100644 --- a/core-services/image-mirroring/openshift/mapping_origin_scos-4_22 +++ b/core-services/image-mirroring/openshift/mapping_origin_scos-4_22 @@ -51,7 +51,6 @@ registry.ci.openshift.org/origin/scos-4.22:cluster-dns-operator quay.io/openshif registry.ci.openshift.org/origin/scos-4.22:cluster-etcd-operator quay.io/openshift/origin-cluster-etcd-operator:4.22 quay.io/openshift/origin-cluster-etcd-operator:4.22.0 quay.io/openshift/origin-cluster-etcd-operator:latest registry.ci.openshift.org/origin/scos-4.22:cluster-image-registry-operator quay.io/openshift/origin-cluster-image-registry-operator:4.22 quay.io/openshift/origin-cluster-image-registry-operator:4.22.0 quay.io/openshift/origin-cluster-image-registry-operator:latest registry.ci.openshift.org/origin/scos-4.22:cluster-ingress-operator quay.io/openshift/origin-cluster-ingress-operator:4.22 quay.io/openshift/origin-cluster-ingress-operator:4.22.0 quay.io/openshift/origin-cluster-ingress-operator:latest -registry.ci.openshift.org/origin/scos-4.22:cluster-kube-apiserver-operator quay.io/openshift/origin-cluster-kube-apiserver-operator:4.22 quay.io/openshift/origin-cluster-kube-apiserver-operator:4.22.0 quay.io/openshift/origin-cluster-kube-apiserver-operator:latest registry.ci.openshift.org/origin/scos-4.22:cluster-kube-cluster-api-operator quay.io/openshift/origin-cluster-kube-cluster-api-operator:4.22 quay.io/openshift/origin-cluster-kube-cluster-api-operator:4.22.0 quay.io/openshift/origin-cluster-kube-cluster-api-operator:latest registry.ci.openshift.org/origin/scos-4.22:cluster-kube-controller-manager-operator quay.io/openshift/origin-cluster-kube-controller-manager-operator:4.22 quay.io/openshift/origin-cluster-kube-controller-manager-operator:4.22.0 quay.io/openshift/origin-cluster-kube-controller-manager-operator:latest registry.ci.openshift.org/origin/scos-4.22:cluster-kube-scheduler-operator quay.io/openshift/origin-cluster-kube-scheduler-operator:4.22 quay.io/openshift/origin-cluster-kube-scheduler-operator:4.22.0 quay.io/openshift/origin-cluster-kube-scheduler-operator:latest