From 69b16771ae90a87162a81c2702c7a40e80aa7646 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Thu, 28 May 2020 08:18:26 +0200 Subject: [PATCH] ci: do not automatically run jjb-validate on PRs The jjb-validate job is not correct, it does not always return the results of the PR. Prevent triggering the job automatically, and only have it run when someone leaves the '/test ci/centos/jjb-validate' comment. Updates: #1111 Signed-off-by: Niels de Vos --- jobs/jjb-validate.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jobs/jjb-validate.yaml b/jobs/jjb-validate.yaml index 89d48fc37..abe646c18 100644 --- a/jobs/jjb-validate.yaml +++ b/jobs/jjb-validate.yaml @@ -32,7 +32,10 @@ - github-pull-request: status-context: ci/centos/jjb-validate trigger-phrase: '/(re)?test ((all)|(ci/centos/jjb-validate))' - permit-all: true + # FIXME: re-enable permit-all, disable only-trigger-phrase + # See https://github.com/ceph/ceph-csi/issues/1111 + # permit-all: true + only-trigger-phrase: true # TODO: set github-hooks to true when it is configured in GitHub github-hooks: false cron: 'H/5 * * * *'