devstack: Add gate_hook for devstack gate job

This gate_hook.sh will be used by project-config.

BTW, fix a seeting mistake for higgins-conductor service.

Change-Id: I55542a1522121b9504f8018ce682be9b874fa941
This commit is contained in:
Eli Qiao 2016-05-30 10:27:09 +08:00
parent af13d127ac
commit c8fd8b5032
2 changed files with 25 additions and 1 deletions

24
devstack/gate_hook.sh Executable file
View File

@ -0,0 +1,24 @@
#!/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.
export PROJECTS="openstack/higgins $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin higgins git://git.openstack.org/openstack/higgins"
$BASE/new/devstack-gate/devstack-vm-gate.sh

View File

@ -17,4 +17,4 @@
# Enable Higgins services
enable_service higgins-api
enable_service higgins-cond
enable_service higgins-conductor