Closed
Bug 1201861
Opened 9 years ago
Closed 9 years ago
bbb needs to be able to completely ignore builders, not just disallow them and cancel their tasks
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: bhearsum)
References
Details
Attachments
(2 files)
49 bytes,
text/x-github-pull-request
|
selenamarie
:
review+
bhearsum
:
checked-in+
|
Details | Review |
1.57 KB,
patch
|
rail
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
This came up in setting up a dev environment for the Buildbot Bridge, which is set-up to use the same provisioner/worker types, but supposed to be restricted to one branch (Alder). In an attempt to make this happen, I made the production instance allow any builders _except_ Alder, which actually caused it to pick up Tasks for Alder and cancel them. This is hardly surprising in retrospect, because allowed_builders was designed originally as a security protection.
Rather than overloading that, we should have ignore_builders to completely ignore builders, and then do additional processing (like allowed_builders) if we get by that filter.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8657098 -
Flags: review?(sdeckelmann)
Assignee | ||
Comment 2•9 years ago
|
||
So the way this works with the new patch, is that tasks with a builder name that match an ignored_builders pattern don't get processed at all (ie, no cancelling). If they make it past that filter, allowed_builders is applied as before - if the task's builder name doesn't match an allowed pattern, it will be cancelled. This is getting reworked as restricted_builders in bug 1196407, but I need to keep allowed_builders for now to finish testing some existing patches in dev.
Attachment #8657132 -
Flags: review?(rail)
Updated•9 years ago
|
Attachment #8657132 -
Flags: review?(rail) → review+
Assignee | ||
Updated•9 years ago
|
Attachment #8657132 -
Flags: checked-in+
Updated•9 years ago
|
Attachment #8657098 -
Flags: review?(sdeckelmann) → review+
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8657098 [details] [review]
Add support for fully ignoring builders (on top of disallowing others completely)
I landed this, and backported to make a 1.3.1 (because I need it on dev+prod).
Attachment #8657098 -
Flags: checked-in+
Assignee | ||
Comment 4•9 years ago
|
||
This is working well in dev and prod.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•