From: Kefu Chai Date: Fri, 13 Sep 2019 16:07:59 +0000 (+0800) Subject: ceph-*/config/definition: add "honor-refspec: true" X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f1beb18deb6d8e2fdbe11c66840fe974ae278092;p=ceph-build.git ceph-*/config/definition: add "honor-refspec: true" for faster clone Signed-off-by: Kefu Chai --- diff --git a/ceph-pr-docs/config/definitions/ceph-pr-docs.yml b/ceph-pr-docs/config/definitions/ceph-pr-docs.yml index 1cf300a3..a2fcda22 100644 --- a/ceph-pr-docs/config/definitions/ceph-pr-docs.yml +++ b/ceph-pr-docs/config/definitions/ceph-pr-docs.yml @@ -40,6 +40,7 @@ - ${sha1} refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/* skip-tag: true + honor-refspec: true timeout: 20 wipe-workspace: true 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 ce6a4415..37f26426 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 @@ -47,6 +47,7 @@ refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/* skip-tag: true shallow-clone: true + honor-refspec: true timeout: 20 wipe-workspace: true triggers: diff --git a/ceph-pull-requests/config/definitions/ceph-pull-requests.yml b/ceph-pull-requests/config/definitions/ceph-pull-requests.yml index 0fbc7d77..68237b66 100644 --- a/ceph-pull-requests/config/definitions/ceph-pull-requests.yml +++ b/ceph-pull-requests/config/definitions/ceph-pull-requests.yml @@ -50,6 +50,7 @@ browser: auto timeout: 20 skip-tag: true + honor-refspec: true wipe-workspace: true builders: