Skip to content

Commit

Permalink
Reconfigure GPG signing keys and environment variables [ci deploy]
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosbarbero committed Oct 26, 2021
1 parent 3eb9f0f commit ca458e6
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ echo "[START GPG] Setup Signing Key"

if [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ] && [[ "$TRAVIS_COMMIT_MESSAGE" == *"[ci deploy]"* ]];
then
openssl aes-256-cbc -K $encrypted_01edcdfe89aa_key -iv $encrypted_01edcdfe89aa_iv -in .ci/secret.asc.enc -out .ci/secret.asc -d
echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE --import
echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust
fi

echo "[END GPG] Setup Signing Key"
Binary file removed .ci/secret.asc.enc
Binary file not shown.
5 changes: 1 addition & 4 deletions .ci/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<gpg.executable>gpg</gpg.executable>
<gpg.keyname>${env.GPG_KEY_NAME}</gpg.keyname>
<gpg.executable>${env.GPG_EXECUTABLE}</gpg.executable>
<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>
<gpg.defaultKeyring>false</gpg.defaultKeyring>
<gpg.secretKeyring>.ci/secret.asc</gpg.secretKeyring>
</properties>
</profile>
</profiles>
Expand Down
Binary file removed .ci/signingkey.asc.enc
Binary file not shown.
6 changes: 0 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,3 @@ deploy:
branch: master
repo: marcosbarbero/spring-cloud-zuul-ratelimit
jdk: oraclejdk11
env:
global:
- secure: NtNa5ECD5zk+9iTMPiH7yKCAWyiAwbX1bDDvgQ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