Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable choosing build machine for force builds #659

Merged
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Enable choosing build machine for force builds

This makes it easier to test if changes to a specific build machine are
working properly, e.g. the current impetus of seeing if Android-related
changes on servo-linux-cross3 are working.

Docs: https://docs.buildbot.net/0.8.12/manual/cfg-schedulers.html#buildslavechoiceparameter
  • Loading branch information
aneeshusa committed May 8, 2017
commit cf844f4a3fa55034deb718b81d5ce54856973a81
@@ -1,4 +1,5 @@
from buildbot.plugins import buildslave, changes, schedulers, status, util
from buildbot.schedulers.forcesched import BuildslaveChoiceParameter
from buildbot.status import html, status_push, web, words

import environments as envs
@@ -104,6 +105,9 @@ c['schedulers'].append(schedulers.ForceScheduler(
"windows-msvc-dev",
"windows-msvc-nightly",
],
properties=[
BuildslaveChoiceParameter(),
]
))
c['schedulers'].append(schedulers.Nightly(
name="Nightly",
@@ -147,6 +151,7 @@ class DynamicServoBuilder(util.BuilderConfig):
slavenames=slavenames,
factory=factories.DynamicServoFactory(name, environment),
nextBuild=branch_priority,
canStartBuild=util.enforceChosenSlave,
)


@@ -176,6 +181,7 @@ c['builders'] = [
name="doc",
slavenames=LINUX_SLAVES,
factory=factories.doc,
canStartBuild=util.enforceChosenSlave,
),
]

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.