From: Kefu Chai Date: Wed, 2 Oct 2019 04:00:51 +0000 (+0800) Subject: ceph-*/config: add "shalow-clone: true" X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1395%2Fhead;p=ceph-build.git ceph-*/config: add "shalow-clone: true" for faster git clone Signed-off-by: Kefu Chai --- diff --git a/ceph-dashboard-pr-backend/config/definitions/ceph-dashboard-pr-backend.yml b/ceph-dashboard-pr-backend/config/definitions/ceph-dashboard-pr-backend.yml index 2da15cc1..65c263dd 100644 --- a/ceph-dashboard-pr-backend/config/definitions/ceph-dashboard-pr-backend.yml +++ b/ceph-dashboard-pr-backend/config/definitions/ceph-dashboard-pr-backend.yml @@ -53,6 +53,7 @@ browser: auto timeout: 20 skip-tag: true + shallow-clone: true wipe-workspace: true builders: diff --git a/ceph-dashboard-pull-requests/config/definitions/ceph-dashboard-pull-requests.yml b/ceph-dashboard-pull-requests/config/definitions/ceph-dashboard-pull-requests.yml index 73a93b6e..75c8b716 100644 --- a/ceph-dashboard-pull-requests/config/definitions/ceph-dashboard-pull-requests.yml +++ b/ceph-dashboard-pull-requests/config/definitions/ceph-dashboard-pull-requests.yml @@ -54,6 +54,7 @@ browser: auto timeout: 20 skip-tag: true + shallow-clone: true wipe-workspace: true builders: diff --git a/ceph-pr-arm-trigger/config/definitions/ceph-pr-arm-trigger.yml b/ceph-pr-arm-trigger/config/definitions/ceph-pr-arm-trigger.yml index 8487aea0..bbea12bc 100644 --- a/ceph-pr-arm-trigger/config/definitions/ceph-pr-arm-trigger.yml +++ b/ceph-pr-arm-trigger/config/definitions/ceph-pr-arm-trigger.yml @@ -38,6 +38,7 @@ url: https://github.com/ceph/ceph browser: auto skip-tag: true + shallow-clone: true timeout: 20 wipe-workspace: true diff --git a/ceph-pr-docs/config/definitions/ceph-pr-docs.yml b/ceph-pr-docs/config/definitions/ceph-pr-docs.yml index a2fcda22..c37cb13f 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 + shallow-clone: true honor-refspec: true timeout: 20 wipe-workspace: true diff --git a/ceph-pr-submodules/config/definitions/ceph-pr-commits.yml b/ceph-pr-submodules/config/definitions/ceph-pr-commits.yml index 7769ad74..78f2c30c 100644 --- a/ceph-pr-submodules/config/definitions/ceph-pr-commits.yml +++ b/ceph-pr-submodules/config/definitions/ceph-pr-commits.yml @@ -46,6 +46,7 @@ browser: auto timeout: 20 skip-tag: true + shallow-clone: true wipe-workspace: true builders: diff --git a/ceph-pull-requests/config/definitions/ceph-pull-requests.yml b/ceph-pull-requests/config/definitions/ceph-pull-requests.yml index 68237b66..163800da 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 + shallow-clone: true honor-refspec: true wipe-workspace: true