For a number of reasons I’ve been trying out GitLab as a replacement
for for both GitHub and various continuous integration systems, and have
been exploring configurations useful for model-fitting pipelines. I turned
one of these into an example repository that shows how to use GitLab together
with the Rocker Docker images and the drake build system to reproducibly run a project pipeline, using the cacheing functionality across all three tools to
make things reasonably speedy and enable both local and remote builds. Check it out at https://gitlab.com/ecohealthalliance/drake-gitlab-docker-example.