From 3ae26251f9d5090c12255fc303d1e4714281a9f8 Mon Sep 17 00:00:00 2001 From: David Hurta Date: Fri, 27 Mar 2026 18:01:39 +0100 Subject: [PATCH 1/2] release: Add openshift/cluster-update-console-plugin repository Generated by running `make new-repo` and interactively providing options. Manually added additional required labels: verified and jira/valid-reference For the source image utilize the .ci-operator.yaml file in the respective repository [1]. Modified the config with minor modifications, run `make update`. Introduce a one test with an existing script in the repository. The test-prow-e2e.sh script for an e2e verification requires additional modifications in the plugin repository to be run in CI. Follow-up PRs will introduce more presubmit tests. [1] https://docs.ci.openshift.org/architecture/ci-operator/#build-root-image --- ...ft-cluster-update-console-plugin-main.yaml | 27 ++++++++ ...update-console-plugin-main-presubmits.yaml | 65 +++++++++++++++++++ .../_pluginconfig.yaml | 13 ++++ .../_prowconfig.yaml | 16 +++++ 4 files changed, 121 insertions(+) create mode 100644 ci-operator/config/openshift/cluster-update-console-plugin/openshift-cluster-update-console-plugin-main.yaml create mode 100644 ci-operator/jobs/openshift/cluster-update-console-plugin/openshift-cluster-update-console-plugin-main-presubmits.yaml create mode 100644 core-services/prow/02_config/openshift/cluster-update-console-plugin/_pluginconfig.yaml create mode 100644 core-services/prow/02_config/openshift/cluster-update-console-plugin/_prowconfig.yaml diff --git a/ci-operator/config/openshift/cluster-update-console-plugin/openshift-cluster-update-console-plugin-main.yaml b/ci-operator/config/openshift/cluster-update-console-plugin/openshift-cluster-update-console-plugin-main.yaml new file mode 100644 index 0000000000000..2d4974dfef969 --- /dev/null +++ b/ci-operator/config/openshift/cluster-update-console-plugin/openshift-cluster-update-console-plugin-main.yaml @@ -0,0 +1,27 @@ +build_root: + from_repository: true +releases: + latest: + candidate: + architecture: amd64 + product: ocp + stream: nightly + version: "4.22" +resources: + '*': + limits: + memory: 4Gi + requests: + cpu: 100m + memory: 200Mi +test_binary_build_commands: yarn install --immutable && yarn build +tests: +- as: frontend + commands: ./test-frontend.sh + container: + from: test-bin + skip_if_only_changed: ^(README\.md|OWNERS|LICENSE|AGENTS\.md|CLAUDE\.md|\.gitignore)$ +zz_generated_metadata: + branch: main + org: openshift + repo: cluster-update-console-plugin diff --git a/ci-operator/jobs/openshift/cluster-update-console-plugin/openshift-cluster-update-console-plugin-main-presubmits.yaml b/ci-operator/jobs/openshift/cluster-update-console-plugin/openshift-cluster-update-console-plugin-main-presubmits.yaml new file mode 100644 index 0000000000000..cfa177b5f25a5 --- /dev/null +++ b/ci-operator/jobs/openshift/cluster-update-console-plugin/openshift-cluster-update-console-plugin-main-presubmits.yaml @@ -0,0 +1,65 @@ +presubmits: + openshift/cluster-update-console-plugin: + - agent: kubernetes + always_run: false + branches: + - ^main$ + - ^main- + cluster: build01 + context: ci/prow/frontend + decorate: true + labels: + ci.openshift.io/generator: prowgen + job-release: "4.22" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-cluster-update-console-plugin-main-frontend + rerun_command: /test frontend + skip_if_only_changed: ^(README\.md|OWNERS|LICENSE|AGENTS\.md|CLAUDE\.md|\.gitignore)$ + 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=frontend + 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: /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( | .* )frontend,?($|\s.*) diff --git a/core-services/prow/02_config/openshift/cluster-update-console-plugin/_pluginconfig.yaml b/core-services/prow/02_config/openshift/cluster-update-console-plugin/_pluginconfig.yaml new file mode 100644 index 0000000000000..fe06ffb6ada83 --- /dev/null +++ b/core-services/prow/02_config/openshift/cluster-update-console-plugin/_pluginconfig.yaml @@ -0,0 +1,13 @@ +approve: +- commandHelpLink: "" + repos: + - openshift/cluster-update-console-plugin + require_self_approval: false +lgtm: +- repos: + - openshift/cluster-update-console-plugin + review_acts_as_lgtm: true +plugins: + openshift/cluster-update-console-plugin: + plugins: + - approve diff --git a/core-services/prow/02_config/openshift/cluster-update-console-plugin/_prowconfig.yaml b/core-services/prow/02_config/openshift/cluster-update-console-plugin/_prowconfig.yaml new file mode 100644 index 0000000000000..6ce89181903d1 --- /dev/null +++ b/core-services/prow/02_config/openshift/cluster-update-console-plugin/_prowconfig.yaml @@ -0,0 +1,16 @@ +tide: + queries: + - labels: + - approved + - jira/valid-reference + - lgtm + - verified + missingLabels: + - backports/unvalidated-commits + - do-not-merge/hold + - do-not-merge/invalid-owners-file + - do-not-merge/work-in-progress + - jira/invalid-bug + - needs-rebase + repos: + - openshift/cluster-update-console-plugin From b952f94a4ce8a4e6156e56a2957a3c4ff68b6c94 Mon Sep 17 00:00:00 2001 From: David Hurta Date: Mon, 30 Mar 2026 18:36:01 +0200 Subject: [PATCH 2/2] cluster-update-console-plugin: Add OWNERS files The initial OWNERS files needs to be added manually [1]. > Shortly following the merge of the onboarding PR, the periodic-prow-auto-owners job will sync the OWNERS file from the component repository to the relevant directories. [1] [1] https://docs.ci.openshift.org/how-tos/onboarding-a-new-component/#setting-up-team-ownership-of-ci-operator-and-prow-config-files --- .../openshift/cluster-update-console-plugin/OWNERS | 12 ++++++++++++ .../openshift/cluster-update-console-plugin/OWNERS | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 ci-operator/config/openshift/cluster-update-console-plugin/OWNERS create mode 100644 ci-operator/jobs/openshift/cluster-update-console-plugin/OWNERS diff --git a/ci-operator/config/openshift/cluster-update-console-plugin/OWNERS b/ci-operator/config/openshift/cluster-update-console-plugin/OWNERS new file mode 100644 index 0000000000000..9297ae237bfc0 --- /dev/null +++ b/ci-operator/config/openshift/cluster-update-console-plugin/OWNERS @@ -0,0 +1,12 @@ +approvers: +- davidhurta +- fao89 +- hongkailiu +- pratikmahajan +- wking +options: {} +reviewers: +- davidhurta +- fao89 +- hongkailiu +- wking diff --git a/ci-operator/jobs/openshift/cluster-update-console-plugin/OWNERS b/ci-operator/jobs/openshift/cluster-update-console-plugin/OWNERS new file mode 100644 index 0000000000000..9297ae237bfc0 --- /dev/null +++ b/ci-operator/jobs/openshift/cluster-update-console-plugin/OWNERS @@ -0,0 +1,12 @@ +approvers: +- davidhurta +- fao89 +- hongkailiu +- pratikmahajan +- wking +options: {} +reviewers: +- davidhurta +- fao89 +- hongkailiu +- wking