Skip to content
Snippets Groups Projects
Daniel Dehennin's avatar
Daniel Dehennin authored
USAGE
=====

include:
  - project: EOLE/Infra/ci-tools
    ref: master
    file: /templates/Helm.yaml

stages:
  - release

helm publish: {extends: '.helm:push'}

REQUIREMENTS
============

- a `release` stage must be present in your pipeline or it must be
  overriden by the extending job to feet your need.

- the `.not-on-stable` rules templates or it must be overriden by
  the extending job to feet your need

- `HELM_REPO` variable: URL of the helm ChartMuseum

- `HELM_REPO_USERNAME` variable : name of the user with write access
  to the ChartMuseum

- `HELM_REPO_PASSWORD` variable: password of `HELM_REPO_USERNAME`

OPTIONAL VARIABLES
==================

- `CHART_DIR`: directory of the helm chart, default to `.`

- `HELM_IMAGE`: name of the `helm` docker image to use

- `HELM_ARGS`: optional arguments to pass to `helm cm-push` command,
  empty by default

- `HELM_BUILD_DIR`: write package chart in this directory, default
  to `build`
98f3a6e4
History