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 upAdd trychooser support #873
Merged
+34
−2
Conversation
| @@ -60,6 +60,13 @@ def servo_master_filter(c): | |||
| c.who.startswith('bors-servo') and | |||
| c.branch == "master") | |||
|
|
|||
| def servo_try_chooser_filter(f): | |||
| branch = "try-%s" % f | |||
This comment has been minimized.
This comment has been minimized.
093333c
to
08ccca1
homu/map.jinja
Outdated
| @@ -1,6 +1,6 @@ | |||
| {% | |||
| set homu = { | |||
| 'db': '/var/homu/main.db', | |||
| 'rev': '992e774d7144e810193bcaede827339663c1301a' | |||
| 'db': '/var/homu/main_test.db', | |||
This comment has been minimized.
This comment has been minimized.
homu/files/cfg.toml
Outdated
| [repo.servo.buildbot.try_choosers] | ||
| build = ["linux-dev"] | ||
| wpt = ["linux-rel-css", "linux-rel-wpt"] | ||
| android = ["android"] |
This comment has been minimized.
This comment has been minimized.
homu/map.jinja
Outdated
| 'servo_try_choosers': { | ||
| build': ['linux-dev'], | ||
| 'wpt': ['linux-rel-css', 'linux-rel-wpt'] | ||
| 'android': ['android'] |
This comment has been minimized.
This comment has been minimized.
homu/files/cfg.toml
Outdated
| @@ -240,6 +240,11 @@ try_builders = [ | |||
| username = "{{ secrets["buildbot-http-user"] }}" | |||
| password = "{{ secrets["buildbot-http-pass"] }}" | |||
|
|
|||
| {% for chooser, builders in homu.try_choosers.items() %} | |||
| [repo.servo.buildbot."{{ chooser }}"] | |||
This comment has been minimized.
This comment has been minimized.
|
Done. |
83add7c
to
0833f8d
|
The array doesn't format quite right so I explicitly printed it out instead of relying on the stringifier. |
|
It now seems to work on vagrant |
|
|
| @@ -13,7 +13,7 @@ def run(): | |||
| 'config' | |||
| ) | |||
| # Have to specify master.cfg separately because it is not a .py file | |||
| command = ['flake8', CONF_DIR, os.path.join(CONF_DIR, 'master.cfg')] | |||
| command = ['flake8', CONF_DIR, "home/servo/buildbot/master/master.cfg"] | |||
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Manishearth
Aug 9, 2018
Author
Member
No, this is intentional, this lets us lint the generated file.
The other option is to locally jinja it but I tried it and the salt jinja format is weird so I'd have to convert first.
|
@bors-servo r+ |
|
|
bors-servo
added a commit
that referenced
this pull request
Aug 9, 2018
Add trychooser support Depends on servo/homu#167 homu SQLite migration notes: Either start from a fresh db, or run `ALTER TABLE pull ADD try_choose text` r? @jdm <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/873) <!-- Reviewable:end -->
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Manishearth commentedAug 1, 2018
•
edited
Depends on servo/homu#167
homu SQLite migration notes: Either start from a fresh db, or run
ALTER TABLE pull ADD try_choose textr? @jdm
This change is