Closed tallamjr closed 5 years ago
Although a workaround was attempted using:
...
...
before_install:
- "sed -i \"s|https://github.com/alan-turing-institute/nats-birdhouse.git|https://tallamjr:$CI_ACCESS_TOKEN@github.com/alan-turing-institute/nats-birdhouse.git|\" .gitmodules"
- "git submodule update --init --recursive"
- "echo -e 'machine github.com\n login $CI_ACCESS_TOKEN' > ~/.netrc"
...
...
There may be subtleties with working with private submodules within the alan-turning-institute
organisation. This seems to cause the error below:
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:alan-turing-institute/nats-birdhouse.git' into submodule path '/home/travis/build/alan-turing-institute/simurgh/birdhouse' failed
Failed to clone 'birdhouse' a second time, aborting
The command "git submodule update --init --recursive" failed and exited with 1 during .
One option could be to make nats-birdhouse
public.
To be investigated ...
Although there are test suits within the individual submodules, it might be desirable to have CI tests that investigate if a build on the complete package is working