diff --git a/.ci/before-deploy.sh b/.ci/before-deploy.sh new file mode 100644 index 00000000..f5188987 --- /dev/null +++ b/.ci/before-deploy.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +if [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ] && [[ "$TRAVIS_COMMIT_MESSAGE" == *"[ci deploy]"* ]]; then + openssl aes-256-cbc -K $encrypted_SOME_key -iv $encrypted_SOME_iv -in .ci/signingkey.asc.enc -out .ci/signingkey.asc -d + gpg --fast-import .ci/signingkey.asc +if \ No newline at end of file diff --git a/.ci/settings.xml b/.ci/settings.xml index 7d6cb8a4..66bffdcb 100644 --- a/.ci/settings.xml +++ b/.ci/settings.xml @@ -5,8 +5,8 @@ ossrh - ${env.OSSRH_USERNAME} - ${env.OSSRH_PASSWORD} + ${env.SONATYPE_USERNAME} + ${env.SONATYPE_PASSWORD} @@ -18,6 +18,7 @@ gpg + ${env.GPG_KEY_NAME} ${env.GPG_PASSPHRASE} diff --git a/.ci/signingkey.asc.enc b/.ci/signingkey.asc.enc index 08adaf2e..4262288f 100644 Binary files a/.ci/signingkey.asc.enc and b/.ci/signingkey.asc.enc differ diff --git a/.travis.yml b/.travis.yml index df98de29..41955727 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,14 +9,8 @@ script: install: - "./mvnw --settings .ci/settings.xml install -Dmaven.test.skip=true -Dgpg.skip -Dmaven.javadoc.skip=true -B -V -q" -before_install: -- openssl aes-256-cbc -K $encrypted_b7bda4e4f1ab_key -iv $encrypted_b7bda4e4f1ab_iv - -in .ci/signingkey.asc.enc -out .ci/signingkey.asc -d -- if [ ! -z "$GPG_SECRET_KEYS" ]; then echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE - --import; fi -- if [ ! -z "$GPG_OWNERTRUST" ]; then echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE - --import-ownertrust; fi after_success: +- .ci/before-deploy.sh - "./mvnw -pl '!spring-cloud-zuul-ratelimit-dependencies' clean org.jacoco:jacoco-maven-plugin:prepare-agent verify jacoco:report coveralls:report -q -Dlogging.level.root=ERROR" cache: @@ -36,9 +30,7 @@ deploy: jdk: oraclejdk11 env: global: - - secure: B5QVZ6SWzgQmlKmStQCHg0RcQPVbkti2Z3s5vi1gR0Oef6KYxBpkzP87yES08OvHG7Ha6XfJ28feML8URtTcdhBtkr4aKMGy9R+VvY9i7hykPLGnuejip89oTt4k8SlWkqmvzx4G6qB1YbooVdAbvaqARlS+t1RjSfOJU5kIBMyyrBshxPlavfzDp55tUcBrfbDEbQmdnRY84gXng+gz+ceJTzg/vxNPyKCcG5Ap/2qW0lH+ZRcJTUgtmNZZIpiw56YD3T/ltc3wVIHEgFzCGUiZAaRtHJW3PGComDKd9Z3JPaZO1nuJlD999Kok4I9IEZjpu7g1mXlaioYsAwholJTsugoinEZ6JChaeT/92ZWY1Ua0vT5YJjz0QCGzlhJ12I751QFk1Lam9hwlhZ7LafDi1p8vhQuN1I5NOulgnoXwZboZ9/2jbNp63o1nq773jULJiAsMXY+Pv8SLCNKzVANyEK9ECYKG3DSxuVLIpX/j1cYWf/UH5FxQ5aiDYnZpBVblWfsQxPuyVjHnIyaAvw4LsTq4DfRG8JMqjjGr0IUGV6Xa/6/hCfx5ojvWFQ17YJeGHJMGAfPwvsTPhLTNl6Wm1Iw6Lt3N9KJ6VaGnJDuza/mJuTrTAdGhZ28bcevNq03vW3bFenLh0EC8zamBBA9eNuqqDak6Q1OzV3z6dRo= - - secure: Tfm+Eu7st4Am1Pt4Zh2uD/QPbYMfrzjF6Mpkxa7lQpMzCMctm4+SZC8pd+GBrJdhXYIAyQhSmH3PaRzqfMwOpbLcbZiVS30zoV5aKwsD5lN7X2guA2yd87Xsp/kwJFoudMzvIf39DCYi/zB/hZFRu3KtVR46GWYgCmmYxzZzLJGz21G/auZP+q4Ncn/U8lcvOSERJLmThLc16znV4Sm8vLUy/ps3rWjnh5IBg+QOxtH7Gz0v2U57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