When running in GitLab CI the folder that you gets put in when running scripts is a Git repository. This means that for instance if you want to handle things like fetching submodules yourself, then you can do that. However, with glci it seems like that is not the case and the .git folder does not exist at all. This causes git commands such as git submodule update --init --recursive to fail.
The error, as expected is:
fatal: not a git repository (or any of the parent directories): .git
When running in GitLab CI the folder that you gets put in when running scripts is a Git repository. This means that for instance if you want to handle things like fetching submodules yourself, then you can do that. However, with
glci
it seems like that is not the case and the.git
folder does not exist at all. This causesgit
commands such asgit submodule update --init --recursive
to fail.The error, as expected is: