diff --git a/ci-operator/config/openshift-hyperfleet/hyperfleet-logger/OWNERS b/ci-operator/config/openshift-hyperfleet/hyperfleet-logger/OWNERS new file mode 100644 index 0000000000000..ef8dfbaf391f6 --- /dev/null +++ b/ci-operator/config/openshift-hyperfleet/hyperfleet-logger/OWNERS @@ -0,0 +1,33 @@ +# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools. +# Fetched from https://github.com/openshift-hyperfleet/hyperfleet-logger root OWNERS +# If the repo had OWNERS_ALIASES then the aliases were expanded +# Logins who are not members of 'openshift' organization were filtered out +# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md + +approvers: +- aredenba-rh +- ciaranroche +- crizzo71 +- kuudori +- ma-hill +- mischulee +- rafabene +- rh-amarin +- ruclo +- sherine-k +- tirthct +- vkareh +options: {} +reviewers: +- aredenba-rh +- ciaranroche +- crizzo71 +- kuudori +- ma-hill +- mischulee +- rafabene +- rh-amarin +- ruclo +- sherine-k +- tirthct +- vkareh diff --git a/ci-operator/config/openshift-hyperfleet/hyperfleet-logger/openshift-hyperfleet-hyperfleet-logger-main.yaml b/ci-operator/config/openshift-hyperfleet/hyperfleet-logger/openshift-hyperfleet-hyperfleet-logger-main.yaml new file mode 100644 index 0000000000000..3ad638abedccd --- /dev/null +++ b/ci-operator/config/openshift-hyperfleet/hyperfleet-logger/openshift-hyperfleet-hyperfleet-logger-main.yaml @@ -0,0 +1,31 @@ +build_root: + image_stream_tag: + name: builder + namespace: ocp + tag: rhel-9-golang-1.26-openshift-5.0 +resources: + '*': + limits: + memory: 4Gi + requests: + cpu: 100m + memory: 200Mi +tests: +- as: lint + commands: | + export HOME=/tmp + export GOFLAGS=-mod=readonly + make lint + container: + from: src +- as: unit + commands: | + export HOME=/tmp + export GOFLAGS=-mod=readonly + make test + container: + from: src +zz_generated_metadata: + branch: main + org: openshift-hyperfleet + repo: hyperfleet-logger diff --git a/ci-operator/jobs/openshift-hyperfleet/hyperfleet-logger/OWNERS b/ci-operator/jobs/openshift-hyperfleet/hyperfleet-logger/OWNERS new file mode 100644 index 0000000000000..ef8dfbaf391f6 --- /dev/null +++ b/ci-operator/jobs/openshift-hyperfleet/hyperfleet-logger/OWNERS @@ -0,0 +1,33 @@ +# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools. +# Fetched from https://github.com/openshift-hyperfleet/hyperfleet-logger root OWNERS +# If the repo had OWNERS_ALIASES then the aliases were expanded +# Logins who are not members of 'openshift' organization were filtered out +# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md + +approvers: +- aredenba-rh +- ciaranroche +- crizzo71 +- kuudori +- ma-hill +- mischulee +- rafabene +- rh-amarin +- ruclo +- sherine-k +- tirthct +- vkareh +options: {} +reviewers: +- aredenba-rh +- ciaranroche +- crizzo71 +- kuudori +- ma-hill +- mischulee +- rafabene +- rh-amarin +- ruclo +- sherine-k +- tirthct +- vkareh diff --git a/ci-operator/jobs/openshift-hyperfleet/hyperfleet-logger/openshift-hyperfleet-hyperfleet-logger-main-presubmits.yaml b/ci-operator/jobs/openshift-hyperfleet/hyperfleet-logger/openshift-hyperfleet-hyperfleet-logger-main-presubmits.yaml new file mode 100644 index 0000000000000..248534d61a93e --- /dev/null +++ b/ci-operator/jobs/openshift-hyperfleet/hyperfleet-logger/openshift-hyperfleet-hyperfleet-logger-main-presubmits.yaml @@ -0,0 +1,128 @@ +presubmits: + openshift-hyperfleet/hyperfleet-logger: + - agent: kubernetes + always_run: true + branches: + - ^main$ + - ^main- + cluster: build01 + context: ci/prow/lint + decorate: true + decoration_config: + skip_cloning: true + labels: + ci.openshift.io/generator: prowgen + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-hyperfleet-hyperfleet-logger-main-lint + rerun_command: /test lint + 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=lint + 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( | .* )lint,?($|\s.*) + - agent: kubernetes + always_run: true + branches: + - ^main$ + - ^main- + cluster: build01 + context: ci/prow/unit + decorate: true + decoration_config: + skip_cloning: true + labels: + ci.openshift.io/generator: prowgen + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-hyperfleet-hyperfleet-logger-main-unit + rerun_command: /test unit + 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=unit + 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( | .* )unit,?($|\s.*) diff --git a/core-services/prow/02_config/openshift-hyperfleet/hyperfleet-logger/_pluginconfig.yaml b/core-services/prow/02_config/openshift-hyperfleet/hyperfleet-logger/_pluginconfig.yaml new file mode 100644 index 0000000000000..60496ff0ed686 --- /dev/null +++ b/core-services/prow/02_config/openshift-hyperfleet/hyperfleet-logger/_pluginconfig.yaml @@ -0,0 +1,53 @@ +approve: +- commandHelpLink: https://go.k8s.io/bot-commands + lgtm_acts_as_approve: true + repos: + - openshift-hyperfleet/hyperfleet-logger + require_self_approval: true +external_plugins: + openshift-hyperfleet/hyperfleet-logger: + - endpoint: http://needs-rebase + events: + - issue_comment + - pull_request + name: needs-rebase + - endpoint: http://refresh + events: + - issue_comment + name: refresh +lgtm: +- repos: + - openshift-hyperfleet/hyperfleet-logger + review_acts_as_lgtm: true +plugins: + openshift-hyperfleet/hyperfleet-logger: + plugins: + - assign + - blunderbuss + - cat + - dog + - heart + - golint + - goose + - help + - hold + - label + - lgtm + - lifecycle + - override + - pony + - retitle + - shrug + - sigmention + - skip + - trigger + - verify-owners + - owners-label + - wip + - yuks + - approve +triggers: +- repos: + - openshift-hyperfleet/hyperfleet-logger + trusted_apps: + - openshift-merge-bot diff --git a/core-services/prow/02_config/openshift-hyperfleet/hyperfleet-logger/_prowconfig.yaml b/core-services/prow/02_config/openshift-hyperfleet/hyperfleet-logger/_prowconfig.yaml new file mode 100644 index 0000000000000..2ef7917fd8f98 --- /dev/null +++ b/core-services/prow/02_config/openshift-hyperfleet/hyperfleet-logger/_prowconfig.yaml @@ -0,0 +1,14 @@ +tide: + queries: + - labels: + - approved + - lgtm + 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-hyperfleet/hyperfleet-logger