All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] CirrusCI: Use shallow clone
@ 2025-02-24 15:42 Andrew Cooper
  2025-02-25  0:28 ` Stefano Stabellini
  2025-02-25  8:15 ` Roger Pau Monné
  0 siblings, 2 replies; 4+ messages in thread
From: Andrew Cooper @ 2025-02-24 15:42 UTC (permalink / raw)
  To: Xen-devel
  Cc: Andrew Cooper, Roger Pau Monné, Anthony PERARD,
	Stefano Stabellini, Michal Orzel, Doug Goldstein

This reduces the Clone step from ~50s to ~3s.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
CC: Roger Pau Monné <roger.pau@citrix.com>
CC: Anthony PERARD <anthony.perard@vates.tech>
CC: Stefano Stabellini <sstabellini@kernel.org>
CC: Michal Orzel <michal.orzel@amd.com>
CC: Doug Goldstein <cardoe@cardoe.com>

Example with shallow clone:
  https://cirrus-ci.com/task/4625566281760768

Example without:
  https://cirrus-ci.com/task/5338544140451840
---
 .cirrus.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.cirrus.yml b/.cirrus.yml
index 7216729b6993..e2949d99d73a 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -13,6 +13,7 @@ freebsd_template: &FREEBSD_ENV
   environment:
     APPEND_LIB: /usr/local/lib
     APPEND_INCLUDES: /usr/local/include
+    CIRRUS_CLONE_DEPTH: 1
 
 freebsd_full_build_template: &FREEBSD_FULL_BUILD_TEMPLATE
   << : *FREEBSD_ENV

base-commit: e16acd80674002cbc6b51626e826bd6f9f624a63
-- 
2.39.5



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-02-25 10:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-24 15:42 [PATCH] CirrusCI: Use shallow clone Andrew Cooper
2025-02-25  0:28 ` Stefano Stabellini
2025-02-25  8:15 ` Roger Pau Monné
2025-02-25 10:20   ` Andrew Cooper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.