1
0
Fork 0

CI: shallow clone repository and limit depth to 5

The previous commit changed the strategy to 'clone', instead of 'fetch'
as before. While this fixes permission errors, it is also slower, as an
existing checkout of the repository will be ignored. To overcome this,
this commit limits the depth to 5.
This commit is contained in:
georg 2023-03-20 14:53:56 +00:00
parent 6c05360afa
commit 6fde80d3e3
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
variables:
CONTAINER_REGISTRY: $CI_REGISTRY/georg/mat2-ci-images
GIT_DEPTH: "5"
GIT_STRATEGY: clone
stages: