Gitlab CI

We use Gitlab CI to build our containers, test it, and store them in the internal registry.

These images are then pulled into the production servers.


All configuration is done inside .gitlab-ci.yml.


We have two pipelines configured: for master and other branches. That’s how it works: we only run testing for feature branches and do the whole building/testing/deploying process for the master branch.

This allows us to speed up development process.

Secret variables

If some real secret variables are required, then you can use gitlab secrets. And these kind of variables are required most of the time.

See Django on how to use dump-env and gitlab-ci together.