nanobox
nanobox copied to clipboard
Integration with Github
How can I deploy directly from a GitHub repository, say master, after a commit. I have tried checking for documentation on this but found nothing.
To do that, you need a continious integration system which builds your image. I don't know which CI platforms are supported, I'm personally using Gitlab CI, but I know that Travis CI is also supported.
There is the following documentation: https://docs.nanobox.io/workflow/ci-cd/
When you setup your GitLab CI, did you find it necessary to self host? I'm looking at trying to use Nanobox with a GitLab setup and don't know if it's better to be self hosted or to host with them. There doesn't seem to be any examples walking through a GitLabCI + Nanobox setup.
*edited for terrible grammar
Yes the lack of documentation for Gitlab CI is a real pain. I see this issue on a regular basis on the community slack.
GitLab CI cloud doesn't support test runners with the required access to Docker; for deeply technical reasons, Docker Remote doesn't work for Nanobox.
As to not having docs on it, that's probably largely because nobody has offered to submit any? See nanobox-io/nanobox-docs for that.