Add runtest formula and configure it
This patch adds runtest formula and configure it
Change-Id: I8244469979372ba95491d6c5750c6433917a20d1
Related-Prod: PROD-16870
diff --git a/classes/cluster/virtual-mcp11-aio/infra/config.yml b/classes/cluster/virtual-mcp11-aio/infra/config.yml
index c96f4b0..8b1bb8c 100644
--- a/classes/cluster/virtual-mcp11-aio/infra/config.yml
+++ b/classes/cluster/virtual-mcp11-aio/infra/config.yml
@@ -11,3 +11,14 @@
salt:
master:
worker_threads: 5
+ environment:
+ prd:
+ formula:
+ runtest:
+ source: git
+ address: 'https://gerrit.mcp.mirantis.net/salt-formulas/runtest'
+ revision: master
+ module:
+ runtest: runtest
+ state:
+ runtest.py: runtest.py
diff --git a/classes/cluster/virtual-mcp11-aio/openstack/init.yml b/classes/cluster/virtual-mcp11-aio/openstack/init.yml
index ed504fc..ea73df6 100755
--- a/classes/cluster/virtual-mcp11-aio/openstack/init.yml
+++ b/classes/cluster/virtual-mcp11-aio/openstack/init.yml
@@ -83,6 +83,8 @@
openstack_public_neutron_subnet_cidr: 192.168.130.0/24
openstack_public_neutron_subnet_allocation_start: 192.168.130.10
openstack_public_neutron_subnet_allocation_end: 192.168.130.254
+ runtest_tempest_cfg_dir: /root/rally_reports/
+ runtest_tempest_cfg_name: tempest_generated.conf
galera:
master:
members: ~
@@ -115,3 +117,9 @@
horizon:
server:
secure: False
+ runtest:
+ enabled: True
+ tempest:
+ enabled: True
+ cfg_dir: ${_param:runtest_tempest_cfg_dir}
+ cfg_name: ${_param:runtest_tempest_cfg_name}