Nightly chart and branch releases of charts
The delivery team needs to be able to deploy chart updates quickly to gitlab.com and we are struggling a bit right now because we are only tracking official releases.
This issue is to allow chart releases on branches, and nightly chart releases to help facilitate quicker turn-around times for chart updates that are needed for gitlab.com.
The limitation for us right now is that we rely on helm tooling, including helm diff
which requires the version comparison in the index. For example, if we set our chart version to a ref, and use a git checkout of the chart:
Running: helm diff upgrade --detailed-exitcode --suppress-secrets --namespace gitlab --version jarv/3-0-stable-json -f /Users/jarv/workspace/gl-infra/k8-workloads/gitlab-com/bin/../values.yaml -f /Users/jarv/workspace/gl-infra/k8-workloads/gitlab-com/bin/../pre.yaml --set registry.service.loadBalancerIP=10.232.20.237 --set global.registry.bucket=gitlab-pre-registry --set registry.authEndpoint=https://pre.gitlab.com gitlab gitlab/gitlab
Error: chart "gitlab" matching jarv/3-0-stable-json not found in gitlab index. (try 'helm repo update'). improper constraint: jarv/3-0-stable-json
I've tried hacks to make this work but so far haven't found a way to make diffs work properly. I think the right solution is to create releases in the charts pipeline.