From c05b937f79248c67056b89195445459035fc5521 Mon Sep 17 00:00:00 2001 From: Arthur Thompson Date: Wed, 13 Jan 2016 21:29:16 -0800 Subject: [PATCH 1/6] Allow travis to stage release build --- .travis.yml | 7 ++- client-libraries/java/rest-client/build.xml | 55 ++++++++++++++++++-- client-libraries/java/rest-client/pom.xml | 2 +- settings.xml | 13 +++++ sign.key.enc | Bin 0 -> 5472 bytes 5 files changed, 72 insertions(+), 5 deletions(-) create mode 100644 sign.key.enc diff --git a/.travis.yml b/.travis.yml index 1d09c13..0f9e907 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,11 @@ language: java script: - ant -f ./client-libraries/java/rest-client/build.xml -lib ./client-libraries/java/rest-client/lib - deploy + stage before_install: +- openssl aes-256-cbc -K $encrypted_8864fe5d711d_key -iv $encrypted_8864fe5d711d_iv + -in sign.key.enc -out sign.key -d +- gpg --import sign.key - cp settings.xml ${HOME}/.m2/settings.xml after_success: - echo "deploy completed." @@ -13,3 +16,5 @@ env: global: - secure: JLi7Nhp/kr5Nv8e3Ldg0jEyitvjSljZwNLlR5SHphvUlV7POvVNqXJ994358wySD9sDEFCupHdO5sCmIkw4f9rQfEOB7uCWVr3qBR7qalQAeSCSjxkPAZMB7oZZrlgBR+aviwiUHlElVB+Qn6QtUWZfwT5qmCzKDTFTPiDaby2s= - secure: MN7EKwGBOUQ9FDA4TXnq4lDprIBXmkXHMsp6jSBhdyXaZt0ix/FcmCqCYNumxrAVxquHRmcgb6hI5EuqZNHfI0hTvhbPGG9MIKweMNzWC3O9Lw44ufvog2wa2Xa/+hJDHNSLsL5HiF4sWy//V7/GcfYnIpdl/GN43dKBsd8FooQ= + - secure: Me3raHMfhxGb9nYnxBSBW+vAzsw1Aq+pAajwmbqXonr6L9Qq4hRAd07g7NavPw3sGGeLpTe9s0TzKnEAi01DmTLcAu+CWTaBjSxUlNXZHGdUBl3czOpjcm4iqw86HPAlxb+ZkqBRmHe24w/kJY6oqIOo+9Zj4lw09QAUYflLqvI= + - secure: bvJg8pV4qPqbuh+BX3QxyZcCZmdJGD5VQnzMRz/9F1enonfuwJfbPqerScDONgOYl8V0P+Q1NN8HOa/SkjHp7IeVqJmWHFhfM1r3uahck/6fGO+FsfWqjBfjpRx7QDNPq3hKXVLoRBmNBlnQxoMpzOogiszWXOG22BLr511DdZM= diff --git a/client-libraries/java/rest-client/build.xml b/client-libraries/java/rest-client/build.xml index 24a63ad..5858e9e 100644 --- a/client-libraries/java/rest-client/build.xml +++ b/client-libraries/java/rest-client/build.xml @@ -16,7 +16,6 @@ --> - @@ -30,7 +29,7 @@ - + @@ -38,6 +37,8 @@ + @@ -114,6 +115,20 @@ + + + + + + + + + + + + + + @@ -125,7 +140,7 @@ - + @@ -142,4 +157,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/client-libraries/java/rest-client/pom.xml b/client-libraries/java/rest-client/pom.xml index 821edb4..90d56d4 100644 --- a/client-libraries/java/rest-client/pom.xml +++ b/client-libraries/java/rest-client/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.google.gcm gcm-server - 1.0-SNAPSHOT + 1.0.0 jar GCM Java Server Client Library Manage GCM on server diff --git a/settings.xml b/settings.xml index 2345142..fe72e6f 100644 --- a/settings.xml +++ b/settings.xml @@ -6,4 +6,17 @@ ${env.CI_DEPLOY_PASSWORD} + + + gpg + + + ${env.GPG_KEY_ID} + ${env.GPG_KEY_PASSPHRASE} + + + diff --git a/sign.key.enc b/sign.key.enc new file mode 100644 index 0000000000000000000000000000000000000000..e39745a486770b7778c68d2a0c4e04113677a404 GIT binary patch literal 5472 zcmV-m6`$(EZOp5{>eYT(>T>Lh@brD5pK}3h$oVOHI92<|YN7{uQOS%eA@Qg`j{#O9 zfIe@k8BNNy^VC#TT=iE#2oVakq0qC9p8I?+!7qq%j=U<3#Uc8Io|KD9lO zWS{5*l07W-xOyiBU|1_kX+iVA!?xIh)q=|YGzPRIWU~J{$blwuAbeZFeB!JX;?YOs zLi`N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`#S+zhj?{Wc#m_V@bV^lv?nRAVAWtr%P$#@bU=IlWtbyY|w|_^bdvhk*98XC#z{jK{RG431J;B3}-3!$nY;7jLK6m1C1&_3E+DM z4e~BZzRH4+nHnl(VZoSFQa5}RKyfuYU8osk)trx>u>F1!xpBBo+Cy>|-{^yG@3zar zs`o!ktkt5ep`gDru}02S>vZ$|`2}#L^VM7cCvY(g%2}RU{mu-q0h+Y45bk4M5*4H{ z;7?(8VGQ0O7Hyo+@|}eHof;IAx4t?`ZCueMdkzWwiM|&cYoB$Q{;-&X6Wm|I4HB1q zDmoNr_%rqF8FlK$An0qR+13zHdl`$)2ovUlm&v8odPFm-o5amEd>a(Sv^MpSyWcau zuhDWtI2|O`Xw`I#(Vfy(^^q W%?wx=34$(F6bjJrXeFs~TNzpweVViY literal 0 HcmV?d00001 From c25802c9da83565d7fadd7d5731a50d48f0e5b4f Mon Sep 17 00:00:00 2001 From: Arthur Thompson Date: Thu, 14 Jan 2016 21:17:48 -0800 Subject: [PATCH 2/6] Deploy if tagged, stage otherwise --- .travis.yml | 6 ++---- build.sh | 9 +++++++++ client-libraries/java/rest-client/build.xml | 4 ++-- 3 files changed, 13 insertions(+), 6 deletions(-) create mode 100755 build.sh diff --git a/.travis.yml b/.travis.yml index 0f9e907..fecb123 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,15 @@ language: java script: -- ant -f ./client-libraries/java/rest-client/build.xml -lib ./client-libraries/java/rest-client/lib - stage +- ./build.sh before_install: - openssl aes-256-cbc -K $encrypted_8864fe5d711d_key -iv $encrypted_8864fe5d711d_iv -in sign.key.enc -out sign.key -d - gpg --import sign.key - cp settings.xml ${HOME}/.m2/settings.xml -after_success: -- echo "deploy completed." branches: only: - master + - /^v[0-9]{1,2}.[0-9]{1,2}.[0-9]{1,3}$/ env: global: - secure: JLi7Nhp/kr5Nv8e3Ldg0jEyitvjSljZwNLlR5SHphvUlV7POvVNqXJ994358wySD9sDEFCupHdO5sCmIkw4f9rQfEOB7uCWVr3qBR7qalQAeSCSjxkPAZMB7oZZrlgBR+aviwiUHlElVB+Qn6QtUWZfwT5qmCzKDTFTPiDaby2s= diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..d32ef84 --- /dev/null +++ b/build.sh @@ -0,0 +1,9 @@ +#!/bin/bash +tagCount=$(git tag -l --points-at HEAD | wc -l) +if [ $tagCount -gt 0 ]; then + echo "tagged so deploy" + ant -f ./client-libraries/java/rest-client/build.xml -lib ./client-libraries/java/rest-client/lib deploy +else + echo "not tagged so stage" + ant -f ./client-libraries/java/rest-client/build.xml -lib ./client-libraries/java/rest-client/lib stage +fi diff --git a/client-libraries/java/rest-client/build.xml b/client-libraries/java/rest-client/build.xml index 5858e9e..1d2c8a8 100644 --- a/client-libraries/java/rest-client/build.xml +++ b/client-libraries/java/rest-client/build.xml @@ -147,7 +147,7 @@ - + @@ -159,7 +159,7 @@ - + From 246fd34c9d9af6da95dd2c23115a458a509f9baa Mon Sep 17 00:00:00 2001 From: Arthur Thompson Date: Fri, 15 Jan 2016 12:10:20 -0800 Subject: [PATCH 3/6] Use TRAVIS_TAG to check for tagged build Remove branch restrictions --- .travis.yml | 4 ---- build.sh | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index fecb123..6066e3c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,10 +6,6 @@ before_install: -in sign.key.enc -out sign.key -d - gpg --import sign.key - cp settings.xml ${HOME}/.m2/settings.xml -branches: - only: - - master - - /^v[0-9]{1,2}.[0-9]{1,2}.[0-9]{1,3}$/ env: global: - secure: JLi7Nhp/kr5Nv8e3Ldg0jEyitvjSljZwNLlR5SHphvUlV7POvVNqXJ994358wySD9sDEFCupHdO5sCmIkw4f9rQfEOB7uCWVr3qBR7qalQAeSCSjxkPAZMB7oZZrlgBR+aviwiUHlElVB+Qn6QtUWZfwT5qmCzKDTFTPiDaby2s= diff --git a/build.sh b/build.sh index d32ef84..911adae 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,6 @@ #!/bin/bash -tagCount=$(git tag -l --points-at HEAD | wc -l) -if [ $tagCount -gt 0 ]; then +tagLen=${#TRAVIS_TAG} +if [ $tagLen -gt 0 ]; then echo "tagged so deploy" ant -f ./client-libraries/java/rest-client/build.xml -lib ./client-libraries/java/rest-client/lib deploy else From babd7653051ff15917f9e00490beb84145a74f40 Mon Sep 17 00:00:00 2001 From: Arthur Thompson Date: Fri, 15 Jan 2016 12:19:33 -0800 Subject: [PATCH 4/6] Decrypt and install gpg keys only when deploying --- .travis.yml | 3 --- build.sh | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6066e3c..f90ad06 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,6 @@ language: java script: - ./build.sh before_install: -- openssl aes-256-cbc -K $encrypted_8864fe5d711d_key -iv $encrypted_8864fe5d711d_iv - -in sign.key.enc -out sign.key -d -- gpg --import sign.key - cp settings.xml ${HOME}/.m2/settings.xml env: global: diff --git a/build.sh b/build.sh index 911adae..cbaa345 100755 --- a/build.sh +++ b/build.sh @@ -2,6 +2,8 @@ tagLen=${#TRAVIS_TAG} if [ $tagLen -gt 0 ]; then echo "tagged so deploy" + openssl aes-256-cbc -K $encrypted_8864fe5d711d_key -iv $encrypted_8864fe5d711d_iv -in sign.key.enc -out sign.key -d + gpg --import sign.key ant -f ./client-libraries/java/rest-client/build.xml -lib ./client-libraries/java/rest-client/lib deploy else echo "not tagged so stage" From d10c3ab6cd7fe3fe56c4e9cfd0982247c6023aa0 Mon Sep 17 00:00:00 2001 From: Arthur Thompson Date: Fri, 15 Jan 2016 14:25:52 -0800 Subject: [PATCH 5/6] Test PRs --- build.sh | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/build.sh b/build.sh index cbaa345..ab9df52 100755 --- a/build.sh +++ b/build.sh @@ -1,11 +1,16 @@ #!/bin/bash tagLen=${#TRAVIS_TAG} -if [ $tagLen -gt 0 ]; then - echo "tagged so deploy" - openssl aes-256-cbc -K $encrypted_8864fe5d711d_key -iv $encrypted_8864fe5d711d_iv -in sign.key.enc -out sign.key -d - gpg --import sign.key - ant -f ./client-libraries/java/rest-client/build.xml -lib ./client-libraries/java/rest-client/lib deploy +if [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then + if [ $tagLen -gt 0 ]; then + echo "tagged so deploy" + openssl aes-256-cbc -K $encrypted_8864fe5d711d_key -iv $encrypted_8864fe5d711d_iv -in sign.key.enc -out sign.key -d + gpg --import sign.key + ant -f ./client-libraries/java/rest-client/build.xml -lib ./client-libraries/java/rest-client/lib deploy + else + echo "not tagged so stage" + ant -f ./client-libraries/java/rest-client/build.xml -lib ./client-libraries/java/rest-client/lib stage + fi else - echo "not tagged so stage" - ant -f ./client-libraries/java/rest-client/build.xml -lib ./client-libraries/java/rest-client/lib stage + echo "PR so test" + ant -f ./client-libraries/java/rest-client/build.xml -lib ./client-libraries/java/rest-client/lib tests fi From 11870e1120e1a37ca2d1bd6375896fed94332406 Mon Sep 17 00:00:00 2001 From: Arthur Thompson Date: Fri, 15 Jan 2016 15:20:16 -0800 Subject: [PATCH 6/6] Add comments to build.sh --- build.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/build.sh b/build.sh index ab9df52..201bcc2 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,17 @@ #!/bin/bash +# This script chooses the appropriate build target. +# Pull requests - use test target. +# Commits on master - use stage target, stage SNAPSHOT artifacts. +# Tagged commits - use deploy target, stage release artifacts. +# +# Get length of tag (len will be 0 if commit has no tag) tagLen=${#TRAVIS_TAG} +# If commit is not a pull request use deploy or stage based on the commit tag, +# if it is a pull request use tests. if [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then + # If tag length is grater than 0 then decrypt and import gpg key then use + # deploy target to build sign and deploy artifacts. If tag length is 0 use + # stage target to build and stage artifacts. if [ $tagLen -gt 0 ]; then echo "tagged so deploy" openssl aes-256-cbc -K $encrypted_8864fe5d711d_key -iv $encrypted_8864fe5d711d_iv -in sign.key.enc -out sign.key -d