.travis-support: added
This commit is contained in:
parent
63af302450
commit
a38c82d897
6 changed files with 5 additions and 41 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule ".travis-support"]
|
||||||
|
path = .travis-support
|
||||||
|
url = git@github.com:kemitix/kemitix-travis-support.git
|
1
.travis-support
Submodule
1
.travis-support
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 1e1bc4ebcb290bba6e56dcfbe2afbe8b9b785a98
|
|
@ -8,7 +8,7 @@ install: true
|
||||||
script: "./mvnw clean install"
|
script: "./mvnw clean install"
|
||||||
deploy:
|
deploy:
|
||||||
provider: script
|
provider: script
|
||||||
script: sh travis-ci/travis-deploy.sh
|
script: sh .travis-support/deploy.sh
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
echo "Preparing to deploy to nexus..."
|
|
||||||
openssl aes-256-cbc -K $encrypted_f424d6efdd6f_key -iv $encrypted_f424d6efdd6f_iv \
|
|
||||||
-in travis-ci/codesigning.asc.enc -out travis-ci/codesigning.asc -d
|
|
||||||
echo "Signing key decrypted"
|
|
||||||
gpg --batch --fast-import travis-ci/codesigning.asc
|
|
||||||
echo "Signing key imported"
|
|
||||||
./mvnw --settings travis-ci/travis-settings.xml \
|
|
||||||
-Dskip-Tests=true -P release -B deploy
|
|
||||||
echo "Deploy complete"
|
|
||||||
|
|
|
@ -1,28 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
|
||||||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
|
|
||||||
<servers>
|
|
||||||
<server>
|
|
||||||
<id>sonatype-nexus-snapshots</id>
|
|
||||||
<username>kemitix</username>
|
|
||||||
<password>${env.CI_DEPLOY_PASSWORD}</password>
|
|
||||||
</server>
|
|
||||||
<server>
|
|
||||||
<id>sonatype-nexus-staging</id>
|
|
||||||
<username>kemitix</username>
|
|
||||||
<password>${env.CI_DEPLOY_PASSWORD}</password>
|
|
||||||
</server>
|
|
||||||
</servers>
|
|
||||||
<profiles>
|
|
||||||
<profile>
|
|
||||||
<id>gpg-sign</id>
|
|
||||||
<activation>
|
|
||||||
<activeByDefault>true</activeByDefault>
|
|
||||||
</activation>
|
|
||||||
<properties>
|
|
||||||
<gpg.executable>gpg</gpg.executable>
|
|
||||||
<gpg.keyname>${env.CI_DEPLOY_GPG_KEYNAME}</gpg.keyname>
|
|
||||||
<gpg.passphrase>${env.CI_DEPLOY_GPG_PASSPHRASE}</gpg.passphrase>
|
|
||||||
</properties>
|
|
||||||
</profile>
|
|
||||||
</profiles>
|
|
||||||
</settings>
|
|
Loading…
Reference in a new issue