Skip to content

Commit d16d60d

Browse files
author
Antonis
committed
Working on #539: Olympus upgrade between consecutive Travis CI builds fails
1 parent 72254a0 commit d16d60d

File tree

3 files changed

+52
-15
lines changed

3 files changed

+52
-15
lines changed

scripts/build-olympus.bash

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,22 @@
1111
# 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
1212
echo "-- TRAVIS: $TRAVIS"
1313

14-
# 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)
15-
echo "-- Setting up signing"
16-
echo "-- Decrypting keys, etc"
17-
echo "-- Setting up keychain"
1814

19-
echo "-- Installing provisioning profiles, so that XCode can find them"
15+
if [ ! -z "$TRAVIS" ]
16+
then
17+
# 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)
18+
echo "-- Setting up signing"
19+
echo "-- Decrypting keystore"
20+
openssl aes-256-cbc -k "$FILE_ENCRYPTION_PASSWORD" -in scripts/keystore/${DEVELOPMENT_KEYSTORE}.enc -d -a -out scripts/certs/${DEVELOPMENT_KEYSTORE}
21+
22+
echo "-- Installing keystore"
23+
ll ~/.android/
24+
25+
# Overwrite default keystore file only in travis, let's keep local builds separate for now
26+
cp scripts/certs/${DEVELOPMENT_KEYSTORE} ~/.android/debug.keystore
27+
fi
28+
29+
#echo "-- Installing provisioning profiles, so that XCode can find them"
2030

2131

2232
if [ ! -z "$TRAVIS" ]
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
U2FsdGVkX1/EAExn5PtaD0H1rmC40xnids0x7ynVbQPf4YoWA/ks6srGNLq1jWvD
2+
5y+ZRD7NaKgtcttt2XhwY8rGHGqWJDxI1Syk8Xrt2RMBsjl2fwk1jv5DUw5hDsqX
3+
nh7khrv8ZtxgcWMFg0YL3Osmic1lsy6x3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2s
19+
cptu713uP3BHD16YGq65RssqsXrW4OlKdRIMWlkP+obdhtR7Q4NAKPLr7+SO569g
20+
MBzQ7eV00T8C7IkCzwAh00AeHzilm+fCwuePfczpcS9X9nQVldQ5B52Ym7UuSRyJ
21+
Yx52b3bTCQNm6+fQXjZaaWT5BSXxaOZcCnSnyLwmHKSB7kl+QZIL0YUmjYJFxpj8
22+
xUB7KCCoN9/eVMjo1+g0DckDGRbOtnuz2GgMR/w4CTV9Fpv/C/eSbcr4JKJLmpC4
23+
JoJZaeRaTf3jBQH6gp7qGk6DZrN/ebW+W6pi7vvqfhs4JrJnFVtvqKy65UE4KM0B
24+
wISy6QW9YEjSTjA1NcoL874cnnVE0tkvf2/pEtwxnY110O4V2aag4ZbrO3FiuHs7
25+
k8IsSJxcg0Nm6XTuMdNdht0MRDg0twxI49Mg1P5okhlwlc7BqIGck4PzOQe4mx8E
26+
n2bS4CmB33d94v3npBdYFjynflKX64U7kL8KmJYNFSPv6AXX/E+dfNOeeJD9eQpA
27+
isYjCi/uV+w7qhK0bi4e38xsT9FQQlbVprxn/mY0dr4=

scripts/local-wrapper.bash

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,20 @@ export -f is_git_repo_state_clean
6363
# Common to local and travis builds
6464
export COMMIT_AUTHOR_EMAIL="[email protected]"
6565
export APP_NAME="restcomm-olympus"
66-
export DEVELOPER_NAME="iPhone Distribution: Telestax, Inc."
67-
export DEVELOPMENT_TEAM="H9PG74NSQT"
66+
#export DEVELOPER_NAME="iPhone Distribution: Telestax, Inc."
67+
#export DEVELOPMENT_TEAM="H9PG74NSQT"
6868
# Keep the first seven chars from SHA1 as typically done
6969
export COMMIT_SHA1=`git rev-parse HEAD | cut -c -7`
7070
#export DEVELOPMENT_PROVISIONING_PROFILE_NAME="development"
7171

72-
export APPLE_CERT="AppleWWDRCA.cer"
73-
export DEVELOPMENT_CERT="development-cert.cer"
74-
export DEVELOPMENT_KEY="development-key.p12"
75-
export DISTRIBUTION_CERT="enterprise-distribution-cert.cer"
76-
export DISTRIBUTION_KEY="enterprise-distribution-key.p12"
77-
export DEVELOPMENT_PROVISIONING_PROFILE_OLYMPUS_NAME="profile-development-olympus"
78-
export DISTRIBUTION_PROVISIONING_PROFILE_OLYMPUS_NAME="profile-distribution-olympus"
79-
export CUSTOM_KEYCHAIN="ios-build.keychain"
72+
#export APPLE_CERT="AppleWWDRCA.cer"
73+
export DEVELOPMENT_KEYSTORE="debug.keystore"
74+
#export DEVELOPMENT_KEY="development-key.p12"
75+
#export DISTRIBUTION_CERT="enterprise-distribution-cert.cer"
76+
#export DISTRIBUTION_KEY="enterprise-distribution-key.p12"
77+
#export DEVELOPMENT_PROVISIONING_PROFILE_OLYMPUS_NAME="profile-development-olympus"
78+
#export DISTRIBUTION_PROVISIONING_PROFILE_OLYMPUS_NAME="profile-distribution-olympus"
79+
#export CUSTOM_KEYCHAIN="ios-build.keychain"
8080

8181
if [ ! -z "$TRAVIS" ]
8282
then

0 commit comments

Comments
 (0)