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

Support upgrading to candidate or edge channels for testing #576

Open
samuelallan72 opened this issue Oct 8, 2024 · 1 comment
Open

Comments

@samuelallan72
Copy link
Contributor

In cases where we want to test an upgrade of a prerelease, we would need support to upgrade to candidate or edge channels of charms. Currently this is hardcoded to stable channels in COU.

We could introduce a flag to COU plan and upgrade to allow upgrading to a different track:

$ cou upgrade --upgrade-to-track candidate

Design thoughts on such a flag:

  • it must default to stable
  • it should be an enum type, limited to stable, candidate, and edge
  • it should be documented on it that it's not recommended to candidate or edge on production clouds.
@jneo8
Copy link
Contributor

jneo8 commented Oct 18, 2024

Instead of provide a way to override the channel global. Maybe it will be more useful we allow user to decide which target channel for a single app upgrade to.

For example, we tend to keep mysql-innodb-cluster in channel 8.0/stable but want to test keystone on 2024.1/candidate.

The solution will be we follow the way how we create https://github.com/canonical/charmed-openstack-upgrader/blob/main/cou/utils/openstack_lookup.csv to create another csv file for the target channel and allow user to choose their own modify version.

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

No branches or pull requests

2 participants