1
0
mirror of synced 2024-06-12 00:59:51 +02: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:
CONTAINER_REGISTRY: $CI_REGISTRY/georg/mat2-ci-images
GIT_DEPTH: "5"
GIT_STRATEGY: clone
stages: