Skip to content
Draft
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
10 changes: 3 additions & 7 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,18 @@ tox # run 'lint' and 'unit' environments

## Fetching libraries

Charm libraries are managed with charmcraft and recorded in `./scripts/update-charm-libs.sh`.

To update the libraries included, run

```shell
./scripts/update-charm-libs.sh
charmcraft fetch-libs
```

If you need to include more charm libraries, you can run:
If you need to include more charm libraries, you can add the new lib in the `charm-libs` section in charmcraft.yaml and run:

```shell
charmcraft fetch-lib <operator-libs>
charmcraft fetch-libs
```

And add the corresponding command to `./scripts/update-charm-libs.sh`.

## Checking for dashboard and alert rule updates

The openstack exporter dashboards and alert rules are managed
Expand Down
5 changes: 5 additions & 0 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ config:

If the snap file has been attached via the openstack-exporter resource, this option has no effect.

charm-libs:
- lib: grafana-agent.cos_agent
version: "0"
- lib: operator-libs-linux.snap
version: "2"

links:
documentation: https://discourse.charmhub.io/t/openstack-exporter-docs-index/13876
Expand Down
Loading
Loading