aboutsummaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2021-01-29 16:22:03 +0000
committerEd Maste <emaste@FreeBSD.org>2021-01-29 16:22:03 +0000
commit80a840b8ba03bafe299112e2364959d937a87fe1 (patch)
treef0de9139f4a5579f2ec8a2e29b3f141fe6bbc559 /.cirrus.yml
parentf17fc5439f517d06ac8976f53354789cde5a7427 (diff)
downloadsrc-80a840b8ba03bafe299112e2364959d937a87fe1.tar.gz
src-80a840b8ba03bafe299112e2364959d937a87fe1.zip
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.
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml3
1 files changed, 3 insertions, 0 deletions
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: