Merge "Add rally job related files"
This commit is contained in:
commit
fa17a25bec
28
rally-scenarios/README.rst
Normal file
28
rally-scenarios/README.rst
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
Rally job related files
|
||||||
|
=======================
|
||||||
|
|
||||||
|
This directory contains rally tasks and plugins that are run by OpenStack CI.
|
||||||
|
|
||||||
|
Structure:
|
||||||
|
|
||||||
|
* zaqar-zaqar.yaml is rally task that will be run in gates
|
||||||
|
|
||||||
|
* plugins - directory where you can add rally plugins. Almost everything in
|
||||||
|
Rally is 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 path in rally tasks.
|
||||||
|
Files will be in ~/.rally/extra/*
|
||||||
|
|
||||||
|
|
||||||
|
Useful links:
|
||||||
|
|
||||||
|
* More about rally: https://rally.readthedocs.org/en/latest/
|
||||||
|
|
||||||
|
* How to add rally-gates: https://rally.readthedocs.org/en/latest/rally_gatejob.html
|
||||||
|
|
||||||
|
* About plugins: https://rally.readthedocs.org/en/latest/plugins.html
|
||||||
|
|
||||||
|
* Plugin samples: https://github.com/stackforge/rally/tree/master/doc/samples/plugins
|
||||||
|
|
6
rally-scenarios/extra/README.rst
Normal file
6
rally-scenarios/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/*
|
||||||
|
|
11
rally-scenarios/plugins/README.rst
Normal file
11
rally-scenarios/plugins/README.rst
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
Rally plugins
|
||||||
|
=============
|
||||||
|
|
||||||
|
|
||||||
|
All *.py modules from this directory will auto loaded by Rally and all
|
||||||
|
plugins will be discoverable. There is no need in any extra configuration
|
||||||
|
and there is no difference between writing them here and in rally code base.
|
||||||
|
|
||||||
|
Note that it is better to push to Rally code base all interested and useful
|
||||||
|
benchmarks, cause that simplifies a lot life of operators.
|
||||||
|
|
0
rally-scenarios/plugins/__init__.py
Normal file
0
rally-scenarios/plugins/__init__.py
Normal file
11
rally-scenarios/zaqar-zaqar.yaml
Normal file
11
rally-scenarios/zaqar-zaqar.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
ZaqarBasic.create_queue:
|
||||||
|
-
|
||||||
|
args:
|
||||||
|
name_length: 10
|
||||||
|
runner:
|
||||||
|
type: "rps"
|
||||||
|
times: 1000
|
||||||
|
rps: 50
|
||||||
|
sla:
|
||||||
|
max_failure_percent: 0
|
Loading…
Reference in New Issue
Block a user