From a28c6265fa4e3f4ae909197cdeb6e80ab7ac51bf Mon Sep 17 00:00:00 2001 From: h00130372 Date: Tue, 26 Feb 2019 15:12:47 +0800 Subject: [PATCH] Fix error of running trovestack in openlab job Change directory of trove to {toxinidir} for testenv trovestack in /trove/tox.ini. Related-Bug: theopenlab/openlab#183 --- .../terraform-provider-openstack-acceptance-test-trove/run.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/terraform-provider-openstack-acceptance-test-trove/run.yaml b/playbooks/terraform-provider-openstack-acceptance-test-trove/run.yaml index 61ee506e9..c730a9a14 100644 --- a/playbooks/terraform-provider-openstack-acceptance-test-trove/run.yaml +++ b/playbooks/terraform-provider-openstack-acceptance-test-trove/run.yaml @@ -17,6 +17,7 @@ export PATH_DEVSTACK_SRC=$DEST/devstack export TROVE_RESIZE_TIME_OUT='' cd $DEST/trove + sed -i 's/-c\/opt\/stack\/trove\/test-upper-constraints.txt/{toxinidir}\/test-upper-constraints.txt/' tox.ini tox -etrovestack -vv -- kick-start mysql source /home/zuul/devstack/openrc admin admin