Gitlab CI¶
We are strong supporters of Continuous Integration and Continuous Delivery solutions. You can read more about our CI approach in the dedicated guide.
Our implementation¶
We use Gitlab CI, both with our own runners (running on GCP), and with Gitlab’s runners.
Since a lot of scripts are the same for every project (think about linting), we created a repo where we insert different templates.
You can use the templates in your project, using the keyword include
. Templates are published under https://nextbit.gitlab.io/gitlab-ci-templates/file-name.yml
include: 'https://nextbit.gitlab.io/gitlab-ci-templates/file-name.yml'
Full documentation of this feature is on Gitlab’s website.
Improving¶
A cool thing about using the include
keyword is that every project is updated when you improve the template. So feel free to propose a merge request, following our usual workflow, but remember:
Do not include anything specific to any project
Do not include any secret, templates are public
Do not make any breaking change
Danger
Templates are public accessible on internet, do not include any secret