The config file is ~/.config/fleetjobs/config.json. Every field is optional, and so is the file. fleetjobs reads it again on every scheduler tick, every half second for each waiting job, so a change applies to queued jobs at once. If the file does not parse, for example while an editor is writing it, fleetjobs keeps the last good copy, or the defaults when there was none, and prints one warning for each distinct error.
{
"local": { "heavy": 2, "idle": 1, "light": 1, "lightExtra": 1 },
"hosts": [{ "name": "build-box", "address": "me@build-box", "slots": 2, "speed": 0.5 }],
"never": ["quiverdk/*"]
}Slot counts on this machine. See placement.
| Field | Default | Meaning |
|---|---|---|
heavy | 2 | Heavy slots that are always open |
idle | 1 | Extra heavy slots while the machine is idle |
light | 1 | Light slots that are always open |
lightExtra | 1 | Extra light slots while CPU pressure is low |
Setting heavy and idle both to 0 sends every heavy job to a host.
A list of machines that may run jobs. A host without a name or an address is an error.
| Field | Default | Meaning |
|---|---|---|
name | none | Names the host in status, in job records and in the --host flag of replay |
address | none | What ssh takes, such as me@build-box. An absolute folder path runs the host on this machine with that folder as its home, which the tests use |
slots | 1 | Jobs the host runs at once |
speed | 1 | Speed against this machine; 0.5 is half as fast |
A list of owner/repo patterns, with * for any part. A job in a checkout whose origin matches never leaves this machine. The default is ["quiverdk/*"], and a file that sets never replaces it.