summaryrefslogtreecommitdiffstats
path: root/xci
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2018-02-26 21:59:27 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-02-26 21:59:27 +0000
commit658d79e3a47ff254aede2233208945bdb7793ee5 (patch)
treeeba449af8dd401941db1d372e0df23ac8abae1ab /xci
parentdf31d7021e0cda44fd0ccd057e4d63ec86152c76 (diff)
parentbed4ec120895b700b2d6dcc742328820f74501bc (diff)
Merge "xci: config: env-vars: Allow git urls overrides"
Diffstat (limited to 'xci')
-rwxr-xr-xxci/config/env-vars18
1 files changed, 11 insertions, 7 deletions
diff --git a/xci/config/env-vars b/xci/config/env-vars
index f188149f..04c10c0e 100755
--- a/xci/config/env-vars
+++ b/xci/config/env-vars
@@ -2,14 +2,18 @@
# !!! Changing or overriding these will most likely break everything altogether !!!
# Please do not change these settings if you are not developing for XCI!
#-------------------------------------------------------------------------------
-export OPNFV_RELENG_GIT_URL=https://gerrit.opnfv.org/gerrit/releng-xci.git
-export OPENSTACK_BIFROST_GIT_URL=https://git.openstack.org/openstack/bifrost
-export OPENSTACK_OSA_GIT_URL=https://git.openstack.org/openstack/openstack-ansible
-export OPENSTACK_OSA_OPENRC_GIT_URL=https://git.openstack.org/openstack/openstack-ansible-openstack_openrc
+
+# Repositories
+export OPNFV_RELENG_GIT_URL=${OPNFV_RELENG_GIT_URL:-https://gerrit.opnfv.org/gerrit/releng-xci.git}
+export OPENSTACK_BIFROST_GIT_URL=${OPENSTACK_BIFROST_GIT_URL:-https://git.openstack.org/openstack/bifrost}
+export OPENSTACK_OSA_GIT_URL=${OPENSTACK_OSA_GIT_URL:-https://git.openstack.org/openstack/openstack-ansible}
+export OPENSTACK_OSA_OPENRC_GIT_URL=${OPENSTACK_OSA_OPENRC_GIT_URL:-https://git.openstack.org/openstack/openstack-ansible-openstack_openrc}
+export KUBESPRAY_GIT_URL=${KUBESPRAY_GIT_URL:-https://github.com/kubernetes-incubator/kubespray.git}
+export OPENSTACK_OSA_HAPROXY_GIT_URL=${OPENSTACK_OSA_HAPROXY_GIT_URL:-https://git.openstack.org/openstack/openstack-ansible-haproxy_server}
+export KEEPALIVED_GIT_URL=${KEEPALIVED_GIT_URL:-https://github.com/evrardjp/ansible-keepalived}
+
+# Configuration
export OPENSTACK_OSA_ETC_PATH=/etc/openstack_deploy
-export KUBESPRAY_GIT_URL=https://github.com/kubernetes-incubator/kubespray.git
-export OPENSTACK_OSA_HAPROXY_GIT_URL=https://git.openstack.org/openstack/openstack-ansible-haproxy_server
-export KEEPALIVED_GIT_URL=https://github.com/evrardjp/ansible-keepalived
export OPNFV_HOST_IP=192.168.122.2
export XCI_FLAVOR_ANSIBLE_FILE_PATH=$XCI_PATH/xci/installer/$XCI_INSTALLER/files/$XCI_FLAVOR
export CI_LOOP=${CI_LOOP:-daily}