Add rally integration point
This folder is used to define the rally tests scenarios run for Kuryr gate job. This also allow to create Kuryr specific rally plugins and use them in scenarios in the gate job. implements blueprint: rally-kuryr-testing Change-Id: I73078fffbf5707740a58be70902d5cb5a95fc074
This commit is contained in:
parent
16894b1c29
commit
f90577d15d
31
rally-jobs/README.rst
Normal file
31
rally-jobs/README.rst
Normal file
@ -0,0 +1,31 @@
|
||||
Rally job related files
|
||||
=======================
|
||||
|
||||
This directory contains rally tasks and plugins that are run by OpenStack CI.
|
||||
|
||||
Structure
|
||||
---------
|
||||
|
||||
* plugins - directory where you can add rally plugins. Almost everything in
|
||||
Rally is a plugin. Benchmark context, Benchmark scenario, SLA checks, Generic
|
||||
cleanup resources, ....
|
||||
|
||||
* extra - all files from this directory will be copy pasted to gates, so you
|
||||
are able to use absolute paths in rally tasks.
|
||||
Files will be located in ~/.rally/extra/*
|
||||
|
||||
* kuryr.yaml is a task that is run in gates against OpenStack with
|
||||
Kuryr and Neutron deployed
|
||||
|
||||
Useful links
|
||||
------------
|
||||
|
||||
* More about Rally: https://rally.readthedocs.org/en/latest/
|
||||
|
||||
* Rally release notes: https://rally.readthedocs.org/en/latest/release_notes.html
|
||||
|
||||
* How to add rally-gates: https://rally.readthedocs.org/en/latest/gates.html
|
||||
|
||||
* About plugins: https://rally.readthedocs.org/en/latest/plugins.html
|
||||
|
||||
* Plugin samples: https://github.com/openstack/rally/tree/master/samples/plugins
|
6
rally-jobs/extra/README.rst
Normal file
6
rally-jobs/extra/README.rst
Normal file
@ -0,0 +1,6 @@
|
||||
Extra files
|
||||
===========
|
||||
|
||||
All files from this directory will be copy pasted to gates, so you are able to
|
||||
use absolute path in rally tasks. Files will be in ~/.rally/extra/*
|
||||
|
17
rally-jobs/kuryr.yaml
Normal file
17
rally-jobs/kuryr.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
NeutronNetworks.create_and_list_networks:
|
||||
-
|
||||
runner:
|
||||
type: "constant"
|
||||
times: 40
|
||||
concurrency: 20
|
||||
context:
|
||||
users:
|
||||
tenants: 1
|
||||
users_per_tenant: 1
|
||||
quotas:
|
||||
neutron:
|
||||
network: -1
|
||||
sla:
|
||||
failure_rate:
|
||||
max: 0
|
9
rally-jobs/plugins/README.rst
Normal file
9
rally-jobs/plugins/README.rst
Normal file
@ -0,0 +1,9 @@
|
||||
Rally plugins
|
||||
=============
|
||||
|
||||
All *.py modules from this directory will be auto-loaded by Rally and all
|
||||
plugins will be discoverable. There is no need of any extra configuration
|
||||
and there is no difference between writing them here and in rally code base.
|
||||
|
||||
Note that it is better to push all interesting and useful benchmarks to Rally
|
||||
code base, this simplifies administration for Operators.
|
0
rally-jobs/plugins/__init__.py
Normal file
0
rally-jobs/plugins/__init__.py
Normal file
Loading…
x
Reference in New Issue
Block a user