remove vitrage-dashboard in gate

we don't need the vitrage-dashboard
when running tempest in gate

Change-Id: I3afff293a34ddfc62e8ddf46c8adaf8de4baf7dd
This commit is contained in:
Eyal 2018-02-04 14:37:54 +02:00
parent 9fd3cfd714
commit c530025e24
7 changed files with 13 additions and 16 deletions

View File

@ -26,7 +26,6 @@
- openstack/mistral
- openstack/python-vitrageclient
- openstack/vitrage
- openstack/vitrage-dashboard
- openstack/vitrage-tempest-plugin
irrelevant-files:
- ^.*\.rst$
@ -45,7 +44,6 @@
- openstack/mistral
- openstack/python-vitrageclient
- openstack/vitrage
- openstack/vitrage-dashboard
- openstack/vitrage-tempest-plugin
irrelevant-files:
- ^.*\.rst$
@ -64,7 +62,6 @@
- openstack/mistral
- openstack/python-vitrageclient
- openstack/vitrage
- openstack/vitrage-dashboard
- openstack/vitrage-tempest-plugin
irrelevant-files:
- ^.*\.rst$
@ -83,7 +80,6 @@
- openstack/mistral
- openstack/python-vitrageclient
- openstack/vitrage
- openstack/vitrage-dashboard
- openstack/vitrage-tempest-plugin
irrelevant-files:
- ^.*\.rst$

View File

@ -29,6 +29,13 @@ if [ "$DEVSTACK_GATE_USE_PYTHON3" == "True" ]; then
fi
sudo cp -rf $DEVSTACK_PATH/tempest/etc/logging.conf.sample $DEVSTACK_PATH/tempest/etc/logging.conf
# restart due to configuration files changes
sudo systemctl restart devstack@vitrage-graph.service
# wait for 30 seconds
sleep 30
cd $DEVSTACK_PATH/tempest/
sudo -E testr init

View File

@ -52,7 +52,6 @@
export PROJECTS="openstack/aodh $PROJECTS"
export PROJECTS="openstack/mistral $PROJECTS"
export PROJECTS="openstack/vitrage $PROJECTS"
export PROJECTS="openstack/vitrage-dashboard $PROJECTS"
export PROJECTS="openstack/vitrage-tempest-plugin $PROJECTS"
export ENABLED_SERVICES=tempest
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1

View File

@ -52,7 +52,6 @@
export PROJECTS="openstack/aodh $PROJECTS"
export PROJECTS="openstack/mistral $PROJECTS"
export PROJECTS="openstack/vitrage $PROJECTS"
export PROJECTS="openstack/vitrage-dashboard $PROJECTS"
export PROJECTS="openstack/vitrage-tempest-plugin $PROJECTS"
export ENABLED_SERVICES=tempest
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1

View File

@ -52,7 +52,6 @@
export PROJECTS="openstack/aodh $PROJECTS"
export PROJECTS="openstack/mistral $PROJECTS"
export PROJECTS="openstack/vitrage $PROJECTS"
export PROJECTS="openstack/vitrage-dashboard $PROJECTS"
export PROJECTS="openstack/vitrage-tempest-plugin $PROJECTS"
export ENABLED_SERVICES=tempest
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1

View File

@ -52,7 +52,6 @@
export PROJECTS="openstack/aodh $PROJECTS"
export PROJECTS="openstack/mistral $PROJECTS"
export PROJECTS="openstack/vitrage $PROJECTS"
export PROJECTS="openstack/vitrage-dashboard $PROJECTS"
export PROJECTS="openstack/vitrage-tempest-plugin $PROJECTS"
export ENABLED_SERVICES=tempest
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1

View File

@ -162,15 +162,13 @@ def heat_client(conf):
def mistral_client(conf):
"""Get an instance of Mistral client"""
auth_config = conf.service_credentials
try:
session = keystone_client.get_session(conf)
endpoint = session.get_endpoint(service_type='workflowv2',
endpoint_type='internalURL')
args = {
'mistral_url': endpoint,
'session': session
}
client = driver_module('mistral').Client(**args)
mi_client = driver_module('mistral')
client = mi_client.Client(
session=keystone_client.get_session(conf),
auth_url=auth_config.auth_url
)
LOG.info('Mistral client created')
return client
except Exception as e: