Skip to content

Commit 5f24da8

Browse files
classabbyampthe-maldridge
authored andcommitted
services/nomad/build/buildbot: allow forcing packages to be considered
adds a field to the force scheduler that can let build ops manually take care of the shortcomings of the previous change by specifying packages that xbps-bulk should consider as a whitespace-separated list.
1 parent 68f6329 commit 5f24da8

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

services/nomad/build/buildbot.cfg

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,14 @@ c['schedulers'].append(schedulers.SingleBranchScheduler(
117117

118118
c['schedulers'].append(schedulers.ForceScheduler(
119119
name="force",
120-
builderNames=builder_names))
120+
builderNames=builder_names,
121+
properties=[
122+
util.StringParameter(name="packages_force",
123+
label="Add packages to build:",
124+
default="", size=80)
125+
],
126+
buttonName="Start Build",
127+
))
121128

122129

123130
# ###### BUILDERS
@@ -198,7 +205,8 @@ def make_xbps_bulk_cmd(props):
198205
else:
199206
command += ['-a', 'native-' + props.getProperty('host')]
200207
command += ['--']
201-
command += props.getProperty('packages_changed').split()
208+
command += props.getProperty('packages_changed', default="").split()
209+
command += props.getProperty('packages_force', default="").split()
202210

203211
return command
204212

0 commit comments

Comments
 (0)