Helper functions for building and delivering Deckhouse modules using Gitlab CI.
This repository contains code for Gitlab CI job templates that can be reused. The templates are located in the templates
directory.
To connect a template, you need to add the following code to your .gitlab-ci.yml
:
include:
- remote: 'https://raw.githubusercontent.com/deckhouse/modules-gitlab-ci/refs/heads/main/templates/Setup.gitlab-ci.yml'
- remote: 'https://raw.githubusercontent.com/deckhouse/modules-gitlab-ci/refs/heads/main/templates/Build.gitlab-ci.yml'
default:
tags:
- my-runner
Build:
extends: .build
Instead of
/main/
, you can specify a specific commit to ensure changes do not affect your CI.
The examples
folder contains examples of .gitlab-ci.yml
that can be assembled from the templates.