Description
In our various Kubernetes-CSI repos we should regularly update dependencies to ensure that we have included all upstream bug fixes.
This includes:
- running
dep ensure -update
- running
git subtree pull
forrelease-tools
(see https://github.com/kubernetes-csi/csi-release-tools/blob/master/README.md#sharing-and-updating) - creating a new PR for changes (if none is pending currently) or updating an existing PR by force-pushing to the branch
Then once the PR is pending, CI testing will cover the initial round of testing. Even if that fails, having a PR pending is a reminder to the maintainer that the component is not up-to-date.
The steps above could be automated with a script, like update-dependencies.sh
in this repo. The hub
tool might be useful for managing the PRs. Bonus points for making it possible to update release branches.
Running this script for one or more component is probably best done by the same person at a regular cadence. If multiple people do it, we end up with multiple competing PRs. We could also try to move it into a Prow job, but that would be a second step.
@msau42 does that sound useful?