1
0
mirror of synced 2024-11-22 01:04:23 +01:00

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

View File

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