From fe8481c695eb89b0eb64ba4eb5480e5cd5086e10 Mon Sep 17 00:00:00 2001 From: Elizabeth Krumbach Joseph Date: Tue, 15 Oct 2013 17:56:23 -0700 Subject: [PATCH] Fix failure to complete pull-tools in tripleo gate The required TRIPLEO_ROOT envar was not included in initial version of this script, so it failed. With this patch I've confirmed that the build now completes and shows up as "ready" in nodepool image-list. Change-Id: I3006b8c0d55317e1640149e92f47bc265030087e --- .../files/nodepool/scripts/prepare_tripleo.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/openstack_project/files/nodepool/scripts/prepare_tripleo.sh b/modules/openstack_project/files/nodepool/scripts/prepare_tripleo.sh index 37f4bea46d..27aa510b93 100755 --- a/modules/openstack_project/files/nodepool/scripts/prepare_tripleo.sh +++ b/modules/openstack_project/files/nodepool/scripts/prepare_tripleo.sh @@ -32,10 +32,14 @@ sudo DEBIAN_FRONTEND=noninteractive apt-get \ rm -rf ~/tripleo mkdir -p ~/tripleo +export TRIPLEO_ROOT=~/tripleo cd ~/tripleo git clone https://review.openstack.org/p/openstack/tripleo-incubator bash tripleo-incubator/scripts/pull-tools +# Instead of running pull-tools, we'll eventually want to get the +# refresh-env script working: +# source tripleo-incubator/scripts/refresh-env ~/tripleo # We'll want something like this for triplo when we do dependencies #