Skip to content

Commit

Permalink
ci: add initial support for peribolos jobs
Browse files Browse the repository at this point in the history
Signed-off-by: Massimiliano Giovagnoli <[email protected]>
  • Loading branch information
maxgio92 committed Sep 8, 2022
1 parent 33f9f7a commit 1a7ae00
Showing 1 changed file with 111 additions and 0 deletions.
111 changes: 111 additions & 0 deletions .prow/peribolos.yaml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 1a7ae00

Please sign in to comment.