Skip to content

Commit a5e917c

Browse files
classabbyampDuncaen
authored andcommitted
services/nomad/build/buildbot: sort packages before printing
this should fix ordering issues with split logs
1 parent 0763cc3 commit a5e917c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

services/nomad/build/buildbot.cfg

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,17 @@ factory.addStep(ShellCommandWithChanges(
285285
workdir=builddir(),
286286
))
287287

288+
factory.addStep(steps.ShellCommand(
289+
command=['make', 'sort'],
290+
name='sort_packages',
291+
description='sorting packages to build',
292+
descriptionDone='sorted packages',
293+
haltOnFailure=True,
294+
logEnviron=False,
295+
usePTY=True,
296+
workdir=builddir(),
297+
))
298+
288299
factory.addStep(steps.SetPropertyFromCommand(
289300
command=['make', 'print_pkgs'],
290301
property='packages',

0 commit comments

Comments
 (0)