mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-20 13:50:12 +01:00
Log buildserver setup
This commit is contained in:
parent
80808133d4
commit
79d247d682
1
buildserver/.gitignore
vendored
1
buildserver/.gitignore
vendored
@ -1 +1,2 @@
|
||||
.vagrant
|
||||
up.log
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user