mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 01:42:12 +08:00
tech(build): sign and deploy packages to s3
This commit is contained in:
4
scripts/build/rpmmacros
Normal file
4
scripts/build/rpmmacros
Normal file
@ -0,0 +1,4 @@
|
||||
%_signature gpg
|
||||
%_gpg_path /home/ubuntu/.gnupg
|
||||
%_gpg_name Grafana
|
||||
%_gpgbin /usr/bin/gpg
|
@ -4,6 +4,6 @@ git clone git@github.com:torkelo/private.git ~/private-repo
|
||||
|
||||
gpg --allow-secret-key-import --import ~/private-repo/signing/private.key
|
||||
|
||||
cp rpmmacros ~/.rpmmacros
|
||||
cp ./scripts/build/rpmmacros ~/.rpmmacros
|
||||
|
||||
./scripts/build/sign_expect $GPG_KEY_PASSWORD dist/*.rpm
|
||||
|
Reference in New Issue
Block a user