]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-pull-requests-arm64: Skip make check on doc-only change 1939/head
authorDavid Galloway <dgallowa@redhat.com>
Wed, 8 Dec 2021 17:40:17 +0000 (12:40 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 8 Dec 2021 17:40:17 +0000 (12:40 -0500)
Signed-off-by: David Galloway <dgallowa@redhat.com>
ceph-pull-requests-arm64/build/build
ceph-pull-requests-arm64/config/definitions/ceph-pull-requests-arm64.yml

index 315fc2baf4755c18c04481ba330f44a80d4fe222..dcb606afbf2e98b0c2b59a4b9c1b0401358c66eb 100644 (file)
@@ -1,4 +1,11 @@
 #!/bin/bash -ex
+
+docs_pr_only
+if [ "$DOCS_ONLY" = true ]; then
+    echo "Only the doc/ dir changed.  No need to run make check."
+    exit 0
+fi
+
 n_build_jobs=$(get_nr_build_jobs)
 n_test_jobs=$(($(nproc) / 4))
 export CHECK_MAKEOPTS="-j${n_test_jobs}"
index 3c71f13f1f3d9cab76d0bda5c93ee31e6120d3be..55f5e7547a02e65cb5e4d675c46a44ec5344cb6b 100644 (file)
@@ -68,4 +68,9 @@
         failure-status: "make check failed"
         white-list-target-branches:
         - master
-    wrappers: []
+    wrappers:
+      - credentials-binding:
+          - username-password-separated:
+              credential-id: github-readonly-token
+              username: GITHUB_USER
+              password: GITHUB_PASS