1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

Merge branch 'makebs-debug' into 'master'

add debugging output for makebs buildserverid

See merge request fdroid/fdroidserver!732
This commit is contained in:
Michael Pöhn 2020-04-11 13:36:31 +00:00
commit e1a67515e4

View File

@ -674,7 +674,9 @@ def main():
universal_newlines=True)
buildserverid = p.communicate()[0].strip()
logging.info("Writing buildserver ID ...ID is %s", buildserverid)
run_via_vagrant_ssh(v, 'sh -c "echo %s >/home/vagrant/buildserverid"' % buildserverid)
write_bsid_cmd = 'sh -c "echo \'{}\' >/home/vagrant/buildserverid"'.format(buildserverid)
run_via_vagrant_ssh(v, write_bsid_cmd)
logging.debug("+ {}".format(write_bsid_cmd))
logging.info("Stopping build server VM")
v.halt()