diff --git a/rally-jobs/README.rst b/rally-jobs/README.rst new file mode 100644 index 000000000..de500c002 --- /dev/null +++ b/rally-jobs/README.rst @@ -0,0 +1,28 @@ +Rally job related files +======================= + +This directory contains rally tasks and plugins that are run by OpenStack CI. + +Structure +--------- + +* **task-murano.yaml** is a task that will be run in gates against OpenStack deployed + by DevStack with installed Rally & Murano. + +* **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, which + makes it possible to use absolute paths 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/gates.html + +* About plugins: https://rally.readthedocs.org/en/latest/plugins.html diff --git a/rally-jobs/extra/README.rst b/rally-jobs/extra/README.rst new file mode 100644 index 000000000..0aa38eb09 --- /dev/null +++ b/rally-jobs/extra/README.rst @@ -0,0 +1,5 @@ +Extra files +=========== + +All files from this directory will be copy-pasted to gates, which makes it +possible to use absolute paths in rally tasks. Files will be in ~/.rally/extra/* diff --git a/rally-jobs/extra/applications/README.rst b/rally-jobs/extra/applications/README.rst new file mode 100644 index 000000000..65bb8d4e0 --- /dev/null +++ b/rally-jobs/extra/applications/README.rst @@ -0,0 +1,17 @@ +Murano applications +=================== + +Files for Murano benchmarking + +Structure +--------- + +* / directories. Each directory stores a simple Murano package + that is used to prepare the Murano context that is used to deploy an environment + with a package. Other files needed for applications can be placed here as well. + + +Useful links +------------ + +* More about Murano: http://murano.readthedocs.org/ diff --git a/rally-jobs/plugins/README.rst b/rally-jobs/plugins/README.rst new file mode 100644 index 000000000..34a3fc957 --- /dev/null +++ b/rally-jobs/plugins/README.rst @@ -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 the Rally code base. + +Note, however, that it is better to push all interesting and useful benchmarks +to the Rally code base: this simplifies administration for Operators. diff --git a/rally-jobs/plugins/__init__.py b/rally-jobs/plugins/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/rally-jobs/task-murano.yaml b/rally-jobs/task-murano.yaml new file mode 100644 index 000000000..3d77f234c --- /dev/null +++ b/rally-jobs/task-murano.yaml @@ -0,0 +1,28 @@ +--- + MuranoEnvironments.list_environments: + - + runner: + type: "constant" + times: 30 + concurrency: 4 + context: + users: + tenants: 2 + users_per_tenant: 2 + sla: + failure_rate: + max: 0 + + MuranoEnvironments.create_and_delete_environment: + - + runner: + type: "constant" + times: 20 + concurrency: 2 + context: + users: + tenants: 2 + users_per_tenant: 2 + sla: + failure_rate: + max: 0