From 7d807e9077c0049f3ccee2ba6675a7c14409f182 Mon Sep 17 00:00:00 2001 From: Feng Pan Date: Wed, 20 Apr 2016 14:10:53 -0400 Subject: Add PYTHONPATH for verify deployments Also adds dependency for python34 package. Change-Id: I6d28a9e0a196c400aecc1d7bb17eefce6e611564 Signed-off-by: Feng Pan --- jjb/apex/apex.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'jjb') diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml index b48e81e8c..76586ffc5 100644 --- a/jjb/apex/apex.yml +++ b/jjb/apex/apex.yml @@ -847,6 +847,15 @@ DEPLOY_CMD="./deploy.sh -c ${WORKSPACE}/build -r ${WORKSPACE}/build/images/" DEPLOY_FILE="${WORKSPACE}/config/deploy/${DEPLOY_SCENARIO}.yaml" NETWORK_FILE="${WORKSPACE}/config/network/network_settings.yaml" + # Make sure python34 is installed + if ! rpm -q python34 > /dev/null; then + sudo yum install -y epel-release + if ! sudo yum install -y python34; then + echo "Failed to install python34" + exit 1 + fi + fi + export PYTHONPATH=$PYTHONPATH:${WORKSPACE}/lib/python/apex else RPM_LIST=$RPM_INSTALL_PATH for pkg in common undercloud opendaylight-sfc; do -- cgit 1.2.3-korg