Hello,
I have some trouble in CI when I use submodules.
At the" Updating/initializing submodules recursively…" step I have the following error:
Submodule ‘macros’ (https://gitlab.com/group/subgroup/submodule.git) registered for path ‘macros’
Cloning into ‘/builds/group/subgroup/…/submodule’…
fatal: could not read Username for ‘https://gitlab.com’: No such device or address
fatal: clone of ‘https://gitlab.com/group/subgroup/submodule.git’ into submodule path ‘/builds/group/subgroup/…/submodule’ failed
Failed to clone ‘macros’. Retry scheduled
Cloning into ‘/builds/group/subgroup/…/submodule’…
fatal: could not read Username for ‘https://gitlab.com’: No such device or address
fatal: clone of ‘/builds/group/subgroup/…/submodule.git’ into submodule path ‘/builds/group/subgroup/…/submodule’ failed
Failed to clone ‘macros’ a second time, aborting
I’m pretty new with CI and Git-Lab. It’s seems a bad permission setup. Can someone help me with this setup?
I have no problem when the project do not have dependencies\submodules.
Thank you