Skip to content

Commit 495d15c

Browse files
committed
chore: prepare plugin publishing
1 parent 888c3e6 commit 495d15c

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
jobs:
99
release:
1010
runs-on: ubuntu-latest
11-
env:
12-
GRAFANA_API_KEY: ${{ secrets.GRAFANA_API_KEY }} # Requires a Grafana API key from Grafana.com.
11+
# env:
12+
# GRAFANA_API_KEY: ${{ secrets.GRAFANA_API_KEY }} # Requires a Grafana API key from Grafana.com.
1313
steps:
1414
- uses: actions/checkout@v3
1515
- name: Setup Node.js environment
@@ -51,15 +51,15 @@ jobs:
5151
version: latest
5252
args: buildAll
5353

54-
- name: Warn missing Grafana API key
55-
run: |
56-
echo Please generate a Grafana API key: https://grafana.com/docs/grafana/latest/developers/plugins/sign-a-plugin/#generate-an-api-key
57-
echo Once done please follow the instructions found here: https://github.com/${{github.repository}}/blob/main/README.md#using-github-actions-release-workflow
58-
if: ${{ env.GRAFANA_API_KEY == '' }}
59-
60-
- name: Sign plugin
61-
run: npm run sign
62-
if: ${{ env.GRAFANA_API_KEY != '' }}
54+
# - name: Warn missing Grafana API key
55+
# run: |
56+
# echo Please generate a Grafana API key: https://grafana.com/docs/grafana/latest/developers/plugins/sign-a-plugin/#generate-an-api-key
57+
# echo Once done please follow the instructions found here: https://github.com/${{github.repository}}/blob/main/README.md#using-github-actions-release-workflow
58+
# if: ${{ env.GRAFANA_API_KEY == '' }}
59+
#
60+
# - name: Sign plugin
61+
# run: npm run sign
62+
# if: ${{ env.GRAFANA_API_KEY != '' }}
6363

6464
- name: Get plugin metadata
6565
id: metadata

pkg/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func main() {
1717
// from Grafana to create different instances of SampleDatasource (per datasource
1818
// ID). When datasource configuration changed Dispose method will be called and
1919
// new datasource instance created using NewSampleDatasource factory.
20-
if err := datasource.Manage("quickwit-quickwit-datasource", quickwit.NewQuickwitDatasource, datasource.ManageOpts{}); err != nil {
20+
if err := datasource.Manage("paypay-quickwit-datasource", quickwit.NewQuickwitDatasource, datasource.ManageOpts{}); err != nil {
2121
log.DefaultLogger.Error(err.Error())
2222
os.Exit(1)
2323
}

src/plugin.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/grafana/grafana/master/docs/sources/developers/plugins/plugin.schema.json",
33
"type": "datasource",
4-
"name": "Quickwit",
5-
"id": "quickwit-quickwit-datasource",
4+
"name": "PayPay Quickwit",
5+
"id": "paypay-quickwit-datasource",
66
"metrics": true,
77
"backend": true,
88
"alerting": true,

0 commit comments

Comments
 (0)