Skip to content

Commit 8dc7a84

Browse files
committed
fix
1 parent bdd0e88 commit 8dc7a84

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
release:
1010
runs-on: ubuntu-latest
11+
env:
12+
GRAFANA_API_KEY: ${{ secrets.GRAFANA_API_KEY }}
1113

1214
steps:
1315
- uses: actions/checkout@v2
@@ -48,6 +50,10 @@ jobs:
4850
- name: Build and test frontend
4951
run: yarn build
5052

53+
- name: Sign plugin
54+
run: yarn sign
55+
if: ${{ env.GRAFANA_API_KEY != '' }}
56+
5157
- name: Get plugin metadata
5258
id: metadata
5359
run: |
@@ -82,7 +88,7 @@ jobs:
8288
mv dist "${{ steps.metadata.outputs.plugin-id }}"
8389
zip "${{ steps.metadata.outputs.archive }}" "${{ steps.metadata.outputs.plugin-id }}" -r
8490
md5sum "${{ steps.metadata.outputs.archive }}" > "${{ steps.metadata.outputs.archive-checksum }}"
85-
echo "checksum=$(cat \"./${{ steps.metadata.outputs.archive-checksum }}\" | cut -d' ' -f1)" >> $GITHUB_OUTPUT
91+
echo "checksum=$(cat './${{ steps.metadata.outputs.archive-checksum }}' | cut -d' ' -f1)" >> $GITHUB_OUTPUT
8692
8793
- name: Upload artifacts
8894
uses: actions/upload-artifact@v2

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ To start using the Netdata data source plugin on your Grafana environment, local
1515

1616
The installations below will use different tools like: curl, docker, jq, wget, unzip and xcopy.
1717

18+
### Directly through the Grafana UI
19+
20+
Netdata is available in the Grafana Plugin catalog.
21+
1822
### Docker
1923

2024
#### Pre-buit script - setup-demo-environment

setup-demo-environment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e -o pipefail
55

66
readonly CONTAINER_NAME="grafana-netdata-plugin-demo"
77
readonly CONTAINER_PORT=3000
8-
readonly GRAFANA_DOCKER_IMAGE="grafana/grafana:9.1.6"
8+
readonly GRAFANA_DOCKER_IMAGE="grafana/grafana:10.2.2"
99
readonly NETDATA_PLUGIN_REPO="netdata/netdata-grafana-datasource-plugin"
1010
readonly PROGNAME=$(basename $0)
1111
readonly ARG=$1

0 commit comments

Comments
 (0)