Skip to content

Commit

Permalink
feat: run prowjob check before prs submission in evolution repo
Browse files Browse the repository at this point in the history
Signed-off-by: Massimiliano Giovagnoli <[email protected]>
  • Loading branch information
maxgio92 committed Sep 6, 2022
1 parent 07d4d87 commit 665ef27
Showing 1 changed file with 34 additions and 17 deletions.
51 changes: 34 additions & 17 deletions config/jobs/check-prow-config/check-prow-config.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,39 @@
presubmits:
falcosecurity/test-infra:
- name: check-prow-config
branches:
- ^master$
decorate: true
skip_report: false
always_run: true
spec:
containers:
- image: gcr.io/k8s-prow/checkconfig:v20220901-5db9cf5fa2
command:
- checkconfig
args:
- --config-path=config/config.yaml
- --job-config-path=config/jobs
- --plugin-config=config/plugins.yaml
nodeSelector:
Archtype: "x86"
- name: check-prow-config
branches:
- ^master$
decorate: true
skip_report: false
always_run: true
spec:
containers:
- image: gcr.io/k8s-prow/checkconfig:v20220901-5db9cf5fa2
command:
- checkconfig
args:
- --config-path=config/config.yaml
- --job-config-path=config/jobs
- --plugin-config=config/plugins.yaml
nodeSelector:
Archtype: "x86"
falcosecurity/evolution:
- name: check-prow-config-evolution
always_run: true
decorate: true
extra_refs:
- org: falcosecurity
repo: test-infra
base_ref: master
spec:
containers:
- image: gcr.io/k8s-prow/checkconfig:v20220901-5db9cf5fa2
command:
- checkconfig
args:
- --plugin-config=../test-infra/config/plugins.yaml
- --config-path=../test-infra/config/config.yaml
- --prow-yaml-repo-name=$(REPO_OWNER)/$(REPO_NAME)
periodics:
- name: check-prow-config-periodic
interval: 1h
Expand Down

0 comments on commit 665ef27

Please sign in to comment.