Merge ~sylvain-pineau/plainbox-provider-checkbox:new_json_exporter_2 into plainbox-provider-checkbox:master

Proposed by Sylvain Pineau
Status: Merged
Approved by: Sylvain Pineau
Approved revision: 339a6b82c979622c4e523454f8944f67cbedb464
Merged at revision: 8cdb5b412cce7715efabb79fefff2092d38c2202
Proposed branch: ~sylvain-pineau/plainbox-provider-checkbox:new_json_exporter_2
Merge into: plainbox-provider-checkbox:master
Diff against target: 53 lines (+34/-0)
2 files modified
jobs/miscellanea.txt.in (+2/-0)
jobs/submission.txt.in (+32/-0)
Reviewer Review Type Date Requested Status
Sylvain Pineau (community) Approve
Review via email: mp+309661@code.launchpad.net

Description of the change

2 new attachments jobs in json format meant to be used by the submission report.

To post a comment you must log in.
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

self-approved

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/jobs/miscellanea.txt.in b/jobs/miscellanea.txt.in
2index 882838b..b5544c2 100644
3--- a/jobs/miscellanea.txt.in
4+++ b/jobs/miscellanea.txt.in
5@@ -18,6 +18,8 @@ depends:
6 raw_devices_dmi_json
7 modprobe_json
8 lspci_standard_config_json
9+ dell_bto_xml_attachment_json
10+ recovery_info_attachment_json
11 estimated_duration: 1.0
12 command: true
13 _summary:
14diff --git a/jobs/submission.txt.in b/jobs/submission.txt.in
15index 9851d3a..fcd61e6 100644
16--- a/jobs/submission.txt.in
17+++ b/jobs/submission.txt.in
18@@ -52,3 +52,35 @@ command: lspci -x | plainbox dev parse pci-subsys-id
19 estimated_duration: 0.1
20 _description: Attaches a hex dump of the standard part of the PCI configuration
21 space for all PCI devices.
22+
23+id: dell_bto_xml_attachment_json
24+plugin: attachment
25+category_id: 2013.com.canonical.plainbox::info
26+depends: info/detect_dell_recovery
27+requires: package.name == 'dell-recovery'
28+user: root
29+estimated_duration: 0.5
30+_summary: Attach the bto.xml in Dell recovery partition
31+_description:
32+ bto.xml is basically a Fish manifest
33+ The information include:
34+ - fish packages
35+ - dell recovery stage 2 boot log
36+command: recovery_info file bto.xml | plainbox dev parse bto
37+
38+id: recovery_info_attachment_json
39+plugin: attachment
40+category_id: 2013.com.canonical.plainbox::info
41+depends: info/detect_recovery
42+requires: package.name == 'dell-recovery' or package.name == 'ubuntu-recovery'
43+user: root
44+estimated_duration: 0.2
45+_summary: Attach the recovery partition versions
46+_description:
47+ Attach the recovery partition version
48+ image_version is the preinstalled OS image version
49+ bto_version is only for dell_recovery
50+ Example:
51+ image_version: somerville-trusty-amd64-20140620-0
52+ bto_version: A00_dell-bto-trusty-houston-15-A11-iso-20141203-0.iso
53+command: recovery_info version | plainbox dev parse recovery-info

Subscribers

People subscribed via source and target branches