summaryrefslogtreecommitdiff
path: root/gate
diff options
context:
space:
mode:
authorMatt Riedemann <mriedem.os@gmail.com>2019-07-10 17:27:10 -0400
committerMatt Riedemann <mriedem.os@gmail.com>2019-07-23 11:32:35 -0400
commitcee072b962edd2412d579b4a87f191d098536ae7 (patch)
treef1182acf51db694ddc47883c1d906dc072dd5678 /gate
parent2722cab1af350b05a641b18b4054fd8d95b94cc1 (diff)
downloadnova-cee072b962edd2412d579b4a87f191d098536ae7.tar.gz
Convert nova-next to a zuul v3 job
For the most part this should be a pretty straight-forward port of the run.yaml. The most complicated thing is executing the post_test_hook.sh script. For that, a new post-run playbook and role are added. The relative path to devstack scripts in post_test_hook.sh itself had to drop the 'new' directory since we are no longer executing the script through devstack-gate anymore the 'new' path does not exist. Change-Id: Ie3dc90862c895a8bd9bff4511a16254945f45478
Diffstat (limited to 'gate')
-rwxr-xr-xgate/post_test_hook.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/gate/post_test_hook.sh b/gate/post_test_hook.sh
index ef7326ab28..fd439b8eb5 100755
--- a/gate/post_test_hook.sh
+++ b/gate/post_test_hook.sh
@@ -34,8 +34,8 @@ function purge_db {
}
BASE=${BASE:-/opt/stack}
-source ${BASE}/new/devstack/functions-common
-source ${BASE}/new/devstack/lib/nova
+source ${BASE}/devstack/functions-common
+source ${BASE}/devstack/lib/nova
cell_conf=$(conductor_conf 1)
# NOTE(danms): We need to pass the main config to get the api db
# bits, and then also the cell config for the cell1 db (instead of
@@ -49,7 +49,7 @@ purge_db
set -e
# We need to get the admin credentials to run the OSC CLIs for Placement.
set +x
-source $BASE/new/devstack/openrc admin
+source $BASE/devstack/openrc admin
set -x
# TODO(mriedem): Consider checking for instances in ERROR state because