From 616ca8379901ba60e54e1aaf765e2e3b04d909d0 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Wed, 12 Jun 2024 17:28:23 +0200 Subject: [PATCH] Cirrus: Increase clone depth This would fail the FreeBSD tests whenever we merge or push multiple times in quick succession. Basically: - Commits up to ABCDEF are pushed, which triggers a CI run - Cirrus starts up, but takes a while - it knows to use commit ABCDEF - More commits are pushed up to 123456 - Cirrus does a shallow clone, only has 123456 - Cirrus tries to check out ABCDEF, but doesn't know it - instant failure Instead, let's use 100 commits, which should be enough --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 9b703cf47..be3c96dd3 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,5 +1,5 @@ env: - CIRRUS_CLONE_DEPTH: 1 + CIRRUS_CLONE_DEPTH: 100 CI: 1 linux_task: