From 521673f4d14ef4c4f83fdb82a759f878b8416b22 Mon Sep 17 00:00:00 2001 From: John Collier Date: Fri, 26 Jun 2026 16:47:59 -0400 Subject: [PATCH 1/5] Add redhat-ai-dev/rhess jobs on aws-devflie profile Signed-off-by: John Collier --- ci-operator/config/redhat-ai-dev/rhess/OWNERS | 5 + .../rhess/redhat-ai-dev-rhess-main.yaml | 59 ++++++++ .../redhat-ai-dev-rhess-main-presubmits.yaml | 128 ++++++++++++++++++ 3 files changed, 192 insertions(+) create mode 100644 ci-operator/config/redhat-ai-dev/rhess/OWNERS create mode 100644 ci-operator/config/redhat-ai-dev/rhess/redhat-ai-dev-rhess-main.yaml create mode 100644 ci-operator/jobs/redhat-ai-dev/rhess/redhat-ai-dev-rhess-main-presubmits.yaml diff --git a/ci-operator/config/redhat-ai-dev/rhess/OWNERS b/ci-operator/config/redhat-ai-dev/rhess/OWNERS new file mode 100644 index 0000000000000..a78ddd574881e --- /dev/null +++ b/ci-operator/config/redhat-ai-dev/rhess/OWNERS @@ -0,0 +1,5 @@ +approvers: +- johnmcollier +options: {} +reviewers: +- johnmcollier diff --git a/ci-operator/config/redhat-ai-dev/rhess/redhat-ai-dev-rhess-main.yaml b/ci-operator/config/redhat-ai-dev/rhess/redhat-ai-dev-rhess-main.yaml new file mode 100644 index 0000000000000..41d8b1bdd7de5 --- /dev/null +++ b/ci-operator/config/redhat-ai-dev/rhess/redhat-ai-dev-rhess-main.yaml @@ -0,0 +1,59 @@ +base_images: + cli: + name: "4.18" + namespace: ocp + tag: cli +build_root: + image_stream_tag: + name: release + namespace: openshift + tag: rhel-9-release-golang-1.24-openshift-4.20 +images: + items: + - dockerfile_path: Dockerfile + to: rhess +releases: + initial: + integration: + name: "4.18" + namespace: ocp + latest: + integration: + include_built_images: true + name: "4.18" + namespace: ocp +resources: + '*': + limits: + memory: 4Gi + requests: + cpu: 100m + memory: 200Mi +tests: +- as: rhess-e2e + optional: true + steps: + cluster_profile: aws-devfile + env: + BASE_DOMAIN: devfile-ci.com + test: + - as: rhess-e2e-steps + commands: | + export PATH=$PATH:/tmp/bin + mkdir /tmp/bin + curl -L --fail https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/candidate-4.18/openshift-client-linux.tar.gz | tar xvzf - -C /tmp/bin/ oc + chmod ug+x /tmp/bin/oc + .ci/openshift_e2e.sh + dependencies: + - env: RHESS_IMAGE + name: rhess + from: src + resources: + requests: + cpu: 100m + memory: 200Mi + workflow: ipi-aws +zz_generated_metadata: + branch: main + org: redhat-ai-dev + repo: rhess diff --git a/ci-operator/jobs/redhat-ai-dev/rhess/redhat-ai-dev-rhess-main-presubmits.yaml b/ci-operator/jobs/redhat-ai-dev/rhess/redhat-ai-dev-rhess-main-presubmits.yaml new file mode 100644 index 0000000000000..e69c9c53079b7 --- /dev/null +++ b/ci-operator/jobs/redhat-ai-dev/rhess/redhat-ai-dev-rhess-main-presubmits.yaml @@ -0,0 +1,128 @@ +presubmits: + redhat-ai-dev/rhess: + - agent: kubernetes + always_run: true + branches: + - ^main$ + - ^main- + cluster: build05 + context: ci/prow/images + decorate: true + labels: + ci.openshift.io/generator: prowgen + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-redhat-ai-dev-rhess-main-images + rerun_command: /test 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] + 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( | .* )images,?($|\s.*) + - agent: kubernetes + always_run: true + branches: + - ^main$ + - ^main- + cluster: build09 + context: ci/prow/rhess-e2e + decorate: true + labels: + ci-operator.openshift.io/cloud: aws + ci-operator.openshift.io/cloud-cluster-profile: aws-devfile + ci.openshift.io/generator: prowgen + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-redhat-ai-dev-rhess-main-rhess-e2e + optional: true + rerun_command: /test rhess-e2e + 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=rhess-e2e + command: + - ci-operator + image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest + imagePullPolicy: Always + name: "" + 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( | .* )rhess-e2e,?($|\s.*) From fcd766aa936a4d38d0d01c85654266edf42028d1 Mon Sep 17 00:00:00 2001 From: John Collier Date: Fri, 26 Jun 2026 17:24:14 -0400 Subject: [PATCH 2/5] update to 4.20 Signed-off-by: John Collier --- .../redhat-ai-dev/rhess/redhat-ai-dev-rhess-main.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ci-operator/config/redhat-ai-dev/rhess/redhat-ai-dev-rhess-main.yaml b/ci-operator/config/redhat-ai-dev/rhess/redhat-ai-dev-rhess-main.yaml index 41d8b1bdd7de5..ea47a3f93c0c7 100644 --- a/ci-operator/config/redhat-ai-dev/rhess/redhat-ai-dev-rhess-main.yaml +++ b/ci-operator/config/redhat-ai-dev/rhess/redhat-ai-dev-rhess-main.yaml @@ -1,6 +1,6 @@ base_images: cli: - name: "4.18" + name: "4.20" namespace: ocp tag: cli build_root: @@ -15,12 +15,12 @@ images: releases: initial: integration: - name: "4.18" + name: "4.20" namespace: ocp latest: integration: include_built_images: true - name: "4.18" + name: "4.20" namespace: ocp resources: '*': @@ -41,7 +41,7 @@ tests: commands: | export PATH=$PATH:/tmp/bin mkdir /tmp/bin - curl -L --fail https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/candidate-4.18/openshift-client-linux.tar.gz | tar xvzf - -C /tmp/bin/ oc + curl -L --fail https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/candidate-4.20/openshift-client-linux.tar.gz | tar xvzf - -C /tmp/bin/ oc chmod ug+x /tmp/bin/oc .ci/openshift_e2e.sh dependencies: From 85b0145ef5ec5814031206468a20788c1168c49a Mon Sep 17 00:00:00 2001 From: John Collier Date: Fri, 26 Jun 2026 17:58:47 -0400 Subject: [PATCH 3/5] re run make update Signed-off-by: John Collier --- .../rhess/redhat-ai-dev-rhess-main-presubmits.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/ci-operator/jobs/redhat-ai-dev/rhess/redhat-ai-dev-rhess-main-presubmits.yaml b/ci-operator/jobs/redhat-ai-dev/rhess/redhat-ai-dev-rhess-main-presubmits.yaml index e69c9c53079b7..e6f10bf50041e 100644 --- a/ci-operator/jobs/redhat-ai-dev/rhess/redhat-ai-dev-rhess-main-presubmits.yaml +++ b/ci-operator/jobs/redhat-ai-dev/rhess/redhat-ai-dev-rhess-main-presubmits.yaml @@ -8,6 +8,9 @@ presubmits: cluster: build05 context: ci/prow/images decorate: true + decoration_config: + sparse_checkout_files: + - Dockerfile labels: ci.openshift.io/generator: prowgen pj-rehearse.openshift.io/can-be-rehearsed: "true" @@ -61,6 +64,9 @@ presubmits: cluster: build09 context: ci/prow/rhess-e2e decorate: true + decoration_config: + sparse_checkout_files: + - Dockerfile labels: ci-operator.openshift.io/cloud: aws ci-operator.openshift.io/cloud-cluster-profile: aws-devfile @@ -80,9 +86,17 @@ presubmits: - --target=rhess-e2e 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 From 0ba2bfdc20407fbf13cec42836be062ffa2faab1 Mon Sep 17 00:00:00 2001 From: John Collier Date: Fri, 26 Jun 2026 18:27:21 -0400 Subject: [PATCH 4/5] Add owners Signed-off-by: John Collier --- ci-operator/jobs/redhat-ai-dev/rhess/OWNERS | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 ci-operator/jobs/redhat-ai-dev/rhess/OWNERS diff --git a/ci-operator/jobs/redhat-ai-dev/rhess/OWNERS b/ci-operator/jobs/redhat-ai-dev/rhess/OWNERS new file mode 100644 index 0000000000000..a78ddd574881e --- /dev/null +++ b/ci-operator/jobs/redhat-ai-dev/rhess/OWNERS @@ -0,0 +1,5 @@ +approvers: +- johnmcollier +options: {} +reviewers: +- johnmcollier From b66b23941eb638bf2851d3f54d56001dfefc002c Mon Sep 17 00:00:00 2001 From: John Collier Date: Fri, 26 Jun 2026 18:41:35 -0400 Subject: [PATCH 5/5] Enable trigger Signed-off-by: John Collier --- .../redhat-ai-dev/rhess/_pluginconfig.yaml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 core-services/prow/02_config/redhat-ai-dev/rhess/_pluginconfig.yaml diff --git a/core-services/prow/02_config/redhat-ai-dev/rhess/_pluginconfig.yaml b/core-services/prow/02_config/redhat-ai-dev/rhess/_pluginconfig.yaml new file mode 100644 index 0000000000000..ff1f80db1e9b0 --- /dev/null +++ b/core-services/prow/02_config/redhat-ai-dev/rhess/_pluginconfig.yaml @@ -0,0 +1,31 @@ +approve: +- commandHelpLink: https://go.k8s.io/bot-commands + repos: + - redhat-ai-dev/rhess + require_self_approval: false +lgtm: +- repos: + - redhat-ai-dev/rhess + review_acts_as_lgtm: true +plugins: + redhat-ai-dev/rhess: + plugins: + - approve + - assign + - blunderbuss + - help + - hold + - label + - lgtm + - lifecycle + - override + - retitle + - skip + - trigger + - verify-owners + - wip +triggers: +- repos: + - redhat-ai-dev/rhess + trusted_apps: + - openshift-merge-bot