Allow RDO_IMAGE_URI env var to override RDO images source 55/29755/2
authorDan Radez <dradez@redhat.com>
Fri, 3 Mar 2017 19:51:52 +0000 (14:51 -0500)
committerDan Radez <dradez@redhat.com>
Fri, 3 Mar 2017 19:54:10 +0000 (14:54 -0500)
JIRA: APEX-381

Change-Id: If740f376fefc325d54c7477f8c97af0b51201354
Signed-off-by: Dan Radez <dradez@redhat.com>
build/variables.sh

index c30aa2a..0fc3824 100644 (file)
@@ -15,7 +15,7 @@ CACHE_DIR="$(dirname ${BUILD_ROOT})/.cache"
 CACHE_HISTORY=".cache_history"
 PATCHES_DIR="${BUILD_ROOT}/patches"
 
 CACHE_HISTORY=".cache_history"
 PATCHES_DIR="${BUILD_ROOT}/patches"
 
-rdo_images_uri=http://buildlogs.centos.org/centos/7/cloud/x86_64/tripleo_images/newton/delorean
+rdo_images_uri=${RDO_IMAGES_URI:-http://buildlogs.centos.org/centos/7/cloud/$(uname -p)/tripleo_images/newton/delorean}
 onos_release_uri=https://downloads.onosproject.org/nightly/
 onos_release_file=onos-1.8.0-rc6.tar.gz
 onos_jdk_uri=http://artifacts.opnfv.org/apex/colorado
 onos_release_uri=https://downloads.onosproject.org/nightly/
 onos_release_file=onos-1.8.0-rc6.tar.gz
 onos_jdk_uri=http://artifacts.opnfv.org/apex/colorado