Added gate_hook.sh to devstack plugin

This will help injecting code to the running gate job

Change-Id: Ie657bb4d4cf709cbf7b838b69ecd9cd8105f712c
This commit is contained in:
Saad Zaher 2016-10-13 17:41:55 +00:00
parent ecc3616224
commit da003a7697
1 changed files with 22 additions and 0 deletions

22
devstack/gate_hook.sh Normal file
View File

@ -0,0 +1,22 @@
#!/bin/bash
# (c) Copyright 2014,2015 Hewlett-Packard Development Company, L.P.
#
# 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.
set -ex
# Install freezer devstack integration
export DEVSTACK_LOCAL_CONFIG="enable_plugin freezer-api https://git.openstack.org/openstack/freezer-api"
# Invoke default behavior.
$BASE/new/devstack-gate/devstack-vm-gate.sh