From 97ebd2be34192e2f43fdc0d0f717851c148dc5ec Mon Sep 17 00:00:00 2001 From: Boris Pavlovic Date: Tue, 18 Nov 2014 03:26:05 +0400 Subject: [PATCH] Add rally job related files * Add README.rst file with useful description * Add extra and plugins directory with corresponding README files * Add rally task designate.yaml that will be actually run in gates Infra related patch is here: https://review.openstack.org/#/c/135132/ Change-Id: Ida3c3aa24f63592f9c4bd7143d30377fddd021a6 --- rally-scenarios/README.rst | 28 ++++++++++++++++++++++++++++ rally-scenarios/extra/README.rst | 6 ++++++ rally-scenarios/plugins/README.rst | 11 +++++++++++ rally-scenarios/plugins/__init__.py | 0 rally-scenarios/zaqar-zaqar.yaml | 11 +++++++++++ 5 files changed, 56 insertions(+) create mode 100644 rally-scenarios/README.rst create mode 100644 rally-scenarios/extra/README.rst create mode 100644 rally-scenarios/plugins/README.rst create mode 100644 rally-scenarios/plugins/__init__.py create mode 100644 rally-scenarios/zaqar-zaqar.yaml diff --git a/rally-scenarios/README.rst b/rally-scenarios/README.rst new file mode 100644 index 000000000..a3693afb4 --- /dev/null +++ b/rally-scenarios/README.rst @@ -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 + diff --git a/rally-scenarios/extra/README.rst b/rally-scenarios/extra/README.rst new file mode 100644 index 000000000..aab343c51 --- /dev/null +++ b/rally-scenarios/extra/README.rst @@ -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/* + diff --git a/rally-scenarios/plugins/README.rst b/rally-scenarios/plugins/README.rst new file mode 100644 index 000000000..3edce2624 --- /dev/null +++ b/rally-scenarios/plugins/README.rst @@ -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. + diff --git a/rally-scenarios/plugins/__init__.py b/rally-scenarios/plugins/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/rally-scenarios/zaqar-zaqar.yaml b/rally-scenarios/zaqar-zaqar.yaml new file mode 100644 index 000000000..7b466d589 --- /dev/null +++ b/rally-scenarios/zaqar-zaqar.yaml @@ -0,0 +1,11 @@ +--- + ZaqarBasic.create_queue: + - + args: + name_length: 10 + runner: + type: "rps" + times: 1000 + rps: 50 + sla: + max_failure_percent: 0