mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
CircleCI: Enable plug-in signing (#24240)
* CircleCI: Include signed manifest when building plug-ins
This commit is contained in:
parent
de0e1b2c58
commit
a87381ece6
@ -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:
|
|||||||
- run:
|
- run:
|
||||||
name: Build internal Grafana plug-ins
|
name: Build internal Grafana plug-ins
|
||||||
command: |
|
command: |
|
||||||
/tmp/grabpl build-plugins --jobs 2 --edition << parameters.edition >>
|
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 >>
|
||||||
|
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 @@
|
|||||||
"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",
|
||||||
|
Loading…
Reference in New Issue
Block a user