Skip to content

Commit

Permalink
Move signing into build
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Jul 2, 2019
1 parent baace16 commit acff19d
Showing 1 changed file 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:
- 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
deploy:
provider: releases
api_key:
Expand Down

0 comments on commit acff19d

Please sign in to comment.