
Run tests from all main target programs, for that a new refstack_target_programs var is defined. The var will cause the role to execute 'refstack-client test' command for every given target program. Collect whole .stestr dir in the zuul jobs as there will be multiple output files (for every given target program). Bump the default guideline to the latest one (2020.11). The patch also fixes a few style mistakes/typos. Change-Id: I82ba0bf26b994d4e21acabcb015d798081a33da2
103 lines
3.7 KiB
RPMSpec
103 lines
3.7 KiB
RPMSpec
---
|
|
# This file and main.yml are required by Infrared project
|
|
config:
|
|
plugin_type: test
|
|
entry_point: main.yml
|
|
roles_path: ../
|
|
subparsers:
|
|
ansible-role-refstack-client:
|
|
description: OpenStack interoperability tests
|
|
include_groups: ["Ansible options", "Inventory", "Common options", "Answers file"]
|
|
groups:
|
|
- title: OpenStack Interoperability Tests
|
|
options:
|
|
accounts_path:
|
|
type: Value
|
|
help: |
|
|
Path to a tempest accounts file which will be used in tempest.conf
|
|
generation step.
|
|
additional_tempestconf_params:
|
|
type: Value
|
|
help: |
|
|
Additional parameters to be passed to discover-tempest-config tool.
|
|
deployer_input:
|
|
type: Value
|
|
help: |
|
|
Path to a deployer-input file which will be used in tempest.conf
|
|
generation step.
|
|
dest_dir:
|
|
type: Value
|
|
help: |
|
|
Local directory where the artifact files will be stored.
|
|
download_artifacts:
|
|
type: Bool
|
|
help: |
|
|
Whether artifacts should be downloaded to the host machine or not.
|
|
They will be downloaded to dest_dir location.
|
|
guideline:
|
|
type: Value
|
|
help: |
|
|
Specific refstack guideline.
|
|
private_key_path:
|
|
type: Value
|
|
help: |
|
|
If defined, results will be uploaded to the corresponding account.
|
|
private_key_path_src:
|
|
type: Value
|
|
help: |
|
|
If defined, the key is copied to the targeted machine to the
|
|
private_key_path location.
|
|
refstack_client_source:
|
|
type: Value
|
|
help: |
|
|
Destination where refstack-client will be cloned only if the dir
|
|
does not exist or it is empty, otherwise it will be used as is.
|
|
server:
|
|
type: Value
|
|
help: |
|
|
Server url where results will be uploaded to if upload_results
|
|
is True.
|
|
source_credentials:
|
|
type: Value
|
|
help: |
|
|
File or command to be sourced: keystonerc_demo/openrc demo demo.
|
|
These creds will be used to run refstack tests.
|
|
source_admin_credentials:
|
|
type: Value
|
|
help: |
|
|
File or command to be sourced: keystonerc_admin/openrc admin admin.
|
|
These creds will be used to generate accounts.yaml.
|
|
tempest_config_path:
|
|
type: Value
|
|
help: |
|
|
Destination of tempest configuration file to be used for running
|
|
refstack tests.
|
|
tempest_tag:
|
|
type: Value
|
|
help: |
|
|
Tempest will be cloned and checkouted to this specific tag.
|
|
test_list:
|
|
type: Value
|
|
help: |
|
|
A path or an URL to a test list text file containing specific
|
|
test cases.
|
|
refstack_target_programs:
|
|
type: ListValue
|
|
help: |
|
|
Tests within the specified target programs will be executed.
|
|
Usage: --refstack_target_programs platform,compute
|
|
upload_results:
|
|
type: Bool
|
|
help: |
|
|
Whether results should be uploaded to a server or not.
|
|
url_cirros_image:
|
|
type: Value
|
|
help: |
|
|
A path or a link to a cirros image.
|
|
refstack_tempest_plugins:
|
|
type: KeyValueList
|
|
help: |
|
|
Openstack services names with branch or tag for installing the
|
|
tempest plugins that associated with them.
|
|
Usage: --refstack_tempest_plugins manila:1.3.0,cinder:master
|