Update rally job files
Rename rally-scenarios/ to rally-jobs/ Because it makes much more sense to call directory with jobs files rally-jobs Add pretty README files, that describes how to write plugins and use extra dir Update main README.rst file that describes what the hell is this=) Add cinder-fakevirt.yaml that will be required after this infra patch is merged: https://review.openstack.org/#/c/135137/ Change-Id: Ic7e5e8a99fc1385638fb187a04475a42eedcfeb2
This commit is contained in:
parent
3ec9917581
commit
76c015df85
34
rally-jobs/README.rst
Normal file
34
rally-jobs/README.rst
Normal file
@ -0,0 +1,34 @@
|
||||
Rally job related files
|
||||
=======================
|
||||
|
||||
This directory contains rally tasks and plugins that are run by OpenStack CI.
|
||||
|
||||
Structure
|
||||
---------
|
||||
|
||||
* cinder.yaml is a task that will be run in gates against OpenStack deployed
|
||||
by DevStack.
|
||||
|
||||
* cinder-fake.yaml is a task that will be run in gates against OpenStack
|
||||
deployed by DevStack with fake cinder driver.
|
||||
|
||||
* 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
|
||||
|
14
rally-jobs/cinder-fake.yaml
Normal file
14
rally-jobs/cinder-fake.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
CinderVolumes.create_and_list_volume:
|
||||
-
|
||||
args:
|
||||
size: 1
|
||||
detailed: True
|
||||
runner:
|
||||
type: "constant"
|
||||
times: 200
|
||||
concurrency: 20
|
||||
context:
|
||||
users:
|
||||
tenants: 1
|
||||
users_per_tenant: 1
|
5
rally-jobs/extra/README.rst
Normal file
5
rally-jobs/extra/README.rst
Normal file
@ -0,0 +1,5 @@
|
||||
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/*
|
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
@ -1,5 +0,0 @@
|
||||
This directory contains rally benchmark scenarios to be run by OpenStack CI.
|
||||
|
||||
|
||||
* more about rally: https://wiki.openstack.org/wiki/Rally
|
||||
* how to add rally-gates: https://wiki.openstack.org/wiki/Rally/RallyGates
|
Loading…
Reference in New Issue
Block a user