CI configuration


CI configuration 1/

Some useful settings

General pipelines

Git strategy is not relevant for executors like Docker and Kubernetes

Get badges for pipelines status, coverage report and the latest release

Shallow clones with 20 depth

Job timeout defaults to 1h …

…but can be overridden in .gitlab-ci.yml using timeout

Auto DevOps

Auto DevOps provides preconfigured jobs for building, testing and scanning software projects


CI configuration 2/2

More useful settings

Runners

Connect specific runners

Disable shared runners

Deploy freezes

Prevent unintentional deployments using Deploy Freeze

Job scripts must implement freeze

Use $CI_DEPLOY_FREEZE to check for active deploy freeze

We will come back to this later!