[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] gitlab: aggressively avoid extra GIT data
From: |
Manos Pitsidianakis |
Subject: |
Re: [PATCH v2] gitlab: aggressively avoid extra GIT data |
Date: |
Thu, 14 Mar 2024 14:29:34 +0200 |
On Tue, 12 Mar 2024 at 19:09, Alex Bennée <alex.bennee@linaro.org> wrote:
>
> This avoids fetching blobs and tree references for branches we are not
> going to worry about. Also skip tag references which are similarly not
> useful and keep the default --prune. This keeps the .git data to
> around 100M rather than the ~400M even a shallow clone takes.
>
> So we can check the savings we also run a quick du while setting up
> the build.
>
> We also have to have special settings of GIT_FETCH_EXTRA_FLAGS for the
> Windows build, the migration legacy test and the custom runners. In
> the case of the custom runners we also move the free floating variable
> to the runner template.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>
> ---
> v2
> - make custom runners follow the legacy options
> ---
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>