Closed Bug 715853 Opened 14 years ago Closed 14 years ago

AggregatingScheduler should update its builders on reconfig and allow resetting the state

Categories

(Release Engineering :: General, defect, P2)

All
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rail, Assigned: rail)

Details

Attachments

(1 file, 1 obsolete file)

AggregatingScheduler doesn't update its up/downstream builders on reconfig what may be a problem when we rename builder names (undead scheduler).
Attachment #586408 - Flags: review?(catlee)
Comment on attachment 586408 [details] [diff] [review] compare remainingBuilders and upstreamBuilders New versin will be ready a little bit later.
Attachment #586408 - Flags: review?(catlee)
Summary: AggregatingScheduler should update its builders on reconfig → AggregatingScheduler should update its builders on reconfig and allow resetting the state
* Inherit Triggerable to make buildbot happy. It uses isinstance(scheduler, Ttiggerable) * add trigger method which resets the state * _startService now checks additions and removal now Example usage in process/release.py: aggregating_shedulers = [] for s in schedulers: if isinstance(s, AggregatingScheduler): aggregating_shedulers.append(s.name) if aggregating_shedulers: scheduler_reset_factory = BuildFactory() scheduler_reset_factory.addStep(Trigger( schedulerNames=aggregating_shedulers, )) builders.append({ 'name': builderPrefix( '%s_reset_schedulers' % releaseConfig['productName']), 'slavenames': all_slaves, 'category': builderPrefix(''), 'builddir': builderPrefix( '%s_reset_schedulers' % releaseConfig['productName']), 'factory': scheduler_reset_factory, })
Attachment #586408 - Attachment is obsolete: true
Attachment #587304 - Flags: review?(catlee)
Attachment #587304 - Flags: review?(catlee) → review+
Attachment #587304 - Flags: checked-in+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: