Commit a87381ec by Arve Knudsen Committed by GitHub

CircleCI: Enable plug-in signing (#24240)

* CircleCI: Include signed manifest when building plug-ins
parent de0e1b2c
...@@ -54,7 +54,7 @@ commands: ...@@ -54,7 +54,7 @@ commands:
- run: - run:
name: "Install Grafana build pipeline tool" name: "Install Grafana build pipeline tool"
command: | command: |
VERSION=0.4.3 VERSION=0.4.4
curl -fLO https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v${VERSION}/grabpl curl -fLO https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v${VERSION}/grabpl
chmod +x grabpl chmod +x grabpl
mv grabpl /tmp mv grabpl /tmp
...@@ -192,7 +192,13 @@ jobs: ...@@ -192,7 +192,13 @@ jobs:
- run: - run:
name: Build internal Grafana plug-ins name: Build internal Grafana plug-ins
command: | command: |
if [[ -n "$CIRCLE_PR_NUMBER" ]]; then
# This is a forked PR, so don't sign as it requires an API secret
/tmp/grabpl build-plugins --jobs 2 --edition << parameters.edition >> /tmp/grabpl build-plugins --jobs 2 --edition << parameters.edition >>
else
export GRAFANA_API_KEY=$GRAFANA_COM_API_KEY
/tmp/grabpl build-plugins --jobs 2 --edition << parameters.edition >> --sign --signing-admin
fi
- run: - run:
name: Move artifacts name: Move artifacts
command: | command: |
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
"metrics": true, "metrics": true,
"info": { "info": {
"version": "1.0.0",
"description": "Data source that supports manual table & CSV input", "description": "Data source that supports manual table & CSV input",
"author": { "author": {
"name": "Grafana Labs", "name": "Grafana Labs",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment