Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only update helm repositories when necessary #535

Merged
merged 1 commit into from
Mar 18, 2021

Conversation

craigfurman
Copy link
Contributor

We currently run helm repo update every time we run tk tool charts vendor. Some tanka users may check in their charts directory to avoid
many network calls to helm repositories in CI, which can be flaky. By
delaying the helm repo update call until there is a chart to pull, we
can better support these workflows.

Hopefully a non-broken version of #507!

We currently run `helm repo update` every time we run `tk tool charts
vendor`. Some tanka users may check in their charts directory to avoid
many network calls to helm repositories in CI, which can be flaky. By
delaying the `helm repo update` call until there is a chart to pull, we
can better support these workflows.
@craigfurman
Copy link
Contributor Author

@sh0rez wdyt?

@Duologic Duologic requested a review from sh0rez March 18, 2021 07:54
@sh0rez sh0rez merged commit 0d75e74 into grafana:master Mar 18, 2021
@craigfurman craigfurman deleted the minimise-repo-update branch March 18, 2021 13:48
@craigfurman
Copy link
Contributor Author

Thanks! We're going to start using this at GitLab right away, to reduce transient helm repository errors in our tanka pipelines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants