-
Notifications
You must be signed in to change notification settings - Fork 809
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
PR Discussion - CI chart upgrade tests #1427
Comments
Upgrade tests
Changing a Service
|
Upgrade tests takes longer time, and is perhaps most important before releases. So... I figure making them something you run now and then manually could make sense. By triggering a custom build, and having a |
Does it matter if the upgrade test takes a long time, especially if it's part of a Travis matrix build so you can see the results of the non-upgrade tests early if you really need to? I think asking people to decide whether an upgrade test is required or not for a PR is an unnecessary extra step. If the PR shouldn't affect the upgrade the test should pass quietly and no-one cares, if it fails due to a unexpected side-effect it's done it's job! If the upgrade test did turn out to be a problem it could be allowed to fail in the Travis matrix, so there's at least a record of when the process potentially broke. |
TravisCI will always run a primitive upgrade test now, but locally you wont, as of #1459. There is room for improvements, and the "primitive part" of the upgrade tests, I mean that it only verifies that when we go from 0.8.2 to current master, we land on a functional state without errors during the upgrade process if we use the save config before and after. So, we should perhaps refer to this as an "chart version upgrade test" as compared to "configuration change upgrade test" or similar, which is also of relevance to try for various configurations. |
Supporting and testing a major upgrade with the same config sounds good and is the process that most people will go through. Testing changes in configuration with or without an upgrade involves a potentially infinite number of combinations, might be nice to have but assuming(!) Helm cleans-up after itself the main persistent state will be storage volumes and the JupyterHub DB. The latter could be mostly tested in JupyterHub or some other repo outside Z2JH, there's no need for a full K8S deployment in most cases. |
We are now doing "chart version upgrade tests" - closing this. |
While seeing pangeo-data/pangeo-cloud-federation#418, and simply because releasing things for z2jh can be hard, I'd like to make a upgrade test for our CI system that does an helm chart upgrade from the latest minor release.
I feel hopeful about doing this now that I've spent a lot of time working on #1422!
The text was updated successfully, but these errors were encountered: