From 2922ab5b33407688cc4e8ef435c9d67f9933085a Mon Sep 17 00:00:00 2001 From: Maciej Kisielewski Date: Fri, 29 Apr 2022 17:03:09 +0000 Subject: 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. --- units/zapper/resource.pxu | 11 +++++++---- units/zapper/test-plan.pxu | 4 ++-- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'units/zapper') 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 -- cgit v1.2.3