In order to avoid confusion, unify capability naming convention and
comply with LAVA YAML job submission files [1], Dryads shall declare
"device_type" capability. It will be used in Dryad config files, Boruta
requests and Weles job descriptions.
[1] https://validation.linaro.org/static/docs/v2/dispatcher-format.html
Change-Id: Icac66490570569d4a7c02c9318130163a9e45950
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
}
return boruta.Capabilities{
- "DeviceType": config.DeviceType,
+ "device_type": config.DeviceType,
}
}
JobTimeout: weles.ValidPeriod(jobTimeout),
},
}
- caps = boruta.Capabilities{"DeviceType": "TestDeviceType"}
+ caps = boruta.Capabilities{"device_type": "TestDeviceType"}
priority = boruta.Priority(7)
})
AfterEach(func() {