Skip to content

Commit

Permalink
Working on #539: Olympus upgrade between consecutive Travis CI builds…
Browse files Browse the repository at this point in the history
… fails
  • Loading branch information
Antonis committed Mar 14, 2017
1 parent 72254a0 commit d16d60d
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 15 deletions.
20 changes: 15 additions & 5 deletions scripts/build-olympus.bash
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,22 @@
# For starters lets only create keychains in travis, since locally everything is setup already. But ultimately, we should create a separate new keychain locally to so that we can test that better
echo "-- TRAVIS: $TRAVIS"

# Decrypting certs and profiles (not sure if profiles actually need to be encrypted, but this is how others did it so I'm following the same route just to be on the safe side)
echo "-- Setting up signing"
echo "-- Decrypting keys, etc"
echo "-- Setting up keychain"

echo "-- Installing provisioning profiles, so that XCode can find them"
if [ ! -z "$TRAVIS" ]
then
# Decrypting certs and profiles (not sure if profiles actually need to be encrypted, but this is how others did it so I'm following the same route just to be on the safe side)
echo "-- Setting up signing"
echo "-- Decrypting keystore"
openssl aes-256-cbc -k "$FILE_ENCRYPTION_PASSWORD" -in scripts/keystore/${DEVELOPMENT_KEYSTORE}.enc -d -a -out scripts/certs/${DEVELOPMENT_KEYSTORE}

echo "-- Installing keystore"
ll ~/.android/

# Overwrite default keystore file only in travis, let's keep local builds separate for now
cp scripts/certs/${DEVELOPMENT_KEYSTORE} ~/.android/debug.keystore
fi

#echo "-- Installing provisioning profiles, so that XCode can find them"


if [ ! -z "$TRAVIS" ]
Expand Down
27 changes: 27 additions & 0 deletions scripts/keystore/debug.keystore.enc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
U2FsdGVkX1/EAExn5PtaD0H1rmC40xnids0x7ynVbQPf4YoWA/ks6srGNLq1jWvD
5y+ZRD7NaKgtcttt2XhwY8rGHGqWJDxI1Syk8Xrt2RMBsjl2fwk1jv5DUw5hDsqX
nh7khrv8ZtxgcWMFg0YL3Osmic1lsy6x3jgjRt0WAnUARNLoH3Vx8ijNc+ZJwikI
6eB7m3Sj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ilm+fCwuePfczpcS9X9nQVldQ5B52Ym7UuSRyJ
Yx52b3bTCQNm6+fQXjZaaWT5BSXxaOZcCnSnyLwmHKSB7kl+QZIL0YUmjYJFxpj8
xUB7KCCoN9/eVMjo1+g0DckDGRbOtnuz2GgMR/w4CTV9Fpv/C/eSbcr4JKJLmpC4
JoJZaeRaTf3jBQH6gp7qGk6DZrN/ebW+W6pi7vvqfhs4JrJnFVtvqKy65UE4KM0B
wISy6QW9YEjSTjA1NcoL874cnnVE0tkvf2/pEtwxnY110O4V2aag4ZbrO3FiuHs7
k8IsSJxcg0Nm6XTuMdNdht0MRDg0twxI49Mg1P5okhlwlc7BqIGck4PzOQe4mx8E
n2bS4CmB33d94v3npBdYFjynflKX64U7kL8KmJYNFSPv6AXX/E+dfNOeeJD9eQpA
isYjCi/uV+w7qhK0bi4e38xsT9FQQlbVprxn/mY0dr4=
20 changes: 10 additions & 10 deletions scripts/local-wrapper.bash
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,20 @@ export -f is_git_repo_state_clean
# Common to local and travis builds
export COMMIT_AUTHOR_EMAIL="[email protected]"
export APP_NAME="restcomm-olympus"
export DEVELOPER_NAME="iPhone Distribution: Telestax, Inc."
export DEVELOPMENT_TEAM="H9PG74NSQT"
#export DEVELOPER_NAME="iPhone Distribution: Telestax, Inc."
#export DEVELOPMENT_TEAM="H9PG74NSQT"
# Keep the first seven chars from SHA1 as typically done
export COMMIT_SHA1=`git rev-parse HEAD | cut -c -7`
#export DEVELOPMENT_PROVISIONING_PROFILE_NAME="development"

export APPLE_CERT="AppleWWDRCA.cer"
export DEVELOPMENT_CERT="development-cert.cer"
export DEVELOPMENT_KEY="development-key.p12"
export DISTRIBUTION_CERT="enterprise-distribution-cert.cer"
export DISTRIBUTION_KEY="enterprise-distribution-key.p12"
export DEVELOPMENT_PROVISIONING_PROFILE_OLYMPUS_NAME="profile-development-olympus"
export DISTRIBUTION_PROVISIONING_PROFILE_OLYMPUS_NAME="profile-distribution-olympus"
export CUSTOM_KEYCHAIN="ios-build.keychain"
#export APPLE_CERT="AppleWWDRCA.cer"
export DEVELOPMENT_KEYSTORE="debug.keystore"
#export DEVELOPMENT_KEY="development-key.p12"
#export DISTRIBUTION_CERT="enterprise-distribution-cert.cer"
#export DISTRIBUTION_KEY="enterprise-distribution-key.p12"
#export DEVELOPMENT_PROVISIONING_PROFILE_OLYMPUS_NAME="profile-development-olympus"
#export DISTRIBUTION_PROVISIONING_PROFILE_OLYMPUS_NAME="profile-distribution-olympus"
#export CUSTOM_KEYCHAIN="ios-build.keychain"

if [ ! -z "$TRAVIS" ]
then
Expand Down

0 comments on commit d16d60d

Please sign in to comment.