From 74290687dac8d0106615daff94883bdb4ec7b1ec Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 2 Oct 2019 12:00:51 +0800 Subject: [PATCH] ceph-*/config: add "shalow-clone: true" for faster git clone Signed-off-by: Kefu Chai --- .../config/definitions/ceph-dashboard-pr-backend.yml | 1 + .../config/definitions/ceph-dashboard-pull-requests.yml | 1 + ceph-pr-arm-trigger/config/definitions/ceph-pr-arm-trigger.yml | 1 + ceph-pr-docs/config/definitions/ceph-pr-docs.yml | 1 + ceph-pr-submodules/config/definitions/ceph-pr-commits.yml | 1 + ceph-pull-requests/config/definitions/ceph-pull-requests.yml | 1 + 6 files changed, 6 insertions(+) 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 2da15cc13..65c263dd4 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 73a93b6e3..75c8b716b 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 8487aea09..bbea12bc7 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 a2fcda225..c37cb13f7 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 7769ad74a..78f2c30c6 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 68237b667..163800da5 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 -- 2.47.3