This is by no means complete - or even that smart, but it's enough to get started with.
.gitlab-ci.yml