aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2024-03-12 17:00:11 +0000
committerAlex Bennée <alex.bennee@linaro.org>2024-03-20 09:52:27 +0000
commit9837697b7f3c5c9e534217e1b691e6b2f40a23ea (patch)
tree967616126ff75ae5ff889e81b88c38133e67b946 /tests
parentc62d54d0a8067ffb3d5b909276f7296d7df33fa7 (diff)
gitlab: aggressively avoid extra GIT data
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. Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20240312170011.1688444-1-alex.bennee@linaro.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions