Filter out services in designate jobs

Designate doesn't need all the services running for its integration
tests. Let's filter out the ones we don't need, at least to remove
swift, which isn't used and doesn't work in py3.

Change-Id: If56c3d0e913766810648329d3cb8173ab24036ce
This commit is contained in:
Thomas Herve 2017-07-21 22:41:40 +02:00
parent baac063767
commit 810a159635
1 changed files with 12 additions and 0 deletions

View File

@ -19,6 +19,16 @@
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
services=rabbit,tempest,mysql,dstat,key
services+=,n-api,n-api-meta,n-cpu,n-cond,n-sch,n-crt
# placement service mandatory for nova from ocata
if [[ "stable/newton" != $ZUUL_BRANCH ]]; then
services+=,placement-api
fi
services+=,g-api,g-reg
services+=,c-sch,c-api,c-vol,c-bak
services+=,q-svc,q-dhcp,q-meta,q-agt,q-l3
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_TEMPEST_REGEX=designate
@ -46,6 +56,8 @@
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service designate-pool-manager designate-zone-manager"
fi
export OVERRIDE_ENABLED_SERVICES=$services
if [ "{special}" == "-postgres" ] ; then
export DEVSTACK_GATE_POSTGRES=1
fi