Skip to content

Commit

Permalink
Release 7.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Action CI committed Nov 19, 2020
1 parent a012b57 commit 364382a
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 11 deletions.
26 changes: 19 additions & 7 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,27 @@ Use Basic Auth only if these limitations are acceptable!
Via the [Grafana CLI](https://grafana.com/docs/grafana/latest/administration/cli/):

```BASH
$ grafana-cli --pluginUrl https://github.com/cloudspout/cloudspout-button-panel/releases/download/7.0.5/cloudspout-button-panel.zip \
$ grafana-cli --pluginUrl https://github.com/cloudspout/cloudspout-button-panel/releases/download/7.0.7/cloudspout-button-panel.zip \
plugins install cloudspout-button-panel
```

For Grafna >= 7.3.0 you must also set either
* the environment variable `GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=cloudspout-button-panel`
* update the Grafana configuration to include
```
[plugins]
allow_loading_unsigned_plugins=cloudspout-button-panel
```

### Docker

Use [Grafana's environment variable](https://grafana.com/docs/grafana/latest/installation/docker/#build-and-run-a-docker-image-with-pre-installed-plugins) to add this plugin to your installation:

```BASH
$ docker run -p 3000:3000 -it \
-e "GF_INSTALL_PLUGINS=https://github.com/cloudspout/cloudspout-button-panel/releases/download/7.0.5/cloudspout-button-panel.zip;cloudspout-button-panel" \
grafana/grafana:7.2.0
-e GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=cloudspout-button-panel \
-e "GF_INSTALL_PLUGINS=https://github.com/cloudspout/cloudspout-button-panel/releases/download/7.0.7/cloudspout-button-panel.zip;cloudspout-button-panel" \
grafana/grafana:7.3.1
```


Expand All @@ -85,7 +94,7 @@ This will run linting tools and apply prettier fix.
Use an actual Docker container in parallel to test:

```BASH
docker run --rm -p 3000:3000 -v "$(pwd)"/dist:/var/lib/grafana/plugins/cloudspout-button-panel --name=grafana grafana/grafana:7.2.0
$ docker run --rm -p 3000:3000 -v "$(pwd)"/dist:/var/lib/grafana/plugins/cloudspout-button-panel --name=grafana grafana/grafana:7.3.1
```

To build the plugin run:
Expand All @@ -96,9 +105,12 @@ npm run dist

## Deploy

```BASH
GITHUB_TOKEN=... npm run release
```
1. Update `README.md` for the correct, upcomming version.

2. ```BASH
GITHUB_TOKEN=... GRAFANA_API_KEY=... npm run release
```
or [GitHub action](https://github.com/cloudspout/cloudspout-button-panel/actions?query=workflow%3A%22Node.js+Release%22)

## License

Expand Down
Binary file modified dist/cloudspout-button-panel.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions dist/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"name": "Settings"
}
],
"version": "7.0.9",
"updated": "2020-11-11"
"version": "7.0.10",
"updated": "2020-11-19"
},
"dependencies": {
"grafanaVersion": "7.x.x",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cloudspout-button-panel",
"version": "7.0.9",
"version": "7.0.10",
"description": "Panel for a single button",
"scripts": {
"clean": "rm -rf dist/",
Expand Down

0 comments on commit 364382a

Please sign in to comment.