From dd308043769c6b9cc253b472c34e8ef77cdbcea3 Mon Sep 17 00:00:00 2001 From: Kevin Pouget Date: Thu, 9 Apr 2026 22:25:49 +0200 Subject: [PATCH] [openshift-psap/fournos] Add a FORGE test entry for the project --- .../openshift-psap/fournos/.config.prowgen | 2 + .../config/openshift-psap/fournos/OWNERS | 22 ++++++ .../fournos/openshift-psap-fournos-main.yaml | 50 +++++++++++++ .../jobs/openshift-psap/fournos/OWNERS | 15 ++++ ...penshift-psap-fournos-main-presubmits.yaml | 75 +++++++++++++++++++ .../02_config/openshift-psap/fournos/OWNERS | 22 ++++++ .../openshift-psap/fournos/_pluginconfig.yaml | 56 ++++++++++++++ .../openshift-psap/fournos/_prowconfig.yaml | 22 ++++++ 8 files changed, 264 insertions(+) create mode 100644 ci-operator/config/openshift-psap/fournos/.config.prowgen create mode 100644 ci-operator/config/openshift-psap/fournos/OWNERS create mode 100644 ci-operator/config/openshift-psap/fournos/openshift-psap-fournos-main.yaml create mode 100644 ci-operator/jobs/openshift-psap/fournos/OWNERS create mode 100644 ci-operator/jobs/openshift-psap/fournos/openshift-psap-fournos-main-presubmits.yaml create mode 100644 core-services/prow/02_config/openshift-psap/fournos/OWNERS create mode 100644 core-services/prow/02_config/openshift-psap/fournos/_pluginconfig.yaml create mode 100644 core-services/prow/02_config/openshift-psap/fournos/_prowconfig.yaml diff --git a/ci-operator/config/openshift-psap/fournos/.config.prowgen b/ci-operator/config/openshift-psap/fournos/.config.prowgen new file mode 100644 index 0000000000000..23beb2ccb99ca --- /dev/null +++ b/ci-operator/config/openshift-psap/fournos/.config.prowgen @@ -0,0 +1,2 @@ +rehearsals: + disable_all: true diff --git a/ci-operator/config/openshift-psap/fournos/OWNERS b/ci-operator/config/openshift-psap/fournos/OWNERS new file mode 100644 index 0000000000000..3f4e5d32cdc7e --- /dev/null +++ b/ci-operator/config/openshift-psap/fournos/OWNERS @@ -0,0 +1,22 @@ +# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools. +# Fetched from https://github.com/openshift-psap/forge 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: +- albertoperdomo2 +- ashishkamra +- avasilevskii +- kpouget +- mml-coder +- sjmonson +- tosokin +options: {} +reviewers: +- albertoperdomo2 +- ashishkamra +- avasilevskii +- mml-coder +- sjmonson +- tosokin diff --git a/ci-operator/config/openshift-psap/fournos/openshift-psap-fournos-main.yaml b/ci-operator/config/openshift-psap/fournos/openshift-psap-fournos-main.yaml new file mode 100644 index 0000000000000..4dfc66ca6d9fe --- /dev/null +++ b/ci-operator/config/openshift-psap/fournos/openshift-psap-fournos-main.yaml @@ -0,0 +1,50 @@ +base_images: + image_stream_tag: + name: ci-tools-build-root + namespace: ci + tag: latest +resources: + '*': + limits: + cpu: 2000m + requests: + cpu: 500m + memory: 2Gi +tests: +- always_run: false + as: fournos + capabilities: + - intranet + restrict_network_access: false + steps: + allow_skip_on_success: true + test: + - as: fournos + commands: | + export PSAP_FORGE_FOURNOS_CI_SECRET_PATH=/var/run/psap-forge-ci + export PSAP_FORGE_NOTIFICATIONS_SECRET_PATH=/var/run/psap-forge-notifications + + git -C $HOME fetch --quiet origin $PULL_PULL_SHA + git -C $HOME reset --hard FETCH_HEAD + + exec ./bin/run_ci fournos ci submit + credentials: + - mount_path: /var/run/psap-forge-ci + name: psap-forge-ci + namespace: test-credentials + - mount_path: /var/run/psap-forge-notifications + name: psap-forge-notifications + namespace: test-credentials + from_image: + name: forge-light + namespace: ci + tag: latest + resources: + requests: + cpu: 1000m + memory: 500Mi + timeout: 23h0m0s +zz_generated_metadata: + branch: main + org: openshift-psap + repo: fournos diff --git a/ci-operator/jobs/openshift-psap/fournos/OWNERS b/ci-operator/jobs/openshift-psap/fournos/OWNERS new file mode 100644 index 0000000000000..1aed22efab049 --- /dev/null +++ b/ci-operator/jobs/openshift-psap/fournos/OWNERS @@ -0,0 +1,15 @@ +approvers: + - kpouget + - ashishkamra + - albertoperdomo2 + - tosokin + - sjmonson + - avasilevskii + - MML-coder +reviewers: + - ashishkamra + - albertoperdomo2 + - tosokin + - sjmonson + - avasilevskii + - MML-coder diff --git a/ci-operator/jobs/openshift-psap/fournos/openshift-psap-fournos-main-presubmits.yaml b/ci-operator/jobs/openshift-psap/fournos/openshift-psap-fournos-main-presubmits.yaml new file mode 100644 index 0000000000000..e92e171edfce0 --- /dev/null +++ b/ci-operator/jobs/openshift-psap/fournos/openshift-psap-fournos-main-presubmits.yaml @@ -0,0 +1,75 @@ +presubmits: + openshift-psap/fournos: + - agent: kubernetes + always_run: false + branches: + - ^main$ + - ^main- + cluster: build05 + context: ci/prow/fournos + decorate: true + decoration_config: + skip_cloning: true + labels: + capability/intranet: intranet + ci.openshift.io/generator: prowgen + name: pull-ci-openshift-psap-fournos-main-fournos + rerun_command: /test fournos + spec: + containers: + - args: + - --gcs-upload-secret=/secrets/gcs/service-account.json + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --lease-server-credentials-file=/etc/boskos/credentials + - --report-credentials-file=/etc/report/credentials + - --target=fournos + 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: /etc/boskos + name: boskos + readOnly: true + - 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: boskos + secret: + items: + - key: credentials + path: credentials + secretName: boskos-credentials + - 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( | .* )(fournos|remaining-required),?($|\s.*) diff --git a/core-services/prow/02_config/openshift-psap/fournos/OWNERS b/core-services/prow/02_config/openshift-psap/fournos/OWNERS new file mode 100644 index 0000000000000..3f4e5d32cdc7e --- /dev/null +++ b/core-services/prow/02_config/openshift-psap/fournos/OWNERS @@ -0,0 +1,22 @@ +# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools. +# Fetched from https://github.com/openshift-psap/forge 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: +- albertoperdomo2 +- ashishkamra +- avasilevskii +- kpouget +- mml-coder +- sjmonson +- tosokin +options: {} +reviewers: +- albertoperdomo2 +- ashishkamra +- avasilevskii +- mml-coder +- sjmonson +- tosokin diff --git a/core-services/prow/02_config/openshift-psap/fournos/_pluginconfig.yaml b/core-services/prow/02_config/openshift-psap/fournos/_pluginconfig.yaml new file mode 100644 index 0000000000000..02463a985b7da --- /dev/null +++ b/core-services/prow/02_config/openshift-psap/fournos/_pluginconfig.yaml @@ -0,0 +1,56 @@ +approve: +- commandHelpLink: https://go.k8s.io/bot-commands + repos: + - openshift-psap/fournos + require_self_approval: true +external_plugins: + openshift-psap/fournos: + - endpoint: http://refresh + events: + - issue_comment + name: refresh + - endpoint: http://cherrypick + events: + - issue_comment + - pull_request + name: cherrypick + - endpoint: http://needs-rebase + events: + - pull_request + name: needs-rebase + - endpoint: http://jira-lifecycle-plugin + events: + - issue_comment + - pull_request + name: jira-lifecycle-plugin +plugins: + openshift-psap/fournos: + plugins: + - approve + - assign + - cat + - dog + - heart + - golint + - goose + - help + - hold + - label + - lgtm + - lifecycle + - override + - owners-label + - pony + - retitle + - shrug + - sigmention + - skip + - trigger + - verify-owners + - wip + - yuks +triggers: +- repos: + - openshift-psap/fournos + trusted_apps: + - openshift-merge-bot diff --git a/core-services/prow/02_config/openshift-psap/fournos/_prowconfig.yaml b/core-services/prow/02_config/openshift-psap/fournos/_prowconfig.yaml new file mode 100644 index 0000000000000..43a88d8e507d2 --- /dev/null +++ b/core-services/prow/02_config/openshift-psap/fournos/_prowconfig.yaml @@ -0,0 +1,22 @@ +branch-protection: + orgs: + openshift-psap: + repos: + fournos: + unmanaged: true +tide: + merge_method: + openshift-psap/fournos: merge + 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-psap/fournos