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/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/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 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