Commit Graph

12 Commits

Author SHA1 Message Date
Liam Young 8336b75c40 Add test to perform charm upgrade.
Add test to perform charm upgrade and a few small tweaks to the
upgrade utils.
2020-06-11 10:33:39 +00:00
Chris MacNaughton 74652f2523 Add unit test coverage for series upgrades
This also includes some tidying
2020-04-10 10:50:43 +02:00
Chris MacNaughton 2a98274d67 Add a few more function hooks to the series upgrade process
By including pre and pos-application functions, charm
series upgrades can be handled in a more generic way,
even when they require running additional actions
before a unit is upgraded, or after the whole application
is upgraded.
2020-04-10 10:50:43 +02:00
Chris MacNaughton cf1ea4c71b First pass at batched parallel series upgrade 2020-04-10 10:50:43 +02:00
Chris MacNaughton 71b9d5a6fb lint fixes 2020-03-25 15:26:08 +01:00
Chris MacNaughton a1e5649d12 Refactor if-statement into upgrade config generator 2020-03-25 08:44:41 +01:00
Chris MacNaughton 540e0ea4fc tidy up style things, add docstring 2020-03-25 08:44:41 +01:00
Chris MacNaughton f73b4c1d6d fix up unit tests and assumptions 2020-03-25 08:44:41 +01:00
Chris MacNaughton d4ee838d4b some refactoring and updates from review 2020-03-25 08:44:41 +01:00
Chris MacNaughton 0a94b97cf4 update for style bits 2020-03-25 08:44:41 +01:00
Chris MacNaughton 8450216f72 Create parallel (async) series upgrade 2020-03-25 08:44:41 +01:00
Chris MacNaughton 93fd631b1a Split up and re-organize upgrade helpers 2020-03-25 08:44:41 +01:00