I have two private repos on Gitlab, lets call them Foo and Bar, the latter depends on Foo.
When developing on my local machine, I have Gitlab authentication set up, so I can just did
pkg> activate /path/to/Bar
pkg> add https://gitlab.com/tkpapp/Foo.jl
and everything works fine.
But I also need a solution for Gitlab CI, and so far I have not been able to figure one out. Gitlab offers access tokens, but they become part of the URL, so I would need a different manifest on CI. Submodules kind of work using an internal path on Gitlab (it’s the same user), but I need to overwrite my .gitmodules
files for CI because it’s different on my local machine.