mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
Build server to r21
This commit is contained in:
parent
17c9e2f4e7
commit
1a71dbf745
2 changed files with 8 additions and 4 deletions
|
@ -12,10 +12,10 @@ script "setup-android-sdk" do
|
||||||
user user
|
user user
|
||||||
cwd "/tmp"
|
cwd "/tmp"
|
||||||
code "
|
code "
|
||||||
wget http://dl.google.com/android/android-sdk_r16-linux.tgz
|
wget http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz
|
||||||
tar zxvf android-sdk_r16-linux.tgz
|
tar zxvf android-sdk_r21.0.1-linux.tgz
|
||||||
mv android-sdk-linux #{sdk_loc}
|
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 platform-tool
|
||||||
#{sdk_loc}/tools/android update sdk --no-ui -t tool
|
#{sdk_loc}/tools/android update sdk --no-ui -t tool
|
||||||
"
|
"
|
||||||
|
|
|
@ -23,7 +23,11 @@ if os.path.exists(boxfile):
|
||||||
|
|
||||||
vagrant(['halt'], serverdir)
|
vagrant(['halt'], serverdir)
|
||||||
print "Configuring build server VM"
|
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"
|
print "Stopping build server VM"
|
||||||
vagrant(['halt'], serverdir)
|
vagrant(['halt'], serverdir)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue