CI: Pre-cache, re-use the Helm repository data
Summary
In our pipelines, use a job in stage: prepare
to cache/bundle the entire chart & dependencies. This should shield us from blips in service from external Helm dependencies' repositories.
Error: could not find : chart grafana not found in https://grafana.github.io/helm-charts
Error: could not find : chart redis not found in https://charts.bitnami.com/bitnami
Current behavior
Any stage of the pipeline which calls helm dep update
can run into an error downloading an external dependency, which halts many jobs in the pipeline with the same or similar error.
Expected behavior
Once successfully pulled at the beginning of a pipeline, the repository cache / chart bundle is reused for all following steps.
Versions
- Chart: d632ae47 and older
- Platform: N/A
- Helm: N/A