From 4fbe418ec36caded2bd39d0cf7e51e0de9182b24 Mon Sep 17 00:00:00 2001 From: Federico Ressi Date: Thu, 17 Mar 2022 15:49:42 +0100 Subject: [PATCH] Add new IR plugin option to specify test_collect_dir variable In order to standarize CLI interface of IR plugins we add a new option to specify the testing result directory name ir tobiko --results-dir The existing option name will be kept for backward compatibility ir tobiko --collect-dir Change-Id: Ie198a3f15f170ca0172dd4e686c7b9d7af287d0e --- infrared_plugin/plugin.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/infrared_plugin/plugin.spec b/infrared_plugin/plugin.spec index cb7bc2a6c..097d73bd5 100644 --- a/infrared_plugin/plugin.spec +++ b/infrared_plugin/plugin.spec @@ -237,6 +237,9 @@ subparsers: options: collect-dir: type: Value - help: local directory where report files are going to be copied to + help: Local directory where report files are going to be copied to + ansible_variable: test_collect_dir + results-dir: + type: Value + help: Local directory where report files are going to be copied to ansible_variable: test_collect_dir - default: '{{ inventory_dir }}/{{ test_report_name }}'