ansible-role-refstack-client/infrared_plugin/plugin.spec
Martin Kopec 3a7b72ba93 Add devstack jobs to run the role
The patch mainly adds devstack jobs to run the role against master and
the three last OpenStack releases. In addition
to that the following changes were made as well:
* upload_results and download_artifacts will be False by default
* added more comments
* a few tasks from main.yaml got moved to standalone files in order
  to increase readability

Change-Id: Ice0c5958ad179b2d9bc1b2f4d103e4be67a2a773
2020-12-07 13:54:41 +00:00

92 lines
3.2 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.a
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.