Skip to content

Commit

Permalink
change release from dpe/edge to 5/edge (#173)
Browse files Browse the repository at this point in the history
Product has informed us to publish the charm to the channel `5` not
`dpe`
  • Loading branch information
MiaAltieri authored Feb 24, 2023
1 parent 3069014 commit 1b59b94
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
with:
credentials: "${{ secrets.CHARMHUB_TOKEN }}"
github-token: "${{ secrets.GITHUB_TOKEN }}"
channel: "dpe/edge"
channel: "5/edge"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ tls internal key - `string`; TLS external key for encryption inside the cluster
### Basic Usage
To deploy a single unit of MongoDB using its default configuration
```shell
juju deploy mongodb --channel dpe/edge
juju deploy mongodb --channel 5/edge
```

It is customary to use MongoDB with replication. Hence usually more than one unit (preferably an odd number to prohibit a "split-brain" scenario) is deployed. To deploy MongoDB with multiple replicas, specify the number of desired units with the `-n` option.
```shell
juju deploy mongodb --channel dpe/edge -n <number_of_replicas>
juju deploy mongodb --channel 5/edge -n <number_of_replicas>
```

To retrieve primary replica one can use the action `get-primary` on any of the units running MongoDB
Expand Down
16 changes: 8 additions & 8 deletions documentation/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ Model "admin/tutorial" is empty.


## Deploy Charmed MongoDB
To deploy Charmed MongoDB, all you need to do is run the following command, which will fetch the charm from [Charmhub](https://charmhub.io/mongodb?channel=dpe/edge) and deploy it to your model:
To deploy Charmed MongoDB, all you need to do is run the following command, which will fetch the charm from [Charmhub](https://charmhub.io/mongodb?channel=5/edge) and deploy it to your model:
```shell
juju deploy mongodb --channel dpe/edge
juju deploy mongodb --channel 5/edge
```

Juju will now fetch Charmed MongoDB and begin deploying it to the LXD cloud. This process can take several minutes depending on how provisioned (RAM, CPU,etc) your machine is. You can track the progress by running:
Expand All @@ -93,7 +93,7 @@ Model Controller Cloud/Region Version SLA Timestamp
tutorial overlord localhost/localhost 2.9.37 unsupported 11:24:30Z
App Version Status Scale Charm Channel Rev Exposed Message
mongodb active 1 mongodb dpe/edge 96 no
mongodb active 1 mongodb 5/edge 96 no
Unit Workload Agent Machine Public address Ports Message
mongodb/0* active idle 0 10.23.62.156 27017/tcp
Expand Down Expand Up @@ -149,7 +149,7 @@ Model Controller Cloud/Region Version SLA Timestamp
tutorial overlord localhost/localhost 2.9.37 unsupported 11:31:16Z

App Version Status Scale Charm Channel Rev Exposed Message
mongodb active 1 mongodb dpe/edge 96 no Replica set primary
mongodb active 1 mongodb 5/edge 96 no Replica set primary

Unit Workload Agent Machine Public address Ports Message
mongodb/0* active idle 0 <host IP> 27017/tcp Replica set primary
Expand Down Expand Up @@ -283,7 +283,7 @@ Model Controller Cloud/Region Version SLA Timestamp
tutorial overlord localhost/localhost 2.9.37 unsupported 14:42:04Z
App Version Status Scale Charm Channel Rev Exposed Message
mongodb active 3 mongodb dpe/edge 96 no Replica set primary
mongodb active 3 mongodb 5/edge 96 no Replica set primary
Unit Workload Agent Machine Public address Ports Message
mongodb/0* active idle 0 10.23.62.156 27017/tcp Replica set primary
Expand Down Expand Up @@ -461,7 +461,7 @@ Model Controller Cloud/Region Version SLA Timestamp
tutorial overlord localhost/localhost 2.9.37 unsupported 14:44:25Z
App Version Status Scale Charm Channel Rev Exposed Message
mongodb active 2 mongodb dpe/edge 96 no Replica set primary
mongodb active 2 mongodb 5/edge 96 no Replica set primary
Unit Workload Agent Machine Public address Ports Message
mongodb/0* active idle 0 10.23.62.156 27017/tcp Replica set primary
Expand Down Expand Up @@ -581,7 +581,7 @@ tutorial overlord localhost/localhost 2.9.37 unsupported 10:32:09Z
App Version Status Scale Charm Channel Rev Exposed Message
data-integrator active 1 data-integrator edge 3 no
mongodb active 2 mongodb dpe/edge 96 no
mongodb active 2 mongodb 5/edge 96 no
Unit Workload Agent Machine Public address Ports Message
data-integrator/0* active idle 5 10.23.62.216 received mongodb credentials
Expand Down Expand Up @@ -731,7 +731,7 @@ Model Controller Cloud/Region Version SLA Timestamp
tutorial overlord localhost/localhost 2.9.37 unsupported 09:24:12Z
App Version Status Scale Charm Channel Rev Exposed Message
mongodb active 2 mongodb dpe/edge 96 no Replica set primary
mongodb active 2 mongodb 5/edge 96 no Replica set primary
tls-certificates-operator blocked 1 tls-certificates-operator edge 16 no Configuration options missing: ['certificate', 'ca-certificate']
Unit Workload Agent Machine Public address Ports Message
Expand Down

0 comments on commit 1b59b94

Please sign in to comment.