CircleCI: Enable plug-in signing (#24240)

* CircleCI: Include signed manifest when building plug-ins

(cherry picked from commit a87381ece6)
This commit is contained in:
Arve Knudsen
2020-05-07 14:59:21 +02:00
parent f214005fe3
commit 3d0d38fd64
2 changed files with 8 additions and 1 deletions
+7 -1
View File
@@ -192,7 +192,13 @@ jobs:
- run:
name: Build internal Grafana plug-ins
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:
name: Move artifacts
command: |
@@ -7,6 +7,7 @@
"metrics": true,
"info": {
"version": "1.0.0",
"description": "Data source that supports manual table & CSV input",
"author": {
"name": "Grafana Labs",