Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions providers/base/units/image/jobs.pxu
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
id: image/kernel-publisher-canonical
category_id: image
imports: from com.canonical.plainbox import manifest
requires: manifest.is_odm_cert_testing == 'True'
_summary: Check that the kernel snap publisher is Canonical
_purpose:
During certification testing IoT devices must be running a kernel supplied
Expand All @@ -12,6 +14,8 @@ flags: preserve-locale

id: image/kernel-tracking-stable
category_id: image
imports: from com.canonical.plainbox import manifest
requires: manifest.is_odm_cert_testing == 'True'
_summary: Check that the kernel snap is tracking stable channel
_purpose:
During certification testing, IoT devices must be running a kernel that is on
Expand All @@ -24,6 +28,8 @@ flags: preserve-locale

id: image/gadget-publisher-canonical
category_id: image
imports: from com.canonical.plainbox import manifest
requires: manifest.is_odm_cert_testing == 'True'
_summary: Check that the gadget snap publisher is Canonical
_description:
During certification testing IoT devices must be running a kernel supplied
Expand All @@ -37,6 +43,8 @@ flags: preserve-locale

id: image/gadget-tracking-stable
category_id: image
imports: from com.canonical.plainbox import manifest
requires: manifest.is_odm_cert_testing == 'True'
_summary: Check that the gadget snap is tracking stable channel
_purpose:
During certification testing IoT devices must be running a gadget that is on
Expand All @@ -49,6 +57,8 @@ flags: preserve-locale

id: image/model-authority-canonical
category_id: image
imports: from com.canonical.plainbox import manifest
requires: manifest.is_odm_cert_testing == 'True'
_summary: Check that model authority-id is canonical
_description:
The authority-id declares on whose authority this assertion is made. This
Expand All @@ -62,6 +72,8 @@ flags: preserve-locale

id: image/model-brand-canonical
category_id: image
imports: from com.canonical.plainbox import manifest
requires: manifest.is_odm_cert_testing == 'True'
_summary: Check the model brand-id is canonical
_description:
For the certification of IoT devices, Canonical-provided generic images must
Expand Down
5 changes: 5 additions & 0 deletions providers/base/units/image/manifest.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ _name: Image is using 'dangerous' grade (should be set to 'No' unless you're doi
_prompt: Does this setup have the following configuration?
value-type: bool
hidden-reason: Only images being used in lab testing can use 'dangerous' model grade

unit: manifest entry
id: is_odm_cert_testing
_name: Is running ODM certification test
value-type: bool
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ nested_part:
wireless-automated
wireless-wifi-master-mode-auto
wwan-automated
iot-cert-image-automated
after-suspend-audio-automated
after-suspend-bluez-automated
after-suspend-eeprom-automated
Expand Down
Loading