From e62bf6a910f398ed544c4df95c4c12e993af754e Mon Sep 17 00:00:00 2001 From: Max Cao Date: Wed, 13 May 2026 10:27:21 -0700 Subject: [PATCH] Add AutoNode multi-arch periodic Also adjust autonode presubmit to include all Karpenter tests, multi-arch, remove TP. Signed-off-by: Max Cao --- .../hypershift/openshift-hypershift-main.yaml | 23 +++-- ...ft-hypershift-release-4.22__periodics.yaml | 14 ++++ ...ft-hypershift-release-4.23__periodics.yaml | 13 +++ ...ift-hypershift-release-5.0__periodics.yaml | 13 +++ ...ift-hypershift-release-4.22-periodics.yaml | 83 +++++++++++++++++++ ...ift-hypershift-release-4.23-periodics.yaml | 83 +++++++++++++++++++ ...hift-hypershift-release-5.0-periodics.yaml | 83 +++++++++++++++++++ 7 files changed, 306 insertions(+), 6 deletions(-) diff --git a/ci-operator/config/openshift/hypershift/openshift-hypershift-main.yaml b/ci-operator/config/openshift/hypershift/openshift-hypershift-main.yaml index 820c6c1e1e5ec..dc18ca2964af5 100644 --- a/ci-operator/config/openshift/hypershift/openshift-hypershift-main.yaml +++ b/ci-operator/config/openshift/hypershift/openshift-hypershift-main.yaml @@ -122,6 +122,19 @@ releases: product: ocp stream: ci version: "4.19" + multi-initial: + candidate: + architecture: multi + product: ocp + relative: 1 + stream: nightly + version: "5.0" + multi-latest: + candidate: + architecture: multi + product: ocp + stream: nightly + version: "5.0" resources: '*': limits: @@ -484,15 +497,13 @@ tests: steps: cluster_profile: hypershift-aws dependencies: - OCP_IMAGE_N1: release:n1minor - OCP_IMAGE_N2: release:n2minor - OCP_IMAGE_N3: release:n3minor - OCP_IMAGE_N4: release:n4minor + OCP_IMAGE_LATEST: release:multi-latest + OCP_IMAGE_PREVIOUS: release:multi-initial env: - CI_TESTS_RUN: ^TestKarpenter$ + AWS_MULTI_ARCH: "true" + CI_TESTS_RUN: ^TestKarpenter ENABLE_HYPERSHIFT_CERT_ROTATION_SCALE: "true" REQUEST_SERVING_COMPONENT_TEST: "true" - TECH_PREVIEW_NO_UPGRADE: "true" workflow: hypershift-aws-e2e-nested - as: verify-deps steps: diff --git a/ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.22__periodics.yaml b/ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.22__periodics.yaml index 9985db9ceddd8..86e8f9f7b3ae2 100644 --- a/ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.22__periodics.yaml +++ b/ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.22__periodics.yaml @@ -89,6 +89,20 @@ resources: cpu: 100m memory: 200Mi tests: +- as: e2e-aws-autonode + cron: 0 */12 * * * + steps: + cluster_profile: hypershift-aws + dependencies: + OCP_IMAGE_LATEST: release:multi-latest + OCP_IMAGE_PREVIOUS: release:multi-initial + env: + AWS_MULTI_ARCH: "true" + CI_TESTS_RUN: ^TestKarpenter + ENABLE_HYPERSHIFT_CERT_ROTATION_SCALE: "true" + REQUEST_SERVING_COMPONENT_TEST: "true" + TECH_PREVIEW_NO_UPGRADE: "true" + workflow: hypershift-aws-e2e-nested - as: e2e-aws-multi cron: 0 2 * * * steps: diff --git a/ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.23__periodics.yaml b/ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.23__periodics.yaml index 894a2d7c8e145..f1a945df6a50a 100644 --- a/ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.23__periodics.yaml +++ b/ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.23__periodics.yaml @@ -89,6 +89,19 @@ resources: cpu: 100m memory: 200Mi tests: +- as: e2e-aws-autonode + cron: 0 */12 * * * + steps: + cluster_profile: hypershift-aws + dependencies: + OCP_IMAGE_LATEST: release:multi-latest + OCP_IMAGE_PREVIOUS: release:multi-initial + env: + AWS_MULTI_ARCH: "true" + CI_TESTS_RUN: ^TestKarpenter + ENABLE_HYPERSHIFT_CERT_ROTATION_SCALE: "true" + REQUEST_SERVING_COMPONENT_TEST: "true" + workflow: hypershift-aws-e2e-nested - as: e2e-aws-multi cron: 0 2 * * * steps: diff --git a/ci-operator/config/openshift/hypershift/openshift-hypershift-release-5.0__periodics.yaml b/ci-operator/config/openshift/hypershift/openshift-hypershift-release-5.0__periodics.yaml index 2de9203224688..17abc46c99868 100644 --- a/ci-operator/config/openshift/hypershift/openshift-hypershift-release-5.0__periodics.yaml +++ b/ci-operator/config/openshift/hypershift/openshift-hypershift-release-5.0__periodics.yaml @@ -89,6 +89,19 @@ resources: cpu: 100m memory: 200Mi tests: +- as: e2e-aws-autonode + cron: 0 */12 * * * + steps: + cluster_profile: hypershift-aws + dependencies: + OCP_IMAGE_LATEST: release:multi-latest + OCP_IMAGE_PREVIOUS: release:multi-initial + env: + AWS_MULTI_ARCH: "true" + CI_TESTS_RUN: ^TestKarpenter + ENABLE_HYPERSHIFT_CERT_ROTATION_SCALE: "true" + REQUEST_SERVING_COMPONENT_TEST: "true" + workflow: hypershift-aws-e2e-nested - as: e2e-aws-multi cron: 0 2 * * * steps: diff --git a/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.22-periodics.yaml b/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.22-periodics.yaml index cfef921768c40..b28f1b32784a0 100644 --- a/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.22-periodics.yaml +++ b/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.22-periodics.yaml @@ -339,6 +339,89 @@ periodics: - name: result-aggregator secret: secretName: result-aggregator +- agent: kubernetes + cluster: build01 + cron: 0 */12 * * * + decorate: true + decoration_config: + skip_cloning: true + extra_refs: + - base_ref: release-4.22 + org: openshift + repo: hypershift + labels: + ci-operator.openshift.io/cloud: hypershift-aws + ci-operator.openshift.io/cloud-cluster-profile: hypershift-aws + ci-operator.openshift.io/variant: periodics + ci.openshift.io/generator: prowgen + job-release: "4.22" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: periodic-ci-openshift-hypershift-release-4.22-periodics-e2e-aws-autonode + 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-aws-autonode + - --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 - agent: kubernetes cluster: build01 decorate: true diff --git a/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.23-periodics.yaml b/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.23-periodics.yaml index f433278fe9a47..f671451980e35 100644 --- a/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.23-periodics.yaml +++ b/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.23-periodics.yaml @@ -165,6 +165,89 @@ periodics: - name: result-aggregator secret: secretName: result-aggregator +- agent: kubernetes + cluster: build07 + cron: 0 */12 * * * + decorate: true + decoration_config: + skip_cloning: true + extra_refs: + - base_ref: release-4.23 + org: openshift + repo: hypershift + labels: + ci-operator.openshift.io/cloud: hypershift-aws + ci-operator.openshift.io/cloud-cluster-profile: hypershift-aws + ci-operator.openshift.io/variant: periodics + ci.openshift.io/generator: prowgen + job-release: "4.23" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: periodic-ci-openshift-hypershift-release-4.23-periodics-e2e-aws-autonode + 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-aws-autonode + - --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 - agent: kubernetes cluster: build07 decorate: true diff --git a/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-5.0-periodics.yaml b/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-5.0-periodics.yaml index e85e7aab8d431..8ada5c74edd7c 100644 --- a/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-5.0-periodics.yaml +++ b/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-5.0-periodics.yaml @@ -165,6 +165,89 @@ periodics: - name: result-aggregator secret: secretName: result-aggregator +- agent: kubernetes + cluster: build07 + cron: 0 */12 * * * + decorate: true + decoration_config: + skip_cloning: true + extra_refs: + - base_ref: release-5.0 + org: openshift + repo: hypershift + labels: + ci-operator.openshift.io/cloud: hypershift-aws + ci-operator.openshift.io/cloud-cluster-profile: hypershift-aws + ci-operator.openshift.io/variant: periodics + ci.openshift.io/generator: prowgen + job-release: "5.0" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: periodic-ci-openshift-hypershift-release-5.0-periodics-e2e-aws-autonode + 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-aws-autonode + - --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 - agent: kubernetes cluster: build07 decorate: true