-
Notifications
You must be signed in to change notification settings - Fork 14
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
🐛 choose latest version on upgrade #77
Conversation
cebf202
to
687f590
Compare
Tests fail. This looks relevant: golang/go#47979 (with a link to this) |
fec003d
to
6ee7834
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
6ee7834
to
fda779b
Compare
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
3c3f6e6
to
e956402
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! Also nice add with the filtering!
The rest of the fix here: https://github.com/kairos-io/kairos/tree/249-choose-latest-version-on-upgrade |
Looks good here! The failures are known ( #37 as a possible fix) and needs to be tackled separately |
I just realized the "stable" filtering is not working. I'm trying to figure out why the tests where green. Will open another PR with a fix. |
in semver, this is a pre-release |
removed here: #82 |
Part of the fix for: kairos-io/kairos#249
We also need to select the last item instead of the first here: https://github.com/kairos-io/kairos/blob/c141ea17923888c1b484fdbec09925c8b2febb26/internal/agent/upgrade.go#L54
and optionally show a prompt to the user to confirm the version before doing the ugprade (unless some cli flag is passed to confirm automatically)
@mudler maybe we should exclude "rc" versions and such (everything non-stable)?