nanobox icon indicating copy to clipboard operation
nanobox copied to clipboard

Integration with Github

Open gkarugi opened this issue 7 years ago • 4 comments

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.

gkarugi avatar Jan 16 '18 17:01 gkarugi

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/

philipgiuliani avatar Jan 23 '18 18:01 philipgiuliani

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

thompsondt avatar Jun 28 '18 18:06 thompsondt

Yes the lack of documentation for Gitlab CI is a real pain. I see this issue on a regular basis on the community slack.

LeCoupa avatar Dec 12 '18 10:12 LeCoupa

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.

danhunsaker avatar Dec 12 '18 12:12 danhunsaker