* [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
* Re: [PATCH] CirrusCI: Use shallow clone
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é
1 sibling, 0 replies; 4+ messages in thread
From: Stefano Stabellini @ 2025-02-25 0:28 UTC (permalink / raw)
To: Andrew Cooper
Cc: Xen-devel, Roger Pau Monné, Anthony PERARD,
Stefano Stabellini, Michal Orzel, Doug Goldstein
[-- Attachment #1: Type: text/plain, Size: 1120 bytes --]
On Mon, 24 Feb 2025, Andrew Cooper wrote:
> This reduces the Clone step from ~50s to ~3s.
>
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
> ---
> 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 [flat|nested] 4+ messages in thread
* Re: [PATCH] CirrusCI: Use shallow clone
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
1 sibling, 1 reply; 4+ messages in thread
From: Roger Pau Monné @ 2025-02-25 8:15 UTC (permalink / raw)
To: Andrew Cooper
Cc: Xen-devel, Anthony PERARD, Stefano Stabellini, Michal Orzel,
Doug Goldstein
On Mon, Feb 24, 2025 at 03:42:36PM +0000, Andrew Cooper wrote:
> This reduces the Clone step from ~50s to ~3s.
>
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Nice, didn't know that existed.
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Thanks, Roger.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] CirrusCI: Use shallow clone
2025-02-25 8:15 ` Roger Pau Monné
@ 2025-02-25 10:20 ` Andrew Cooper
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Cooper @ 2025-02-25 10:20 UTC (permalink / raw)
To: Roger Pau Monné
Cc: Xen-devel, Anthony PERARD, Stefano Stabellini, Michal Orzel,
Doug Goldstein
On 25/02/2025 8:15 am, Roger Pau Monné wrote:
> On Mon, Feb 24, 2025 at 03:42:36PM +0000, Andrew Cooper wrote:
>> This reduces the Clone step from ~50s to ~3s.
>>
>> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
> Nice, didn't know that existed.
>
> Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Thanks. I found it by chance while trying to make artefacts work.
When a randconfig build fails, there's no way to figure out why. And
while I've managed to make artefacts appear on the UI, they're always
empty for reasons I'm still investigating.
~Andrew
^ permalink raw reply [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.