diff --git a/ci-operator/config/osac-project/bare-metal-fulfillment-operator/OWNERS b/ci-operator/config/osac-project/bare-metal-fulfillment-operator/OWNERS new file mode 100644 index 0000000000000..36ac60f1a631a --- /dev/null +++ b/ci-operator/config/osac-project/bare-metal-fulfillment-operator/OWNERS @@ -0,0 +1,8 @@ +approvers: +- adriengentil +- larsks +- carbonin +reviewers: +- adriengentil +- larsks +- carbonin diff --git a/ci-operator/config/osac-project/bare-metal-fulfillment-operator/osac-project-bare-metal-fulfillment-operator-main.yaml b/ci-operator/config/osac-project/bare-metal-fulfillment-operator/osac-project-bare-metal-fulfillment-operator-main.yaml new file mode 100644 index 0000000000000..e187b5848b6bf --- /dev/null +++ b/ci-operator/config/osac-project/bare-metal-fulfillment-operator/osac-project-bare-metal-fulfillment-operator-main.yaml @@ -0,0 +1,27 @@ +build_root: + image_stream_tag: + name: release + namespace: openshift + tag: rhel-9-release-golang-1.24-openshift-4.21 +images: + items: + - dockerfile_path: Containerfile + to: bare-metal-fulfillment-operator +promotion: {} +releases: + latest: + candidate: + product: ocp + stream: nightly + version: "4.20" +resources: + '*': + limits: + memory: 4Gi + requests: + cpu: 100m + memory: 200Mi +zz_generated_metadata: + branch: main + org: osac-project + repo: bare-metal-fulfillment-operator diff --git a/ci-operator/jobs/osac-project/bare-metal-fulfillment-operator/OWNERS b/ci-operator/jobs/osac-project/bare-metal-fulfillment-operator/OWNERS new file mode 100644 index 0000000000000..36ac60f1a631a --- /dev/null +++ b/ci-operator/jobs/osac-project/bare-metal-fulfillment-operator/OWNERS @@ -0,0 +1,8 @@ +approvers: +- adriengentil +- larsks +- carbonin +reviewers: +- adriengentil +- larsks +- carbonin diff --git a/ci-operator/jobs/osac-project/bare-metal-fulfillment-operator/osac-project-bare-metal-fulfillment-operator-main-postsubmits.yaml b/ci-operator/jobs/osac-project/bare-metal-fulfillment-operator/osac-project-bare-metal-fulfillment-operator-main-postsubmits.yaml new file mode 100644 index 0000000000000..c81d4efbfe9f5 --- /dev/null +++ b/ci-operator/jobs/osac-project/bare-metal-fulfillment-operator/osac-project-bare-metal-fulfillment-operator-main-postsubmits.yaml @@ -0,0 +1,64 @@ +postsubmits: + osac-project/bare-metal-fulfillment-operator: + - agent: kubernetes + always_run: true + branches: + - ^main$ + cluster: build01 + decorate: true + decoration_config: + sparse_checkout_files: + - Containerfile + labels: + ci-operator.openshift.io/is-promotion: "true" + ci.openshift.io/generator: prowgen + job-release: "4.20" + max_concurrency: 1 + name: branch-ci-osac-project-bare-metal-fulfillment-operator-main-images + spec: + containers: + - args: + - --gcs-upload-secret=/secrets/gcs/service-account.json + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --image-mirror-push-secret=/etc/push-secret/.dockerconfigjson + - --promote + - --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/push-secret + name: push-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: push-secret + secret: + secretName: registry-push-credentials-ci-central + - name: result-aggregator + secret: + secretName: result-aggregator diff --git a/ci-operator/jobs/osac-project/bare-metal-fulfillment-operator/osac-project-bare-metal-fulfillment-operator-main-presubmits.yaml b/ci-operator/jobs/osac-project/bare-metal-fulfillment-operator/osac-project-bare-metal-fulfillment-operator-main-presubmits.yaml new file mode 100644 index 0000000000000..67fb67ec17304 --- /dev/null +++ b/ci-operator/jobs/osac-project/bare-metal-fulfillment-operator/osac-project-bare-metal-fulfillment-operator-main-presubmits.yaml @@ -0,0 +1,59 @@ +presubmits: + osac-project/bare-metal-fulfillment-operator: + - agent: kubernetes + always_run: true + branches: + - ^main$ + - ^main- + cluster: build01 + context: ci/prow/images + decorate: true + decoration_config: + sparse_checkout_files: + - Containerfile + labels: + ci.openshift.io/generator: prowgen + job-release: "4.20" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-osac-project-bare-metal-fulfillment-operator-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.*) diff --git a/core-services/prow/02_config/osac-project/bare-metal-fulfillment-operator/OWNERS b/core-services/prow/02_config/osac-project/bare-metal-fulfillment-operator/OWNERS new file mode 100644 index 0000000000000..36ac60f1a631a --- /dev/null +++ b/core-services/prow/02_config/osac-project/bare-metal-fulfillment-operator/OWNERS @@ -0,0 +1,8 @@ +approvers: +- adriengentil +- larsks +- carbonin +reviewers: +- adriengentil +- larsks +- carbonin diff --git a/core-services/prow/02_config/osac-project/bare-metal-fulfillment-operator/_pluginconfig.yaml b/core-services/prow/02_config/osac-project/bare-metal-fulfillment-operator/_pluginconfig.yaml new file mode 100644 index 0000000000000..4d31d8f2681a6 --- /dev/null +++ b/core-services/prow/02_config/osac-project/bare-metal-fulfillment-operator/_pluginconfig.yaml @@ -0,0 +1,90 @@ +approve: +- repos: + - osac-project/bare-metal-fulfillment-operator + require_self_approval: false +external_plugins: + osac-project/bare-metal-fulfillment-operator: + - endpoint: http://refresh + events: + - issue_comment + name: refresh + - endpoint: http://cherrypick + events: + - issue_comment + - pull_request + name: cherrypick + - endpoint: http://needs-rebase + events: + - issue_comment + - pull_request + name: needs-rebase + - endpoint: http://backport-verifier + events: + - issue_comment + - pull_request + name: backport-verifier + - endpoint: http://payload-testing-prow-plugin + events: + - issue_comment + name: payload-testing-prow-plugin + - endpoint: http://jira-lifecycle-plugin + events: + - issue_comment + - pull_request + - pull_request_review + name: jira-lifecycle-plugin + - endpoint: http://pipeline-controller + events: + - pull_request + - issue_comment + name: pipeline-controller + - endpoint: http://multi-pr-prow-plugin + events: + - issue_comment + name: multi-pr-prow-plugin + - endpoint: http://ship-hook + events: + - pull_request + - issue_comment + - pull_request_review + name: ship-hook +lgtm: +- repos: + - osac-project/bare-metal-fulfillment-operator + review_acts_as_lgtm: true +plugins: + osac-project/bare-metal-fulfillment-operator: + plugins: + - assign + - blunderbuss + - cat + - dog + - heart + - golint + - goose + - help + - hold + - jira + - label + - lgtm + - lifecycle + - override + - pony + - retitle + - shrug + - sigmention + - skip + - trigger + - verify-owners + - owners-label + - wip + - yuks + - approve +triggers: +- org_invite: + prominent: {} + repos: + - osac-project/bare-metal-fulfillment-operator + trusted_apps: + - openshift-merge-bot + - dependabot diff --git a/core-services/prow/02_config/osac-project/bare-metal-fulfillment-operator/_prowconfig.yaml b/core-services/prow/02_config/osac-project/bare-metal-fulfillment-operator/_prowconfig.yaml new file mode 100644 index 0000000000000..19abe5cf16441 --- /dev/null +++ b/core-services/prow/02_config/osac-project/bare-metal-fulfillment-operator/_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: + - osac-project/bare-metal-fulfillment-operator