Skip to content

Commit 7a2c6ac

Browse files
committed
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
1 parent 9210bf0 commit 7a2c6ac

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

services/nomad/build/buildbot.cfg

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -184,19 +184,13 @@ class ShellCommandWithChanges(steps.ShellCommand):
184184

185185
@util.renderer
186186
def build_packages(props):
187-
# if a better solver is written
188-
# cmds = []
189-
# for p in str(props.getProperty('packages')).strip().split():
190-
# cmds.append(util.ShellArg(
191-
# command=['make', f'built/{p}'],
192-
# logname=f'pkg:{p}',
193-
# haltOnFailure=True,
194-
# ))
195-
cmds = [util.ShellArg(
196-
command=['make', 'all'],
197-
logname='build',
198-
haltOnFailure=True,
199-
)]
187+
cmds = []
188+
for p in str(props.getProperty('packages')).strip().split():
189+
cmds.append(util.ShellArg(
190+
command=['make', f'built/{p}'],
191+
logname=f'pkg:{p}',
192+
haltOnFailure=True,
193+
))
200194
if cmds:
201195
cmds.append(util.ShellArg(
202196
command=['make', 'clean'],

0 commit comments

Comments
 (0)