Pro tip: Testing pipelines locally

gitlab-runner

Test a single job using Docker using gitlab-runner :

gitlab-runner exec docker <job_name>

Works for more executors: shell, ssh, docker-ssh and more!

gitlab-ci-local

Run whole pipelines locally using gitlab-ci-local