Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit 795dae5

Browse files
authored
Add upgrade documentation (#115)
* Add upgrade documentation * update changelog
1 parent 3eed333 commit 795dae5

7 files changed

Lines changed: 30 additions & 18 deletions

File tree

.github/pull_request_template.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ Applicable spec: <link>
2525
- [ ] The [charm style guide](https://juju.is/docs/sdk/styleguide) was applied
2626
- [ ] The [contributing guide](https://github.com/canonical/is-charms-contributing-guide) was applied
2727
- [ ] The changes are compliant with [ISD054 - Managing Charm Complexity](https://discourse.charmhub.io/t/specification-isd014-managing-charm-complexity/11619)
28-
- [ ] The documentation is generated using `src-docs`
2928
- [ ] The documentation for charmhub is updated
3029
- [ ] The PR is tagged with appropriate label (`urgent`, `trivial`, `complex`)
3130
- [ ] The `CHANGELOG.md` is updated with user-relevant changes.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
Place here any unreleased changes that are subject to release in coming versions :).
1111

12+
## 2026-02-18
13+
14+
- Added `How to upgrade` documentation.
15+
1216
## 2025-09-03
1317

1418
- Added changelog for tracking user-relevant changes.

CONTRIBUTING.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,6 @@ in the root directory. The charm directory has been built using the
1616
[`paas-charm`](https://canonical-12-factor-app-support.readthedocs-hosted.com/latest/) approach and then modified to support
1717
the specific actions of this charm.
1818

19-
20-
## Generating src docs for every commit
21-
22-
Run the following command:
23-
24-
```bash
25-
echo -e "tox -e src-docs\ngit add src-docs\n" >> .git/hooks/pre-commit
26-
chmod +x .git/hooks/pre-commit
27-
```
28-
2919
## Testing
3020

3121
This project uses `tox` for managing test environments. There are some pre-configured environments

charm/docs/how-to/upgrade.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Upgrade
2+
3+
Before updating the charm, we recommend you to back up the database using the MongoDB charm’s `create-backup` action.
4+
5+
```bash
6+
juju run mongodb-k8s/leader create-backup
7+
```
8+
9+
Additional information can be found about backing up in the MongoDB charm's [documentation](https://canonical-charmed-mongodb.readthedocs-hosted.com/6/how-to/back-up-and-restore/create-a-backup/).
10+
11+
Then you can upgrade the `github-runner-webhook-router` charm:
12+
13+
```bash
14+
juju refresh github-runner-webhook-router
15+
```
16+
17+
Verify if the charm is active and idle by running the `juju status --wait 1s` command.

charm/docs/index.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ to provide application and Flask related metrics via Grafana dashboards.
2424

2525
| | |
2626
|--|--|
27-
|--| [Explanation](charm-architecture.md) </br> Concepts - discussion and clarification of key topics |
27+
|--| [How-to guides](how-to/upgrade.md) </br> Step-by-step guides covering key operations and common tasks |
28+
| [Reference](reference/charm-architecture.md) </br> Technical information - specifications, APIs, architecture |--|
2829

2930

3031
## Contributing to this documentation
@@ -55,3 +56,10 @@ projects, contributions, suggestions, fixes, and constructive feedback.
5556

5657
Thinking about using the Github Runner Webhook Router Operator for your next project?
5758
[Get in touch](https://matrix.to/#/#charmhub-charmdev:ubuntu.com)!
59+
60+
# Contents
61+
62+
1. [How To](how-to/)
63+
1. [Upgrade](how-to/upgrade.md)
64+
2. [Reference](reference/)
65+
1. [Charm architecture](reference/charm-architecture.md)
File renamed without changes.

generate-src-docs.sh

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)