git: 80a840b8ba03 - main - Revert "Cirrus-CI: Use the default Git history depth"
Ed Maste
emaste at FreeBSD.org
Fri Jan 29 16:26:51 UTC 2021
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=80a840b8ba03bafe299112e2364959d937a87fe1
commit 80a840b8ba03bafe299112e2364959d937a87fe1
Author: Ed Maste <emaste at FreeBSD.org>
AuthorDate: 2021-01-29 16:22:03 +0000
Commit: Ed Maste <emaste at FreeBSD.org>
CommitDate: 2021-01-29 16:22:03 +0000
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:
More information about the dev-commits-src-main
mailing list