1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-03 17:50:11 +02:00

Log buildserver setup

This commit is contained in:
Ciaran Gultnieks 2013-02-12 15:20:30 +00:00
parent 80808133d4
commit 79d247d682
2 changed files with 4 additions and 2 deletions

View File

@ -1 +1,2 @@
.vagrant
up.log

View File

@ -24,10 +24,11 @@ if os.path.exists(boxfile):
vagrant(['halt'], serverdir)
print "Configuring build server VM"
returncode, out, err = vagrant(['up'], serverdir)
with open(os.path.join(serverdir, 'up.log'), 'w') as log:
log.write('==stdout==\n' + out + '\n\n')
log.write('==stderr==\n' + err + '\n\n')
if returncode != 0:
print "Failed to configure server"
print out
print err
print "Stopping build server VM"
vagrant(['halt'], serverdir)