lp:~pieq/checkbox/migration-from-local-jobs-to-unit-templates
- Get this branch:
- bzr branch lp:~pieq/checkbox/migration-from-local-jobs-to-unit-templates
Branch merges
- Po-Hsu Lin: Approve
-
Diff: 4197 lines (+1330/-2279)27 files modifiedcheckbox-support/checkbox_support/parsers/udevadm.py (+33/-3)
plainbox/docs/manpages/plainbox-template-units.rst (+54/-0)
providers/plainbox-provider-checkbox/jobs/audio.txt.in (+81/-99)
providers/plainbox-provider-checkbox/jobs/benchmarks.txt.in (+24/-34)
providers/plainbox-provider-checkbox/jobs/disk.txt.in (+54/-86)
providers/plainbox-provider-checkbox/jobs/ethernet.txt.in (+0/-5)
providers/plainbox-provider-checkbox/jobs/firmware.txt.in (+20/-34)
providers/plainbox-provider-checkbox/jobs/floppy.txt.in (+10/-16)
providers/plainbox-provider-checkbox/jobs/graphics.txt.in (+369/-528)
providers/plainbox-provider-checkbox/jobs/hibernate.txt.in (+35/-46)
providers/plainbox-provider-checkbox/jobs/info.txt.in (+10/-17)
providers/plainbox-provider-checkbox/jobs/input.txt.in (+32/-47)
providers/plainbox-provider-checkbox/jobs/mir.txt.in (+23/-32)
providers/plainbox-provider-checkbox/jobs/miscellanea.txt.in (+0/-2)
providers/plainbox-provider-checkbox/jobs/mobilebroadband.txt.in (+0/-2)
providers/plainbox-provider-checkbox/jobs/monitor.txt.in (+151/-211)
providers/plainbox-provider-checkbox/jobs/networking.txt.in (+0/-1)
providers/plainbox-provider-checkbox/jobs/optical.txt.in (+154/-206)
providers/plainbox-provider-checkbox/jobs/suspend.txt.in (+238/-337)
providers/plainbox-provider-checkbox/jobs/user_apps.txt.in (+0/-528)
providers/plainbox-provider-checkbox/jobs/wireless.txt.in (+0/-3)
providers/plainbox-provider-checkbox/units/autotesting.pxu (+2/-11)
providers/plainbox-provider-checkbox/units/default.pxu (+2/-7)
providers/plainbox-provider-resource-generic/bin/graphics_card_resource (+9/-1)
providers/plainbox-provider-resource-generic/bin/udev_resource (+2/-2)
providers/plainbox-provider-resource-generic/jobs/resource.pxu (+25/-13)
providers/plainbox-provider-sru/units/sru.pxu (+2/-8)
Related bugs
Bug #1441415: Convert local job into templates to improve readability | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 4178. By Pierre Equoy
-
plainbox-
provider- checkbox: adding missing category in jobs IDs "{index}
_screenshot_ *.jpg" jobs were missing a "graphics/" prefix. Autotesting test plan has been adapted to reflect this change.
- 4177. By Pierre Equoy
-
plainbox-
provider- checkbox: jobs: removed useless resource job Since the generic resource provider already provides a "graphics_card" resource
job, the "graphics_card_resource" resource job available in graphics.txt.in has
been removed.The two template units referencing it are now using the "graphics_card" one.
- 4176. By Pierre Equoy
-
plainbox-
provider- checkbox: units: Fix redundant job calls in default test plan - 4175. By Pierre Equoy
-
plainbox:docs: Template units page updated
Doc regarding Template units in Plainbox has been updated to include real
life example as well as a warning about character escaping. - 4174. By Pierre Equoy
-
plainbox-
provider- sru:units: SRU test plan adapted to unit template The SRU test plan has been adapted to use resource jobs that are needed to
generated the jobs from unit templates rather than calling local jobs generators. - 4173. By Pierre Equoy
-
plainbox-
provider- checkbox: local jobs migrated to unit templates, test plans adapted All local jobs have been migrated to unit templates. This sometimes required
to use new resource jobs (mir, fwts).Test plans that were still using generators have been adapted to use unit
templates instead. That means to call the proper resource jobs in the
'bootstrap_include' section of the test plans.Finally, the 'user_apps' jobs have been removed. They were not used by any
test plans, not even on the OEM side.Warning: checkbox-cli is not compatible with unit templates. The test
plans have to be run using a session assitant compatible tool such as
checkbox-cli2 or checkbox-converged. - 4172. By Pierre Equoy
-
plainbox-
provider- resource- generic: jobs: Migrated resource jobs to unit templates Local jobs have been converted into unit templates.
Additional resource jobs (mir, fwts) have been created for Checkbox providers.
- 4171. By Pierre Equoy
-
plainbox-
provider- resource- generic: bin: Adapt resource jobs to provide new properties The two resource jobs `graphics_
card_resource` and `udev_resource` are adapted
to provide the 'vendor_slug' and 'product_slug' when needed.In addition, 'graphics_
card_resource' also provide a 'product_slug' property
even when the 'product' is empty. - 4170. By Pierre Equoy
-
checkbox-
support: parsers: udevadm: Add 'product_slug' and 'vendor_slug' properties When using local jobs, the id of generated jobs were created using inline shell
commands based on sed and $product or $vendor values in order to create a
"slugified" version of the names (a version without weird characters nor
spaces, e.g. "Realtek Semiconductor RTL8111/8168/8411" would become
"Realtek_Semiconductor_ RTL8111_ 8168_8411" ). In order to migrate from local jobs to unit templates, we cannot use inline
shell commands anymore, so instead we modified the udevadm parser to provide
2 new properties: vendor_slug and product_slug that replace the previous methods. - 4169. By Sylvain Pineau
-
"automatic merge of lp:~sylvain-pineau/checkbox/remove_bashism/ by tarmac [r=sylvain-
pineau] [bug=][ author= sylvain- pineau] "
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:checkbox