lp:~doanac/lava-scheduler/configurable-dispatchers-v2
Created by
Andy Doan
and last modified
- Get this branch:
- bzr branch lp:~doanac/lava-scheduler/configurable-dispatchers-v2
Branch merges
Propose for merging
No branches
dependent on this one.
Rejected
for merging
into
lp:lava-scheduler
- Michael Hudson-Doyle (community): Approve
-
Diff: 410 lines (+331/-11)6 files modifiedlava_scheduler_app/migrations/0023_auto__add_field_devicetype_dispatcher.py (+149/-0)
lava_scheduler_app/migrations/0024_auto__chg_field_devicetype_dispatcher.py (+147/-0)
lava_scheduler_app/models.py (+8/-0)
lava_scheduler_daemon/board.py (+5/-2)
lava_scheduler_daemon/dbjobsource.py (+2/-1)
lava_scheduler_daemon/service.py (+20/-8)
Branch information
Recent revisions
- 193. By Andy Doan
-
make dispatcher field larger
as per review comment a 64byte field like this in postgres is pointless
- 192. By Andy Doan
-
add support for custom dispatchers
This provides a way to configure different dispatchers for certain
device types. Notables:models.py now has custom field that allows you to override the default
"lava-dispatch" commanddbjobsource.py now returns an array of dictionaries that includes the
board name as well as the dispatcher configured for it.service.py logic was updated to handle the new format of data from
dbjobsource.py as well as adding some minor logging informationboard.py was modified to handle the new dispatcher command which might
be more than one execve arg, ie "lava celery dispatch".
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:lava-scheduler