mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 07:10:12 +02:00
Always write VM status
Before this the status.json only contained VM information with fdroid build --wiki --server, after this a fdroid build --server is enough.
This commit is contained in:
parent
b6f1f4231a
commit
32d2330bb5
@ -1260,7 +1260,7 @@ def main():
|
|||||||
logging.info(ngettext("{} build failed",
|
logging.info(ngettext("{} build failed",
|
||||||
"{} builds failed", len(failed_builds)).format(len(failed_builds)))
|
"{} builds failed", len(failed_builds)).format(len(failed_builds)))
|
||||||
|
|
||||||
if options.wiki:
|
if options.server:
|
||||||
if os.cpu_count():
|
if os.cpu_count():
|
||||||
status_output['hostOsCpuCount'] = os.cpu_count()
|
status_output['hostOsCpuCount'] = os.cpu_count()
|
||||||
if os.path.isfile('/proc/meminfo') and os.access('/proc/meminfo', os.R_OK):
|
if os.path.isfile('/proc/meminfo') and os.access('/proc/meminfo', os.R_OK):
|
||||||
|
Loading…
Reference in New Issue
Block a user