Add Rally jobs related files to Murano
Add files that allow the Rally job (will be added in a separated infra patch) work properly. For more info, see the README files. Change-Id: I58bd59889df51e5ec13d9135aa9a886a05a6efc0
This commit is contained in:
parent
67589c7c12
commit
bebeb2b160
28
rally-jobs/README.rst
Normal file
28
rally-jobs/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
|
||||
---------
|
||||
|
||||
* **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
|
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, which makes it
|
||||
possible to use absolute paths in rally tasks. Files will be in ~/.rally/extra/*
|
17
rally-jobs/extra/applications/README.rst
Normal file
17
rally-jobs/extra/applications/README.rst
Normal file
@ -0,0 +1,17 @@
|
||||
Murano applications
|
||||
===================
|
||||
|
||||
Files for Murano benchmarking
|
||||
|
||||
Structure
|
||||
---------
|
||||
|
||||
* <application_name>/ 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/
|
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 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.
|
0
rally-jobs/plugins/__init__.py
Normal file
0
rally-jobs/plugins/__init__.py
Normal file
28
rally-jobs/task-murano.yaml
Normal file
28
rally-jobs/task-murano.yaml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user