From 72ce2c8f9ea33a1e649e9353784e1738a3c09547 Mon Sep 17 00:00:00 2001 From: Massimiliano Giovagnoli Date: Tue, 6 Sep 2022 14:11:24 +0200 Subject: [PATCH] ci: add initial support for peribolos jobs Signed-off-by: Massimiliano Giovagnoli --- .prow/peribolos.yaml | 111 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 .prow/peribolos.yaml diff --git a/.prow/peribolos.yaml b/.prow/peribolos.yaml new file mode 100644 index 00000000..ace07a55 --- /dev/null +++ b/.prow/peribolos.yaml @@ -0,0 +1,111 @@ +presubmits: + falcosecurity/evolution: + - name: peribolos-pre-submit + branches: + - ^master$ + decorate: true + max_concurrency: 1 + skip_report: false + run_if_changed: '^people/org.yaml$|^.prow/peribolos.yaml$' + spec: + containers: + - image: gcr.io/k8s-prow/peribolos:v20220901-5db9cf5fa2 + command: + - peribolos + args: + - --config-path=people/org.yaml + - --fix-org + - --fix-org-members + - --fix-repos + - --fix-teams + - --fix-team-members + - --fix-team-repos + - --github-endpoint=http://ghproxy.default.svc.cluster.local + - --github-endpoint=https://api.github.com + - --github-hourly-tokens=1200 + - --github-token-path=/etc/github-token/oauth + volumeMounts: + - name: github + mountPath: /etc/github-token + volumes: + - name: github + secret: + secretName: oauth-token + nodeSelector: + Archtype: "x86" + +postsubmits: + falcosecurity/evolution: + - name: peribolos-post-submit + branches: + - ^master$ + decorate: true + max_concurrency: 1 + skip_report: false + run_if_changed: '^people/org.yaml$|^.prow/peribolos.yaml$' + spec: + containers: + - image: gcr.io/k8s-prow/peribolos:v20220901-5db9cf5fa2 + command: + - peribolos + args: + - --confirm + - --config-path=people/org.yaml + - --fix-org + - --fix-org-members + - --fix-repos + - --fix-teams + - --fix-team-members + - --fix-team-repos + - --github-endpoint=http://ghproxy.default.svc.cluster.local + - --github-endpoint=https://api.github.com + - --github-hourly-tokens=1200 + - --github-token-path=/etc/github-token/oauth + volumeMounts: + - name: github + mountPath: /etc/github-token + volumes: + - name: github + secret: + secretName: oauth-token + nodeSelector: + Archtype: "x86" + +periodics: + - name: peribolos-periodic + interval: 24h + decorate: true + max_concurrency: 1 + skip_report: false + always_run: true + extra_refs: + - org: falcosecurity + repo: evolution + base_ref: master + spec: + containers: + - image: gcr.io/k8s-prow/peribolos:v20220901-5db9cf5fa2 + command: + - peribolos + args: + - --confirm + - --config-path=people/org.yaml + - --fix-org + - --fix-org-members + - --fix-repos + - --fix-teams + - --fix-team-members + - --fix-team-repos + - --github-endpoint=http://ghproxy.default.svc.cluster.local + - --github-endpoint=https://api.github.com + - --github-hourly-tokens=1200 + - --github-token-path=/etc/github-token/oauth + volumeMounts: + - name: github + mountPath: /etc/github-token + volumes: + - name: github + secret: + secretName: oauth-token + nodeSelector: + Archtype: "x86"