]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-pr,api-pr: skip when not needed 1705/head
authorErnesto Puerta <epuertat@redhat.com>
Fri, 13 Nov 2020 19:14:44 +0000 (20:14 +0100)
committerErnesto Puerta <epuertat@redhat.com>
Fri, 13 Nov 2020 19:14:44 +0000 (20:14 +0100)
Skip running make-check and ceph-api tests when the PR only contains
changes in certain dirs (doc/, .github/) or certain extensions (.rst,
.md, .txt). In any case, a Jenkins job can still be manually triggered
(`jenkins test...`).

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
ceph-pr-api/config/definitions/ceph-pr-api.yml
ceph-pull-requests/config/definitions/ceph-pull-requests.yml

index 5712479f112b71e15f84afd5409970fe30b4a64c..da64e54bb33c06a06a77cc9ceaf1ef5a8da5b48d 100644 (file)
           started-status: "running API tests"
           success-status: "ceph API tests succeeded"
           failure-status: "ceph API tests failed"
+          exclude-region:
+            ^.github/
+            ^admin/
+            ^ceph-menv
+            ^doc/
+            ^etc/
+            ^examples/
+            ^fusetrace/
+            ^keys/
+            ^man/
+            ^mirroring/
+            ^selinux/
+            ^share/
+            ^sudoers.d/
+            ^systemd/
+            ^udev/
+            \.rst$
+            \.txt$
+            \.md$
 
     scm:
       - git:
index 1ef21979b924b5d00f4ef8f258a6b8c7f5a3911b..173987057290a47ec99b269e6c5106570eb768cd 100644 (file)
           started-status: "running make check"
           success-status: "make check succeeded"
           failure-status: "make check failed"
+          exclude-region:
+            ^.github/
+            ^admin/
+            ^ceph-menv
+            ^doc/
+            ^etc/
+            ^examples/
+            ^fusetrace/
+            ^keys/
+            ^man/
+            ^mirroring/
+            ^qa/
+            ^selinux/
+            ^share/
+            ^sudoers.d/
+            ^systemd/
+            ^udev/
+            \.rst$
+            \.txt$
+            \.md$
 
     scm:
       - git: