I’m using drone 0.8.2 and I try to test a repository that has a private submodule.
My .drone.yml config is the following:
clone: default: image: plugins/git recursive: true submodule_override: docs-theme: https://github.com/PressLabs/docs-theme.git pipeline: ...
And the output is
+ git init Initialized empty Git repository in /drone/src/github.com/PressLabs/gitfs/.git/ + git remote add origin https://github.com/PressLabs/gitfs.git + git fetch --no-tags origin +refs/heads/docs: From https://github.com/PressLabs/gitfs * branch docs -> FETCH_HEAD * [new branch] docs -> origin/docs + git reset --hard -q 66845f079457b1a61afc3fc10e3aa24ea6dcbb5d + git config --global submodule.docs-theme.url https://github.com/PressLabs/docs-theme.git + git submodule update --init --recursive Cloning into '/drone/src/github.com/PressLabs/gitfs/docs-theme'... fatal: could not read Username for 'https://github.com': No such device or address fatal: clone of 'https://github.com/PressLabs/docs-theme.git' into submodule path '/drone/src/github.com/PressLabs/gitfs/docs-theme' failed exit status 128
I have to mention that the repository is public, only the submodule is private.
I also tried to do some debugging and I ended up with:
+ echo $DRONE_REPO_PRIVATE + cat /root/.netrc cat: can't open '/root/.netrc': No such file or directory exit code 1
Do you have some ideas? How can I debug this further?
[EDITED]: clean up output