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.24.0
repositories:
# Docs: https://docs.gitlab.com/ee/user/packages/helm_repository/
- url: {{ env "CI_API_V4_URL" }}/projects/{{env "CI_PROJECT_ID" }}/packages/helm/stable
name: {{ env "CI_PROJECT_TITLE" }}
username: gitlab-ci-token
password: {{ env "CI_JOB_TOKEN" }}
releases:
- name: hello
chart: {{ env "CI_PROJECT_TITLE" }}/my-chart
namespace: test
create_namespace: true
Your .gitlab-ci.yml
helmwave:
stage: deploy
image:
name: ghcr.io/helmwave/helmwave:0.24.0
entrypoint: [""]
before_script:
- printenv | grep HELMWAVE
script:
- helmwave yml
- helmwave build
- helmwave up
artifacts:
paths:
- .helmwave
expire_in: 2 week