6cec32ca4a
In order to fix the gate properly we need some control over the way we setup the environment. This patch creates a `tools\post_test_hook.sh` file that for now mirrors the one stated in openstack-infra/project-config. Later the project-config will be modified to use it. After that we can start configuring the environment to our needs. Change-Id: Ib9388e7f5001d7efa35f6f16421251c9a59ad396 Partial-Bug: #1492942
21 lines
759 B
Bash
Executable File
21 lines
759 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# 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 post_test_hook function in devstack gate.
|
|
|
|
set -x
|
|
|
|
source $BASE/new/devstack/openrc
|
|
python $BASE/new/heat-templates/tools/validate-templates $BASE/new/heat-templates
|