Skip to content

Commit

Permalink
New upgrade implementation (#418)
Browse files Browse the repository at this point in the history
## Issue
Current upgrade implementation should be replaced with v2

## Solution
Replace current upgrade implementation with v2

---------

Co-authored-by: Carl Csaposs <carl.csaposs@canonical.com>
Co-authored-by: Mehdi Bendriss <bendrissmehdi@gmail.com>
  • Loading branch information
3 people committed Jun 11, 2024
1 parent d67c815 commit eb9c9e0
Show file tree
Hide file tree
Showing 31 changed files with 1,506 additions and 1,788 deletions.
8 changes: 7 additions & 1 deletion actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,10 @@ set-tls-private-key:
description: The content of private key for internal communications with clients. Content will be auto-generated if this option is not specified.

pre-upgrade-check:
description: Run necessary pre-upgrade checks before executing a charm upgrade.
description: Check if charm is ready to upgrade

resume-upgrade:
description: Upgrade remaining units (after you manually verified that upgraded units are healthy).

force-upgrade:
description: Force upgrade of this unit.
1 change: 1 addition & 0 deletions charm_version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
3 changes: 3 additions & 0 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ parts:
- libssl-dev
- rustc
- cargo
prime:
- charm_version
- workload_version
Loading

0 comments on commit eb9c9e0

Please sign in to comment.