Private GitLab repo
Learn more about GitLab Helm Registry: https://docs.gitlab.com/ee/user/packages/helm_repository/
.
├── README.md
└── helmwave.yml.tpl
Suppose the helmwave.yml.tpl
looks like
version: 0.21.0
repositories:
# Docs: https://docs.gitlab.com/ee/user/packages/helm_repository/
- url: {{ env "CI_API_V4" }}/projects/{{env "CI_PROJECT_ID" }}/packages/helm/stable`
username: gitlab-ci-token
password: {{ env "CI_JOB_TOKEN" }}
.options: &options
namespace: test
create_namespace: true
releases:
- name: hello
chart: foo/bar
<<: *options
Your .gitlab-ci.yml
helmwave:
stage: deploy
image:
name: ghcr.io/helmwave/helmwave:0.21.1
entrypoint: [""]
before_script:
- printenv | grep HELMWAVE
script:
- helmwave yml
- helmwave build
- helmwave up
artifacts:
paths:
- .helmwave
expire_in: 2 week