-
Notifications
You must be signed in to change notification settings - Fork 218
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
Automate tests to upgrade individual charts #25
Comments
@scottrigby I was thinking about picking this up and just want to make sure I've got a handle on the expected logic. If chart version bump is not allowed to be a breaking change according to Semver then...
For step 2, I assume we should avoid passing in the latest version of the cc @unguiculus |
There are two possibilities here :
Ideally, both would be nice to have. Just for the record, for example, there are currently many charts that lack a matchLabels (although it does not always trigger break upgrade, it tends to be error prone if those deployments/statefulsets are upgraded to apps/v1 without paying attention) : find . -type f -name \*deployment\* -print0 | xargs -0 grep -L " matchLabels:" | wc -l
92 |
I think static analysis should be separate issue(s) from this, which is about trying to upgrade to each new (non-MAJOR) release, from each previous MINOR release. The goal is to catch breaking changes that should instead require a MAJOR version bump. We can't test every combination of values, so this may miss something, but we could at least check the default values. PS, I do think #19, #99, and #100 label static analysis issues are important and should be addressed, just trying to clarify scope of each issue 😄 |
Community charts were hit with a set of unexpected upgrade bugs. We can speculate about why that didn't come to our attention before, but this also could have been caught (and will catch future issues) by adding automated upgrade tests.
See:
The text was updated successfully, but these errors were encountered: