From 5e4c15158c812a323c97a0f54951804442a00772 Mon Sep 17 00:00:00 2001 From: miyadav Date: Fri, 26 Jun 2026 11:34:01 +0100 Subject: [PATCH 1/2] [Draft] - Testing compact installations after capabilities changes --- ...rsion-operator-release-5.0__periodics.yaml | 39 ++++++++ ...ersion-operator-release-5.0-periodics.yaml | 88 +++++++++++++++++++ ...sion-operator-release-5.0-postsubmits.yaml | 64 ++++++++++++++ ...rsion-operator-release-5.0-presubmits.yaml | 59 +++++++++++++ 4 files changed, 250 insertions(+) create mode 100644 ci-operator/config/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0__periodics.yaml create mode 100644 ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0-periodics.yaml diff --git a/ci-operator/config/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0__periodics.yaml b/ci-operator/config/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0__periodics.yaml new file mode 100644 index 0000000000000..561eb7925cd7a --- /dev/null +++ b/ci-operator/config/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0__periodics.yaml @@ -0,0 +1,39 @@ +build_root: + from_repository: true +images: + items: + - dockerfile_path: Dockerfile.rhel + to: cluster-version-operator +promotion: + to: + - disabled: true + name: "5.0" + namespace: ocp +releases: + initial: + integration: + name: "5.0" + namespace: ocp + latest: + integration: + include_built_images: true + name: "5.0" + namespace: ocp +resources: + '*': + requests: + cpu: 100m + memory: 200Mi +tests: +- as: e2e-gcp-compact-install + interval: 168h + steps: + cluster_profile: gcp-qe + dependencies: + OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: registry.build10.ci.openshift.org/ci-ln-llimy2k/release:latest + workflow: cucushift-installer-rehearse-gcp-ipi-compact +zz_generated_metadata: + branch: release-5.0 + org: openshift + repo: cluster-version-operator + variant: periodics diff --git a/ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0-periodics.yaml b/ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0-periodics.yaml new file mode 100644 index 0000000000000..458dc34a57cfe --- /dev/null +++ b/ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0-periodics.yaml @@ -0,0 +1,88 @@ +periodics: +- agent: kubernetes + cluster: build04 + decorate: true + decoration_config: + sparse_checkout_files: + - .ci-operator.yaml + - Dockerfile.rhel + extra_refs: + - base_ref: release-5.0 + org: openshift + repo: cluster-version-operator + sparse_checkout_files: + - .ci-operator.yaml + - Dockerfile.rhel + interval: 168h + labels: + ci-operator.openshift.io/cloud: gcp + ci-operator.openshift.io/cloud-cluster-profile: gcp-qe + ci-operator.openshift.io/variant: periodics + ci.openshift.io/generator: prowgen + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: periodic-ci-openshift-cluster-version-operator-release-5.0-periodics-e2e-gcp-compact-install + spec: + containers: + - args: + - --gcs-upload-secret=/secrets/gcs/service-account.json + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --lease-server-credentials-file=/etc/boskos/credentials + - --report-credentials-file=/etc/report/credentials + - --secret-dir=/secrets/ci-pull-credentials + - --target=e2e-gcp-compact-install + - --variant=periodics + command: + - ci-operator + env: + - name: HTTP_SERVER_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest + imagePullPolicy: Always + name: "" + ports: + - containerPort: 8080 + name: http + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /etc/boskos + name: boskos + readOnly: true + - mountPath: /secrets/ci-pull-credentials + name: ci-pull-credentials + readOnly: true + - 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/report + name: result-aggregator + readOnly: true + serviceAccountName: ci-operator + volumes: + - name: boskos + secret: + items: + - key: credentials + path: credentials + secretName: boskos-credentials + - name: ci-pull-credentials + secret: + secretName: ci-pull-credentials + - name: manifest-tool-local-pusher + secret: + secretName: manifest-tool-local-pusher + - name: pull-secret + secret: + secretName: registry-pull-credentials + - name: result-aggregator + secret: + secretName: result-aggregator diff --git a/ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0-postsubmits.yaml b/ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0-postsubmits.yaml index c472136255648..142dc2f1bd772 100644 --- a/ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0-postsubmits.yaml +++ b/ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0-postsubmits.yaml @@ -62,3 +62,67 @@ postsubmits: - name: result-aggregator secret: secretName: result-aggregator + - agent: kubernetes + always_run: true + branches: + - ^release-5\.0$ + cluster: build05 + decorate: true + decoration_config: + sparse_checkout_files: + - .ci-operator.yaml + - Dockerfile.rhel + labels: + ci-operator.openshift.io/is-promotion: "true" + ci-operator.openshift.io/variant: periodics + ci.openshift.io/generator: prowgen + max_concurrency: 1 + name: branch-ci-openshift-cluster-version-operator-release-5.0-periodics-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=periodics + 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-version-operator/openshift-cluster-version-operator-release-5.0-presubmits.yaml b/ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0-presubmits.yaml index 13a89cb155b3b..6d8c8bc99a2c8 100644 --- a/ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0-presubmits.yaml +++ b/ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0-presubmits.yaml @@ -1463,6 +1463,65 @@ presubmits: secret: secretName: result-aggregator trigger: (?m)^/test( | .* )lint,?($|\s.*) + - agent: kubernetes + always_run: true + branches: + - ^release-5\.0$ + - ^release-5\.0- + cluster: build11 + context: ci/prow/periodics-images + decorate: true + decoration_config: + sparse_checkout_files: + - .ci-operator.yaml + - Dockerfile.rhel + labels: + ci-operator.openshift.io/variant: periodics + ci.openshift.io/generator: prowgen + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-cluster-version-operator-release-5.0-periodics-images + rerun_command: /test periodics-images + spec: + containers: + - args: + - --gcs-upload-secret=/secrets/gcs/service-account.json + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --report-credentials-file=/etc/report/credentials + - --target=[images] + - --variant=periodics + 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/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: result-aggregator + secret: + secretName: result-aggregator + trigger: (?m)^/test( | .* )periodics-images,?($|\s.*) - agent: kubernetes always_run: false branches: From ca2505ece29a2b7369ee500f7c9e7c11010ee720 Mon Sep 17 00:00:00 2001 From: miyadav Date: Fri, 26 Jun 2026 12:09:19 +0100 Subject: [PATCH 2/2] env variable updated --- ...shift-cluster-version-operator-release-5.0__periodics.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci-operator/config/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0__periodics.yaml b/ci-operator/config/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0__periodics.yaml index 561eb7925cd7a..8d851be1d76bb 100644 --- a/ci-operator/config/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0__periodics.yaml +++ b/ci-operator/config/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0__periodics.yaml @@ -29,8 +29,8 @@ tests: interval: 168h steps: cluster_profile: gcp-qe - dependencies: - OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: registry.build10.ci.openshift.org/ci-ln-llimy2k/release:latest + env: + CUSTOM_OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: registry.build10.ci.openshift.org/ci-ln-llimy2k/release:latest workflow: cucushift-installer-rehearse-gcp-ipi-compact zz_generated_metadata: branch: release-5.0