Do you write tests? Or do you skip them because it’s too complicated to run? Or maybe developers on your team just don’t care? You should take a few minutes and set up CI so you can enforce good practices. Good news, you can test all the things automagically in GitLab CI/CD with Docker and very little effort 🤘
First, you’ll need an account at GitLab.com. If you don’t already have one, you can open an account with no problem. GitLab’s free tier gives you a ton of features, unlimited free hosted repositories, 2,000 CI build minutes per month, etc. You can even use your own task runners in case you bust that limit.
- GitLab CI/CD documentation 📗
- .gitlab-ci.yml documentation 📕
- .gitlab-ci.yml linter: gitlab.com/ci/lint ✅
- gitlab-ci nodejs example project
- gitlab-ci Docker example project
- gitlab-ci django example project
- Unity3D Docker project running in gitlab-ci and published to Docker Hub
- How to publish Docker images to Docker Hub from gitlab-ci on Stack Overflow
Here go the slides
Scroll through the slides from my presentation on GitLab CI/CD at SagLacIO, you’ll have fun 🤘
If you have suggestions, feel free to poke me or open an issue.
Test all the things in GitLab CI with Docker by example was originally published on gableroux.com.