Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
aefcb06f
Commit
aefcb06f
authored
Aug 14, 2018
by
Leonard Gram
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: verifies the rpm packages signatures.
Closes #12370
parent
332e59d3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
.circleci/config.yml
+5
-0
scripts/build/verify_signed_packages.sh
+17
-0
No files found.
.circleci/config.yml
View file @
aefcb06f
...
...
@@ -148,6 +148,11 @@ jobs:
name
:
sign packages
command
:
'
./scripts/build/sign_packages.sh'
-
run
:
name
:
verify signed packages
command
:
|
curl https://grafanarel.s3.amazonaws.com/RPM-GPG-KEY-grafana > ~/.rpmdb/pubkeys/grafana.key
./scripts/build/verify_signed_packages.sh dist/*.rpm
-
run
:
name
:
sha-sum packages
command
:
'
go
run
build.go
sha-dist'
-
run
:
...
...
scripts/build/verify_signed_packages.sh
0 → 100755
View file @
aefcb06f
#!/bin/bash
_files
=
$*
ALL_SIGNED
=
0
for
file
in
$_files
;
do
rpm
-K
"
$file
"
|
grep
"pgp.*OK"
-q
if
[[
$?
!=
0
]]
;
then
ALL_SIGNED
=
1
echo
$file
NOT SIGNED
else
echo
$file
OK
fi
done
exit
$ALL_SIGNED
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment