lp:~pieq/checkbox/migration-from-local-jobs-to-unit-templates

Created by Pierre Equoy and last modified
Get this branch:
bzr branch lp:~pieq/checkbox/migration-from-local-jobs-to-unit-templates
Only Pierre Equoy can upload to this branch. If you are Pierre Equoy please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Pierre Equoy
Project:
Checkbox
Status:
Merged

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
This branch contains Public information 
Everyone can see this information.

Subscribers