From 665ef27a707aef3e928ced4ecad4a97ee9864881 Mon Sep 17 00:00:00 2001 From: Massimiliano Giovagnoli Date: Tue, 6 Sep 2022 13:52:36 +0200 Subject: [PATCH] feat: run prowjob check before prs submission in evolution repo Signed-off-by: Massimiliano Giovagnoli --- .../check-prow-config/check-prow-config.yaml | 51 ++++++++++++------- 1 file changed, 34 insertions(+), 17 deletions(-) diff --git a/config/jobs/check-prow-config/check-prow-config.yaml b/config/jobs/check-prow-config/check-prow-config.yaml index 255f5f3cf0a..da0091d09f7 100644 --- a/config/jobs/check-prow-config/check-prow-config.yaml +++ b/config/jobs/check-prow-config/check-prow-config.yaml @@ -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