Skip to content

Commit

Permalink
docs: update notes on how to upgrade grafonnet
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Oct 4, 2024
1 parent 800bbcc commit 8a85053
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,15 @@ with `jsonnet`, you can deploy dashboards to a Grafana instance like this:

### Upgrading the grafonnet version

The grafonnet jsonnet library is bundled here with [jsonnet-bundler](https://github.com/jsonnet-bundler/jsonnet-bundler).
Just running `jb update` in the git repo root dir after installing jsonnet-bunder should bring
you up to speed.
The grafonnet jsonnet library is bundled here with [jsonnet-bundler]. The
upgrade procedure looks looks like this:

1. Install jsonnet-bunder
2. Update `jsonnetfile.json` to reference the new version
3. Run `jb update` in the git repo root dir
4. Search and replace remaining old version references with the new version

[jsonnet-bundler]: https://github.com/jsonnet-bundler/jsonnet-bundler

### Metrics guidelines

Expand Down

0 comments on commit 8a85053

Please sign in to comment.