You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change config options to dashes & update charm-refresh to v3.1.0.0 (#1097)
- Update charm refresh to v3.1.0.0
- Use pause-after-unit-refresh config option instead of pause_after_unit_refresh
- For all other config options, switch to dashes with backwards-compatible fallback to previous name with underscores
Copy file name to clipboardExpand all lines: actions.yaml
+13-13Lines changed: 13 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -28,52 +28,52 @@ pre-refresh-check:
28
28
force-refresh-start:
29
29
description: |
30
30
Potential of data loss and downtime
31
-
31
+
32
32
Force refresh of first unit
33
-
33
+
34
34
Must run with at least one of the parameters `=false`
35
35
params:
36
36
check-compatibility:
37
37
type: boolean
38
38
default: true
39
39
description: |
40
40
Potential of data loss and downtime
41
-
41
+
42
42
If `false`, force refresh if new version of PostgreSQL and/or charm is not compatible with previous version
43
43
run-pre-refresh-checks:
44
44
type: boolean
45
45
default: true
46
46
description: |
47
47
Potential of data loss and downtime
48
-
48
+
49
49
If `false`, force refresh if app is unhealthy or not ready to refresh (and unit status shows "Pre-refresh check failed")
50
50
check-workload-container:
51
51
type: boolean
52
52
default: true
53
53
description: |
54
54
Potential of data loss and downtime during and after refresh
55
-
55
+
56
56
If `false`, allow refresh to PostgreSQL container version that has not been validated to work with the charm revision
57
57
additionalProperties: false
58
58
resume-refresh:
59
59
description: |
60
60
Refresh next unit(s) (after you have manually verified that refreshed units are healthy)
61
-
62
-
If the `pause_after_unit_refresh` config is set to `all`, this action will refresh the next unit.
63
-
64
-
If `pause_after_unit_refresh` is set to `first`, this action will refresh all remaining units.
61
+
62
+
If the `pause-after-unit-refresh` config is set to `all`, this action will refresh the next unit.
63
+
64
+
If `pause-after-unit-refresh` is set to `first`, this action will refresh all remaining units.
65
65
Exception: if automatic health checks fail after a unit has refreshed, the refresh will pause.
66
-
67
-
If `pause_after_unit_refresh` is set to `none`, this action will have no effect unless it is called with `check-health-of-refreshed-units` as `false`.
66
+
67
+
If `pause-after-unit-refresh` is set to `none`, this action will have no effect unless it is called with `check-health-of-refreshed-units` as `false`.
68
68
params:
69
69
check-health-of-refreshed-units:
70
70
type: boolean
71
71
default: true
72
72
description: |
73
73
Potential of data loss and downtime
74
-
74
+
75
75
If `false`, force refresh (of next unit) if 1 or more refreshed units are unhealthy
76
-
76
+
77
77
Warning: if first unit to refresh is unhealthy, consider running `force-refresh-start` action on that unit instead of using this parameter.
78
78
If first unit to refresh is unhealthy because compatibility checks, pre-refresh checks, or workload container checks are failing, this parameter is more destructive than the `force-refresh-start` action.
0 commit comments