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 <peth/to/results/dir>

The existing option name will be kept for backward compatibility

  ir tobiko --collect-dir <peth/to/results/dir>

Change-Id: Ie198a3f15f170ca0172dd4e686c7b9d7af287d0e
This commit is contained in:
Federico Ressi 2022-03-17 15:49:42 +01:00
parent d1fac1802c
commit 4fbe418ec3
1 changed files with 5 additions and 2 deletions

View File

@ -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 }}'