designate/contrib/devstack/gate_hook.sh
Kiall Mac Innes a4fa7e6f18 Use released versions of tempest-lib
tempest-lib now has a min version of 0.6.1, which includes
the necessary functionality. We no longer need to install
this from git.

Change-Id: I788d43207d87892df9151343bef76e4d0036b041
Depends-On: I46c1b6ff47be8dceb5bd6e73f93246721721c34e
2015-07-01 13:26:35 +01:00

25 lines
797 B
Bash
Executable File

#!/bin/bash
set -ex
pushd $BASE/new/devstack
DEVSTACK_GATE_DESIGNATE_DRIVER=${DEVSTACK_GATE_DESIGNATE_DRIVER:-powerdns}
export KEEP_LOCALRC=1
export ENABLED_SERVICES=designate,designate-api,designate-central,designate-sink,designate-mdns,designate-pool-manager,designate-zone-manager
echo "DESIGNATE_SERVICE_PORT_DNS=5322" >> $BASE/new/devstack/localrc
echo "DESIGNATE_BACKEND_DRIVER=$DEVSTACK_GATE_DESIGNATE_DRIVER" >> $BASE/new/devstack/localrc
echo "DESIGNATE_PERIODIC_RECOVERY_INTERVAL=20" >> $BASE/new/devstack/localrc
echo "DESIGNATE_PERIODIC_SYNC_INTERVAL=20" >> $BASE/new/devstack/localrc
# Pass through any DESIGNATE_ env vars to the localrc file
env | grep -E "^DESIGNATE_" >> $BASE/new/devstack/localrc || :
popd
# Run DevStack Gate
$BASE/new/devstack-gate/devstack-vm-gate.sh