From 7a2c6ac587305093d4f0cf83fdf6df2c5cdf68b7 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Wed, 13 Nov 2024 16:55:13 -0500 Subject: [PATCH] services/nomad/buildbot: update config to split logs per-package this is slightly aspirational as sometimes packages still might be built that the solver doesn't catch but should be correct in most cases --- services/nomad/build/buildbot.cfg | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/services/nomad/build/buildbot.cfg b/services/nomad/build/buildbot.cfg index 6865f2e..a3a9ae6 100644 --- a/services/nomad/build/buildbot.cfg +++ b/services/nomad/build/buildbot.cfg @@ -184,19 +184,13 @@ class ShellCommandWithChanges(steps.ShellCommand): @util.renderer def build_packages(props): - # if a better solver is written - # cmds = [] - # for p in str(props.getProperty('packages')).strip().split(): - # cmds.append(util.ShellArg( - # command=['make', f'built/{p}'], - # logname=f'pkg:{p}', - # haltOnFailure=True, - # )) - cmds = [util.ShellArg( - command=['make', 'all'], - logname='build', - haltOnFailure=True, - )] + cmds = [] + for p in str(props.getProperty('packages')).strip().split(): + cmds.append(util.ShellArg( + command=['make', f'built/{p}'], + logname=f'pkg:{p}', + haltOnFailure=True, + )) if cmds: cmds.append(util.ShellArg( command=['make', 'clean'],