From: David Galloway Date: Wed, 8 Dec 2021 17:40:17 +0000 (-0500) Subject: ceph-pull-requests-arm64: Skip make check on doc-only change X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1939%2Fhead;p=ceph-build.git ceph-pull-requests-arm64: Skip make check on doc-only change Signed-off-by: David Galloway --- diff --git a/ceph-pull-requests-arm64/build/build b/ceph-pull-requests-arm64/build/build index 315fc2baf..dcb606afb 100644 --- a/ceph-pull-requests-arm64/build/build +++ b/ceph-pull-requests-arm64/build/build @@ -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}" diff --git a/ceph-pull-requests-arm64/config/definitions/ceph-pull-requests-arm64.yml b/ceph-pull-requests-arm64/config/definitions/ceph-pull-requests-arm64.yml index 3c71f13f1..55f5e7547 100644 --- a/ceph-pull-requests-arm64/config/definitions/ceph-pull-requests-arm64.yml +++ b/ceph-pull-requests-arm64/config/definitions/ceph-pull-requests-arm64.yml @@ -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