Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DPE-4235, DPE-3262, DPE-4315 Common UX for replication #452

Merged
merged 16 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- agent: 2.9.49 # renovate: juju-agent-pin-minor
libjuju: ^2
allure: false
- agent: 3.1.8 # renovate: juju-agent-pin-minor
- agent: 3.4.3 # renovate: juju-agent-pin-minor
allure: true
name: Integration test charm | ${{ matrix.juju.agent }}
needs:
Expand Down
34 changes: 13 additions & 21 deletions actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,20 @@ restore:
pre-upgrade-check:
description: Run necessary pre-upgrade checks and preparations before executing a charm refresh.

promote-standby-cluster:
create-replication:
description: |
Promotes this cluster to become the leader in the cluster-set. Used for safe switchover or failover.
Must be run against the charm leader unit of a standby cluster.
Create replication between two related clusters.
This action is must be run on the offer side of the relation.
params:
name:
type: string
description: A (optional) name for this replication.
default: default

promote-to-primary:
description: |
Promotes this cluster to become the primary in the cluster-set. Used for safe switchover or failover.
Can only be run against the charm leader unit of a standby cluster.
params:
cluster-set-name:
type: string
Expand All @@ -83,24 +93,6 @@ recreate-cluster:
each unit will be kept in blocked status. Recreating the cluster allows to rejoin the async replication
relation, or usage as a standalone cluster.

fence-writes:
description: |
Stops write traffic to a primary cluster of a ClusterSet.
params:
cluster-set-name:
type: string
description: |
The name of the cluster-set. Mandatory option, used for confirmation.

unfence-writes:
description: |
Resumes write traffic to a primary cluster of a ClusterSet.
params:
cluster-set-name:
type: string
description: |
The name of the cluster-set. Mandatory option, used for confirmation.

rejoin-cluster:
description: |
Rejoins an invalidated cluster to the cluster-set, after a previous failover or switchover.
Expand Down
Loading
Loading