From 40dd5885d0e96508d98b473e327f95ff33bfab2c Mon Sep 17 00:00:00 2001 From: Eric Fried Date: Mon, 21 Jun 2021 16:18:05 -0500 Subject: [PATCH] cloud-credential-operator: skip_if_only_changed: docs Skip all tests on PRs comprising only docs-ish changes. --- ...-credential-operator-master-presubmits.yaml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/ci-operator/jobs/openshift/cloud-credential-operator/openshift-cloud-credential-operator-master-presubmits.yaml b/ci-operator/jobs/openshift/cloud-credential-operator/openshift-cloud-credential-operator-master-presubmits.yaml index c32ac66e37784..ad6fc01621764 100644 --- a/ci-operator/jobs/openshift/cloud-credential-operator/openshift-cloud-credential-operator-master-presubmits.yaml +++ b/ci-operator/jobs/openshift/cloud-credential-operator/openshift-cloud-credential-operator-master-presubmits.yaml @@ -1,7 +1,7 @@ presubmits: openshift/cloud-credential-operator: - agent: kubernetes - always_run: true + always_run: false branches: - master cluster: build01 @@ -12,6 +12,7 @@ presubmits: pj-rehearse.openshift.io/can-be-rehearsed: "true" name: pull-ci-openshift-cloud-credential-operator-master-e2e-aws rerun_command: /test e2e-aws + skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$ spec: containers: - args: @@ -339,7 +340,7 @@ presubmits: secretName: registry-pull-credentials trigger: (?m)^/test( | .* )e2e-openstack,?($|\s.*) - agent: kubernetes - always_run: true + always_run: false branches: - master cluster: build01 @@ -350,6 +351,7 @@ presubmits: pj-rehearse.openshift.io/can-be-rehearsed: "true" name: pull-ci-openshift-cloud-credential-operator-master-e2e-upgrade rerun_command: /test e2e-upgrade + skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$ spec: containers: - args: @@ -403,7 +405,7 @@ presubmits: secretName: result-aggregator trigger: (?m)^/test( | .* )e2e-upgrade,?($|\s.*) - agent: kubernetes - always_run: true + always_run: false branches: - master cluster: build01 @@ -414,6 +416,7 @@ presubmits: pj-rehearse.openshift.io/can-be-rehearsed: "true" name: pull-ci-openshift-cloud-credential-operator-master-images rerun_command: /test images + skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$ spec: containers: - args: @@ -450,7 +453,7 @@ presubmits: secretName: result-aggregator trigger: (?m)^/test( | .* )images,?($|\s.*) - agent: kubernetes - always_run: true + always_run: false branches: - master cluster: build01 @@ -461,6 +464,7 @@ presubmits: pj-rehearse.openshift.io/can-be-rehearsed: "true" name: pull-ci-openshift-cloud-credential-operator-master-unit rerun_command: /test unit + skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$ spec: containers: - args: @@ -496,7 +500,7 @@ presubmits: secretName: result-aggregator trigger: (?m)^/test( | .* )unit,?($|\s.*) - agent: kubernetes - always_run: true + always_run: false branches: - master cluster: build01 @@ -507,6 +511,7 @@ presubmits: pj-rehearse.openshift.io/can-be-rehearsed: "true" name: pull-ci-openshift-cloud-credential-operator-master-verify rerun_command: /test verify + skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$ spec: containers: - args: @@ -542,7 +547,7 @@ presubmits: secretName: result-aggregator trigger: (?m)^/test( | .* )verify,?($|\s.*) - agent: kubernetes - always_run: true + always_run: false branches: - master cluster: build01 @@ -553,6 +558,7 @@ presubmits: pj-rehearse.openshift.io/can-be-rehearsed: "true" name: pull-ci-openshift-cloud-credential-operator-master-verify-deps rerun_command: /test verify-deps + skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$ spec: containers: - args: