Build server to r21

This commit is contained in:
Ciaran Gultnieks committed 2013-01-21 11:09:56 +00:00
1 parent 17c9e2f4e7
commit 1a71dbf745
2 files changed
+8 -4

No files matched your search

@@ -12,10 +12,10 @@ script "setup-android-sdk" do
user user
cwd "/tmp"
code "
wget http://dl.google.com/android/android-sdk_r16-linux.tgz
tar zxvf android-sdk_r16-linux.tgz
wget http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz
tar zxvf android-sdk_r21.0.1-linux.tgz
mv android-sdk-linux #{sdk_loc}
rm android-sdk_r16-linux.tgz
rm android-sdk_r21.0.1-linux.tgz
#{sdk_loc}/tools/android update sdk --no-ui -t platform-tool
#{sdk_loc}/tools/android update sdk --no-ui -t tool
"
+5 -1
View File
@@ -23,7 +23,11 @@ if os.path.exists(boxfile):
vagrant(['halt'], serverdir)
print "Configuring build server VM"
vagrant(['up'], serverdir)
returncode, out, err = vagrant(['up'], serverdir)
if returncode != 0:
print "Failed to configure server"
print out
print err
print "Stopping build server VM"
vagrant(['halt'], serverdir)