Change to parent dir in run_k8s_ansible.sh

This is calling tools/cloud-to-env.py without a full path, which fails
when it's called from the run_all_script which hasn't cd'd to
/opt/system-config.  Use the old "cd to my parent dir" at the start of
the script.

Change-Id: I54a97c6942edd8a047ac679f6b0b08f0e5595f1f
This commit is contained in:
Ian Wienand 2019-03-15 09:51:40 +11:00
parent e9ca0bc9ad
commit 6df8caa421
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@
# of this that could be cleaned up upstream, but doing so makes the actual
# os_ module invocations really chatty.
cd "$(dirname "$0")"
eval $(python3 tools/cloud-to-env.py --cloud=openstackci-vexxhost --region=sjc1)
export KEY="bridge-root-2014-09-15"