Skip to content

Commit e5c525c

Browse files
precheckfail
1 parent c8072ef commit e5c525c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- build
3030
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
3131
with:
32-
channel: dpe/edge/test-refresh-v3-incompat
32+
channel: dpe/edge/test-refresh-v3-precheckfail
3333
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
3434
create-git-tags: false
3535
secrets:

refresh_versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ charm_major = 1
44
workload = "8.0.41"
55

66
# autogenerated
7-
charm = "8.0/2.0.0"
7+
charm = "8.0/1.3.0"
88

99
[snap]
1010
name = "charmed-mysql"

src/abstract_charm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class RouterRefresh(charm_refresh.CharmSpecificCommon, abc.ABC):
3030

3131
@staticmethod
3232
def run_pre_refresh_checks_after_1_unit_refreshed() -> None:
33-
pass
33+
raise charm_refresh.PrecheckFailed("Backup in progress")
3434

3535
@classmethod
3636
def is_compatible(

0 commit comments

Comments
 (0)