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

Update the upgrade step for 2.9 for charm origin #12404

Merged
merged 1 commit into from Dec 4, 2020

Conversation

SimonRichardson
Copy link
Member

Now that more fields have been added to charm-origin, the upgrade steps
should also be added to better reflect that.

There is a worrying part that I'm unsure how to solve and that is around
people who are already trying out RC1 and RC2 of 2.9. Officially this
won't re-run for them, but is that a bad thing?

  • The items that actually are mandatory are source, revision, channel
    and id. These were already in version 1 of the upgrade step.
  • Platform although important will fallback to the logic to find out
    what it should be if it's missing.
  • Type isn't required for charms and is a requirement for bundles,
    considering we don't store bundles this should be fine.

If what I say holds we should be ok.

QA steps

Bootstrap a 2.8.6 and upgrade to 2.9
Deploy a charm...

Now that more fields have been added to charm origin the upgrade steps
should also be added to better reflect that.

There is a worrying part that I'm unsure how to solve and that is around
people whom are already trying out RC1 and RC2 of 2.9. Offically this
won't re-run for them, but is that a bad thing?

 - The items that actually are mandatory are source, revision, channel
 and id. These where already in the version 1 of the upgrade.
 - Platform although important will fallback to the logic to find out
 what it should be if it's missing.
 - Type isn't required for charms and is a requirement for bundles,
 considering we don't store bundles this should be fine.

If what I say holds we should be ok.
Copy link
Member

@manadart manadart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA and code all good.

@SimonRichardson
Copy link
Member Author

$$merge$$

@jujubot jujubot merged commit e265aa3 into juju:2.9 Dec 4, 2020
@SimonRichardson SimonRichardson deleted the charm-origin-upgrade branch December 4, 2020 17:43
@wallyworld wallyworld mentioned this pull request Dec 9, 2020
jujubot added a commit that referenced this pull request Dec 9, 2020
#12427

Merge 2.9 with these PRs

#12397 AddPendingResources charhub
#12405 move resources api
#12404 Update the upgrade step for 2.9 for charm origin
#12401 Adds services to service watcher.
#12407 Use model-configured default space for NetworkInfo bindings
#12411 Save charm origin platform to state
#12409 Columnise find to reduce output width
#12400 Make UpdateLatestRevisions controller facade work with charmhub
 #12415 Add Juju-Metadata HTTP headers for charmhub Refresh requests
#12410 Charmhub download progress
#12413 Charmhub info optional flag
#12419 Ensure NetworksForRelation never returns a CAAS container address
#12417 fix intermittent failure in upgrade series test
#12420 Remove state from common client
#12422 Add path and description to ResourceRevision
#12423 charmrevisionupdater: remove "handlers" indirection for saving resources
#12425 Ensure process limits are correctly set with using juju-db snap

No conflicts

## QA steps

see PRs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants