diff --git a/ci-operator/config/openshift-kni/ai-sandbox/OWNERS b/ci-operator/config/openshift-kni/ai-sandbox/OWNERS new file mode 100644 index 0000000000000..83dcef649072c --- /dev/null +++ b/ci-operator/config/openshift-kni/ai-sandbox/OWNERS @@ -0,0 +1,19 @@ +# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools. +# Fetched from https://github.com/openshift-kni/telco-reference 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 + +filters: + .*: + approvers: + - imiller0 + - abraham2512 + - pixelsoccupied + - Tal-or + reviewers: + - imiller0 + - abraham2512 + - pixelsoccupied + - Tal-or +options: {} diff --git a/ci-operator/config/openshift-kni/ai-sandbox/openshift-kni-ai-sandbox-main.yaml b/ci-operator/config/openshift-kni/ai-sandbox/openshift-kni-ai-sandbox-main.yaml new file mode 100644 index 0000000000000..7aa6d27e56df7 --- /dev/null +++ b/ci-operator/config/openshift-kni/ai-sandbox/openshift-kni-ai-sandbox-main.yaml @@ -0,0 +1,21 @@ +build_root: + image_stream_tag: + name: release + namespace: openshift + tag: golang-1.24 +resources: + '*': + limits: + memory: 4Gi + requests: + cpu: 100m + memory: 200Mi +tests: +- as: test-ci + commands: test-ci + container: + from: src +zz_generated_metadata: + branch: main + org: openshift-kni + repo: ai-sandbox diff --git a/ci-operator/jobs/openshift-kni/ai-sandbox/OWNERS b/ci-operator/jobs/openshift-kni/ai-sandbox/OWNERS new file mode 100644 index 0000000000000..83dcef649072c --- /dev/null +++ b/ci-operator/jobs/openshift-kni/ai-sandbox/OWNERS @@ -0,0 +1,19 @@ +# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools. +# Fetched from https://github.com/openshift-kni/telco-reference 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 + +filters: + .*: + approvers: + - imiller0 + - abraham2512 + - pixelsoccupied + - Tal-or + reviewers: + - imiller0 + - abraham2512 + - pixelsoccupied + - Tal-or +options: {} diff --git a/ci-operator/jobs/openshift-kni/ai-sandbox/openshift-kni-ai-sandbox-main-presubmits.yaml b/ci-operator/jobs/openshift-kni/ai-sandbox/openshift-kni-ai-sandbox-main-presubmits.yaml new file mode 100644 index 0000000000000..a6bd02173ef8c --- /dev/null +++ b/ci-operator/jobs/openshift-kni/ai-sandbox/openshift-kni-ai-sandbox-main-presubmits.yaml @@ -0,0 +1,65 @@ +presubmits: + openshift-kni/ai-sandbox: + - agent: kubernetes + always_run: true + branches: + - ^main$ + - ^main- + cluster: build01 + context: ci/prow/test-ci + 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-kni-ai-sandbox-main-test-ci + rerun_command: /test test-ci + 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=test-ci + 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( | .* )test-ci,?($|\s.*) diff --git a/core-services/prow/02_config/openshift-kni/ai-sandbox/_pluginconfig.yaml b/core-services/prow/02_config/openshift-kni/ai-sandbox/_pluginconfig.yaml new file mode 100644 index 0000000000000..923ccef6ae76b --- /dev/null +++ b/core-services/prow/02_config/openshift-kni/ai-sandbox/_pluginconfig.yaml @@ -0,0 +1,76 @@ +approve: +- commandHelpLink: "" + repos: + - openshift-kni/ai-sandbox + require_self_approval: false +external_plugins: + openshift-kni/ai-sandbox: + - 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 + 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 +lgtm: +- repos: + - openshift-kni/ai-sandbox + review_acts_as_lgtm: true +plugins: + openshift-kni/ai-sandbox: + 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 diff --git a/core-services/prow/02_config/openshift-kni/ai-sandbox/_prowconfig.yaml b/core-services/prow/02_config/openshift-kni/ai-sandbox/_prowconfig.yaml new file mode 100644 index 0000000000000..50a462eb8eef2 --- /dev/null +++ b/core-services/prow/02_config/openshift-kni/ai-sandbox/_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-kni/ai-sandbox