diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d603cfe6d..3596c6e9a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,7 +3,7 @@ name: Tests concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-precheckfail + group: ${{ github.workflow }}-${{ github.ref }}-3 cancel-in-progress: true on: @@ -75,7 +75,7 @@ jobs: - build uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v22.0.0 with: - channel: 8.0/edge/test-refresh-v3-precheckfail + channel: 8.0/edge/test-refresh-v3-uncaught artifact-prefix: ${{ needs.build.outputs.artifact-prefix }} create-github-release: false secrets: diff --git a/src/kubernetes_charm.py b/src/kubernetes_charm.py index 6024edcbb..86d92c06c 100755 --- a/src/kubernetes_charm.py +++ b/src/kubernetes_charm.py @@ -108,6 +108,7 @@ def __init__(self, *args) -> None: if self.unit.is_leader(): self.app.status = ops.MaintenanceStatus("Waiting for peer relation") exit() + raise Exception @property def _subordinate_relation_endpoint_names(self) -> typing.Optional[typing.Iterable[str]]: