Skip to content

Commit

Permalink
Add check for MANIFEST.txt after signing (grafana#1198)
Browse files Browse the repository at this point in the history
Add a check in drone so build fails if plugin is not successfully
signed.

Co-authored-by: Joey Orlando <[email protected]>
  • Loading branch information
mderynck and joeyorlando authored Jan 24, 2023
1 parent cfa7fb8 commit e5643fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ steps:
- apt-get install zip
- cd grafana-plugin
- yarn sign
- if [ ! -f dist/MANIFEST.txt ]; then echo "Sign failed, MANIFEST.txt not created, aborting." && exit 1; fi
- yarn ci-build:finish
- yarn ci-package
- cd ci/dist
Expand Down Expand Up @@ -194,6 +195,7 @@ steps:
- apt-get install zip
- cd grafana-plugin
- yarn sign
- if [ ! -f dist/MANIFEST.txt ]; then echo "Sign failed, MANIFEST.txt not created, aborting." && exit 1; fi
- yarn ci-build:finish
- yarn ci-package
- cd ci/dist
Expand Down Expand Up @@ -415,6 +417,6 @@ kind: secret
name: drone_token
---
kind: signature
hmac: f77d17560f910f1a99ab8230674dc25c226d2b3c73cb90e63e53fb8ba760d57a
hmac: 662c2be2ccdd106ae4f23a557f981ef601d9693b0333e0bcda7189ddf16fb49a

...

0 comments on commit e5643fe

Please sign in to comment.