Skip to content

Commit

Permalink
Merge pull request #253 from rundeck/issue/252
Browse files Browse the repository at this point in the history
Update gpg key fix #252
  • Loading branch information
gschueler authored Jul 3, 2019
2 parents 212074d + ba9a14b commit f432e88
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ stages:
- name: test
- name: upgrade-test
if: tag IS blank
- name: sign
jobs:
include:
- stage: build
Expand All @@ -33,12 +34,14 @@ jobs:
- stage: upgrade-test
env: JOB='rpm upgrade test'
script: bash scripts/rpm-upgrade.sh
after_success:
- mkdir $HOME/.gnupg
- openssl aes-256-cbc -K $encrypted_168997f84686_key -iv $encrypted_168997f84686_iv
-in gpg.tar.enc -out gpg.tar -d
- tar xv -C $HOME/.gnupg -f gpg.tar
- GPG_PATH=$HOME/.gnupg ./travis-sign-rpm.sh rd-cli-tool/build/distributions
- stage: sign
env: JOB='rpm signing'
script:
- test -d $HOME/.gnupg || mkdir $HOME/.gnupg
- openssl aes-256-cbc -K $encrypted_168997f84686_key -iv $encrypted_168997f84686_iv
-in gpg.tar.enc -out gpg.tar -d
- test -f gpg.tar && tar xv -C $HOME/.gnupg -f gpg.tar
- test -f $HOME/.gnupg/secring.gpg && GPG_PATH=$HOME/.gnupg ./travis-sign-rpm.sh rd-cli-tool/build/distributions
deploy:
provider: releases
api_key:
Expand Down
Binary file modified gpg.tar.enc
Binary file not shown.

0 comments on commit f432e88

Please sign in to comment.