Merge ~jocave/plainbox-provider-resource:serial-ports-static into plainbox-provider-resource:master
Proposed by
Jonathan Cave
Status: | Merged |
---|---|
Approved by: | Chris Wayne |
Approved revision: | 9c386dc0d546e591e457fa1408b275f5b6dd6338 |
Merged at revision: | 1298c8523dc5e315e076117cccb78c5ba124a59f |
Proposed branch: | ~jocave/plainbox-provider-resource:serial-ports-static |
Merge into: | plainbox-provider-resource:master |
Diff against target: |
22 lines (+14/-0) 1 file modified
jobs/resource.pxu (+14/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Larson | Approve | ||
Review via email: mp+344860@code.launchpad.net |
Description of the change
Create a resource job that, when provided, converts an environment variable with whitespace seperated entries in to resource entries.
The intention is to allow the creation of templated jobs for devices that would not typically be identifiable by e.g. the udev based device resource job.
Using an environment variable as the configuration mechanism means that project snaps can specify the devices that should be tested while keeping the templated job in the generic providers.
To post a comment you must log in.
So if there the env var is not supplied, then this is just a no-op?
Seems reasonable, but more magic env vars for the checkbox.conf I guess.