From af98e46acf7a4a67a5de1ae29552ee4eb66d896d Mon Sep 17 00:00:00 2001 From: masco Date: Mon, 15 Jun 2026 14:17:01 +0530 Subject: [PATCH] Add new RHOSO selfsched jobs this PR to add a new rhoso self scheduled job and test the osp-selfsched cluster profile --- ...le-ci-main__metal-rhoso-selfsched-x86.yaml | 38 +++++++++ ...g-ocp-qe-perfscale-ci-main-presubmits.yaml | 85 +++++++++++++++++++ 2 files changed, 123 insertions(+) create mode 100644 ci-operator/config/openshift-eng/ocp-qe-perfscale-ci/openshift-eng-ocp-qe-perfscale-ci-main__metal-rhoso-selfsched-x86.yaml diff --git a/ci-operator/config/openshift-eng/ocp-qe-perfscale-ci/openshift-eng-ocp-qe-perfscale-ci-main__metal-rhoso-selfsched-x86.yaml b/ci-operator/config/openshift-eng/ocp-qe-perfscale-ci/openshift-eng-ocp-qe-perfscale-ci-main__metal-rhoso-selfsched-x86.yaml new file mode 100644 index 0000000000000..08bdfc64bf5b1 --- /dev/null +++ b/ci-operator/config/openshift-eng/ocp-qe-perfscale-ci/openshift-eng-ocp-qe-perfscale-ci-main__metal-rhoso-selfsched-x86.yaml @@ -0,0 +1,38 @@ +base_images: + cerberus: + name: cerberus + namespace: chaos + tag: cerberus-prow + ocp-qe-perfscale-ci: + name: ocp-qe-perfscale-ci + namespace: ci + tag: latest +build_root: + image_stream_tag: + name: ci-tools-build-root + namespace: ci + tag: latest +releases: + latest: + release: + channel: stable + version: "4.18" +resources: + '*': + requests: + cpu: 100m + memory: 200Mi +tests: +- always_run: false + as: rhoso-self-sched + capabilities: + - intranet + restrict_network_access: false + steps: + cluster_profile: metal-perfscale-osp-selfsched + workflow: openshift-qe-installer-bm-deploy +zz_generated_metadata: + branch: main + org: openshift-eng + repo: ocp-qe-perfscale-ci + variant: metal-rhoso-selfsched-x86 diff --git a/ci-operator/jobs/openshift-eng/ocp-qe-perfscale-ci/openshift-eng-ocp-qe-perfscale-ci-main-presubmits.yaml b/ci-operator/jobs/openshift-eng/ocp-qe-perfscale-ci/openshift-eng-ocp-qe-perfscale-ci-main-presubmits.yaml index eab6783047c36..da0d4d8c2e206 100644 --- a/ci-operator/jobs/openshift-eng/ocp-qe-perfscale-ci/openshift-eng-ocp-qe-perfscale-ci-main-presubmits.yaml +++ b/ci-operator/jobs/openshift-eng/ocp-qe-perfscale-ci/openshift-eng-ocp-qe-perfscale-ci-main-presubmits.yaml @@ -9241,6 +9241,91 @@ presubmits: secret: secretName: result-aggregator trigger: (?m)^/test( | .* )(metal-4.19-nightly-x86-weekly-6nodes|remaining-required),?($|\s.*) + - agent: kubernetes + always_run: false + branches: + - ^main$ + - ^main- + cluster: build11 + context: ci/prow/metal-rhoso-selfsched-x86-rhoso-self-sched + decorate: true + decoration_config: + skip_cloning: true + labels: + capability/intranet: intranet + ci-operator.openshift.io/cloud: metal-perfscale-osp-selfsched + ci-operator.openshift.io/cloud-cluster-profile: metal-perfscale-osp-selfsched + ci-operator.openshift.io/variant: metal-rhoso-selfsched-x86 + ci.openshift.io/generator: prowgen + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-rhoso-selfsched-x86-rhoso-self-sched + rerun_command: /test metal-rhoso-selfsched-x86-rhoso-self-sched + 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=rhoso-self-sched + - --variant=metal-rhoso-selfsched-x86 + 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 + trigger: (?m)^/test( | .* )(metal-rhoso-selfsched-x86-rhoso-self-sched|remaining-required),?($|\s.*) - agent: kubernetes always_run: false branches: