Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fwupdmgr attachment job (New) #965

Closed
wants to merge 2 commits into from
Closed
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
10 changes: 10 additions & 0 deletions providers/base/units/firmware/jobs.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,13 @@ plugin: attachment
depends: firmware/fwts_dump
command:
[ -f "$PLAINBOX_SESSION_SHARE/acpidump.log" ] && gzip -c "$PLAINBOX_SESSION_SHARE/acpidump.log"

id: firmware/fwupdmgr_get_devices
plugin: attachment
category_id: com.canonical.plainbox::firmware
_summary: Collect the device firmware update information
requires:
executable.name == "fwupdmgr"
environment.SNAP == "" # only execute on debian checkbox
command:
fwupdmgr get-devices --json
25 changes: 25 additions & 0 deletions providers/base/units/firmware/test-plan.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,28 @@ include:
firmware/fwts_desktop_diagnosis
firmware/fwts_desktop_diagnosis_results.log.gz


id: firmware-fwupdmgr-full
unit: test plan
_name: fwupdmgr test
_description: Firmware update manager tests
include:
nested_part:
firmware-fwupdmgr-automated
firmware-fwupdmgr-manual

id: firmware-fwupdmgr-automated
unit: test plan
_name: Auto fwupdmgr tests
_description: Automated firmware update manager tests
bootstrap_include:
executable
environment
include:
firmware/fwupdmgr_get_devices

id: firmware-fwupdmgr-manual
unit: test plan
_name: Manual fwupdmgr tests
_description: Manual firmware update manager tests
include:
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ nested_part:
disk-cert-automated
misc-client-cert-automated
fingerprint-automated
firmware-fwupdmgr-automated
keys-cert-automated
led-cert-automated
mediacard-cert-automated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ nested_part:
disk-cert-automated
misc-client-cert-automated
fingerprint-automated
firmware-fwupdmgr-automated
keys-cert-automated
led-cert-automated
mediacard-cert-automated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ nested_part:
disk-cert-automated
misc-client-cert-automated
fingerprint-automated
firmware-fwupdmgr-automated
keys-cert-automated
led-cert-automated
mediacard-cert-automated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ nested_part:
disk-cert-automated
misc-client-cert-automated
fingerprint-automated
firmware-fwupdmgr-automated
keys-cert-automated
led-cert-automated
mediacard-cert-automated
Expand Down
Loading