From 80a840b8ba03bafe299112e2364959d937a87fe1 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 29 Jan 2021 11:22:03 -0500 Subject: [PATCH] Revert "Cirrus-CI: Use the default Git history depth" This reverts commit fcb4797c90f3f62a18b67542ae5b576a1271e6d4. With `CIRRUS_CLONE_DEPTH` unspecified (using the default of 50) the time to clone the repo increased from a little under 2 minutes to over 6 minutes, possibly due to additional processing required by GitHub. We will want to watch out for occasional `Failed to force reset to SHA: object not found!` errors. --- .cirrus.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index ce6f8202a6d8..c577ca8aeca3 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -7,6 +7,9 @@ freebsd_instance: cpu: 8 memory: 24G +env: + CIRRUS_CLONE_DEPTH: 1 + task: timeout_in: 120m install_script: