zun/devstack/gate_hook.sh
Eli Qiao a181c191e0 Functional: Add post_test_hook
Aimed for run tempest api testing.

Change-Id: I08d9f4baf6bf03634a28e4bf8366f52ddf723807
2016-10-09 17:57:14 +08:00

32 lines
1.2 KiB
Bash
Executable File

#!/bin/bash -x
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
# This script is executed inside gate_hook function in devstack gate.
# Keep all devstack settings here instead of project-config for easy
# maintain if we want to change devstack config settings in future.
# Notes(eliqiao): Overwrite defaut ENABLED_SERVICES since currently zun
# doesn't relay on any other OpenStack service yet.
# Fixme(eliqiao): We don't need nova service, but devstack won't create
# userrc for us if nova service is not enabled, check
# https://github.com/openstack-dev/devstack/blob/master/stack.sh#L1310
OVERRIDE_ENABLED_SERVICES="dstat,key,mysql,rabbit,n-api,n-cond,n-cpu,n-crt,n-obj,n-sch,tempest"
export OVERRIDE_ENABLED_SERVICES
$BASE/new/devstack-gate/devstack-vm-gate.sh