Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up(DO NOT MERGE) Refactor builds to allow non-Servo builds on buildbot. #721
Conversation
|
r? @aneeshusa |
|
Overall seems reasonable. Also, |
| @@ -67,8 +67,8 @@ def __init__(self, build_steps): | |||
|
|
|||
| class StepsYAMLParsingStep(buildstep.ShellMixin, buildstep.BuildStep): | |||
| """\ | |||
| Step which reads the YAML steps configuration in the main servo repo | |||
| and dynamically adds test steps. | |||
| Step which reads the YAML steps configuration in the repo and dynamically | |||
This comment has been minimized.
This comment has been minimized.
aneeshusa
Sep 28, 2017
Member
the YAML steps -> a YAML steps
I'd also keep the second part of the sentence (and dynamically...) on the next line.
| Builder which uses DynamicServoFactory to run steps | ||
| from a YAML file in the main servo repo. | ||
| Builder which uses DynamicGitUrlFactory to run steps | ||
| from a YAML file in the repo. |
This comment has been minimized.
This comment has been minimized.
| # util.BuilderConfig is an old-style class so we cannot use super() | ||
| # but must hardcode the superclass here | ||
| util.BuilderConfig.__init__( | ||
| self, | ||
| name=name, | ||
| slavenames=slavenames, | ||
| factory=factories.DynamicServoFactory(name, environment), | ||
| factory=factories.DynamicGitUrlFactory("https://github.com/%s/%s" % (repo_owner, repo_name), |
This comment has been minimized.
This comment has been minimized.
| factory=factories.DynamicServoFactory(name, environment), | ||
| factory=factories.DynamicGitUrlFactory("https://github.com/%s/%s" % (repo_owner, repo_name), | ||
| name, environment, | ||
| "etc/ci/buildbot_steps.yml"), |
This comment has been minimized.
This comment has been minimized.
aneeshusa
Sep 28, 2017
Member
Should we hardcode this path? Webrender will need its own steps.yaml file, and it seems a little silly to add etc/ci directories just for that. I'm not opposed to leaving this hardcoded, though.
| envs.build_windows_msvc), | ||
| DynamicServoBuilder("windows-msvc-nightly", WINDOWS_SLAVES, | ||
| envs.build_windows_msvc), | ||
| DynamicRepoBuilder("servo", "servo", "android", CROSS_SLAVES, envs.build_android), |
This comment has been minimized.
This comment has been minimized.
aneeshusa
Sep 28, 2017
Member
It would be nice to keep DynamicServoBuilder as a subclass of DynamicRepoBuilder to cut down on a lot of this duplication, reduce diff noise, and also avoid hitting the 80-char line limit.
| envs.build_windows_msvc), | ||
| DynamicRepoBuilder("servo", "servo", "windows-msvc-nightly", WINDOWS_SLAVES, | ||
| envs.build_windows_msvc), | ||
| DyanmicRepoBuilder("servo", "webrender", "linux-repo", LINUX_SLAVES, envs.build_linux), |
This comment has been minimized.
This comment has been minimized.
aneeshusa
Sep 28, 2017
Member
How about webrender-linux or wr-linux? repo is a bit generic.
Same comment for the mac builder.
|
|
metajack commentedSep 26, 2017
•
edited by larsbergstrom
This change is