Managing a CircleCI project with a public repo that calls private repo submodules in GitHub

Is there a way to easily manage a CircleCI project that consists of a public repo with a private repo submodule on GitHub? We have our main project on a public repo, but some of the code is sensitive so we are trying to maintain it within a private repo and calling it as a submodule of the main public repo. I haven’t found a definitive solution outlining how this would be setup and managed efficiently. Any info would be greatly appreciated.

I’m pretty sure you could get that to work. You could use add_ssh_keys as usual, then do your git submodule commands after the checkout. Give it a go perhaps, and report back if you have any issues?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.