From bea1b1d63220e8444eae25cec7ac7779638d2600 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Wed, 8 Dec 2021 12:40:17 -0500 Subject: [PATCH] ceph-pull-requests-arm64: Skip make check on doc-only change Signed-off-by: David Galloway --- ceph-pull-requests-arm64/build/build | 7 +++++++ .../config/definitions/ceph-pull-requests-arm64.yml | 7 ++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ceph-pull-requests-arm64/build/build b/ceph-pull-requests-arm64/build/build index 315fc2ba..dcb606af 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 3c71f13f..55f5e754 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 -- 2.39.5