Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 495 Bytes

File metadata and controls

25 lines (18 loc) · 495 Bytes
icon
material/gitlab

GitLab CI/CD YAML

:material-gitlab: Generate a CI/CD YAML

The GitLab CI/CD YAML (.gitlab-ci.yml) can be generated with Gomplate using a template (./build-ci.tmpl) and a configuration file in YAML (./build.yaml).

gomplate -c build.yaml -f build-ci.tmpl -o .gitlab-ci.yml

or

make update-gitlab-ci

???- example "Example .gitlab-ci.yml" yaml title=".gitlab-ci.yml" linenums="1" --8<-- "./.gitlab-ci.yml"