Handling of submodules is supported
Submodules are not fetched automatically
…because GIT_SUBMODULE_STRATEGY
defaults to none
Enable handling of submodules:
job_name:
variables:
GIT_SUBMODULE_STRATEGY: normal
Recursive fetching is supported with GIT_SUBMODULE_STRATEGY=recursive
Absolute and relative paths are supported
Mind the permissions of CI_JOB_TOKEN
(!)
job_name:
variables:
GIT_SUBMODULE_STRATEGY: none
script:
- |
git config --global \
url."https://gitlab.inmylab.de/".insteadOf "ssh://git@gitlab.inmylab.de/"
Use ssh-agent
on GitLab runner machine