diff options
author | Maciej Kisielewski <maciej.kisielewski@canonical.com> | 2022-04-29 17:03:09 +0000 |
---|---|---|
committer | Maciej Kisielewski <maciej.kisielewski@canonical.com> | 2022-05-03 22:28:04 +0000 |
commit | 2922ab5b33407688cc4e8ef435c9d67f9933085a (patch) | |
tree | 584da56e650ac91b8248293cd61a32f8050bb7ac /units/zapper | |
parent | 590b9b54a5f027f8664c4c9f3f02150d06121714 (diff) |
Add: resource job pulling Zapper setup capabilities
The job added here connects to Zapper and pulls all the functions that the current setup can perform. The list is formated in a checkbox resource syntax, so it may be directly used as a template for template-units or as a requirement in other jobs.
Diffstat (limited to 'units/zapper')
-rw-r--r-- | units/zapper/resource.pxu | 11 | ||||
-rw-r--r-- | units/zapper/test-plan.pxu | 4 |
2 files changed, 9 insertions, 6 deletions
diff --git a/units/zapper/resource.pxu b/units/zapper/resource.pxu index 81b9d19..fcfe8a8 100644 --- a/units/zapper/resource.pxu +++ b/units/zapper/resource.pxu @@ -1,5 +1,8 @@ -id: pig +id: zapper_capabilities plugin: resource -_summary: Get Pig's capabilities -environ: PIG_HOST -command: ssh -q -o 'StrictHostKeyChecking=no' "$PIG_HOST" /snap/bin/pigbox capabilities +_summary: Get Zapper's setup capabilities +_description: + Connect to Zapper and list functions that the current setup (DUT + Zapper) are + capable off. +environ: ZAPPER_HOST +command: checkbox-support-zapper-proxy get_capabilities diff --git a/units/zapper/test-plan.pxu b/units/zapper/test-plan.pxu index ce287ff..db7ded7 100644 --- a/units/zapper/test-plan.pxu +++ b/units/zapper/test-plan.pxu @@ -11,6 +11,6 @@ unit: test plan _name: Tests using Zapper _description: Tests using Zapper include: - monitor/pig-edid + monitor/zapper-edid bootstrap_include: - pig + zapper_capabilities |