Skip to content

Commit

Permalink
failed precheck
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcsaposs-canonical committed Oct 21, 2024
1 parent a053546 commit b99e683
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
name: Tests

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-2
group: ${{ github.workflow }}-${{ github.ref }}-precheckfail
cancel-in-progress: true

on:
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
- build
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
with:
channel: 8.0/edge/test-refresh-v3-incompat
channel: 8.0/edge/test-refresh-v3-precheckfail
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
create-github-release: false
secrets:
Expand Down
2 changes: 1 addition & 1 deletion src/kubernetes_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
class RouterRefresh(charm_refresh.CharmSpecific):
@staticmethod
def run_pre_refresh_checks_after_1_unit_refreshed() -> None:
pass
raise charm_refresh.PrecheckFailed("Backup in progress")

@classmethod
def is_compatible(
Expand Down

0 comments on commit b99e683

Please sign in to comment.