Martin Kopec f448d8c15d Run add-ons tests as well
Run tests of all target programs we have.
The patch enables required services in devstack (environment
the tests are executed on in Zuul) and implements a logic when
share config options which can be discovered only by using admin
credentials are passed to the second tempestconf execution
(with demo creds) so that they are set in tempest.conf used to run
refstack-client.

Change-Id: I79b7611f47d7d67d439e24c2427ee59870732172
2021-04-11 08:11:18 +00:00

103 lines
3.8 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,orchestration
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