summaryrefslogtreecommitdiffstats
path: root/xci/config/env-vars
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-04-05 07:06:05 -0700
committerVictor Morales <victor.morales@intel.com>2018-04-11 02:43:13 -0700
commitb9f6aec722aa14c1052b4b66a33f23ebc4bae92c (patch)
tree550c18d44eb7c1a37e00248cf896221972b8b251 /xci/config/env-vars
parent4bc92b7148d629c5082eaf7d49c98146b017ed04 (diff)
Export OPENSTACK_REQUIREMENTS_VERSION
The hash value for the OpenStack requirements project is consumed for other projects which can be out of the openstack-ansible scope. This change creates the OPENSTACK_REQUIREMENTS_VERSION variable using the openstack_services.yml value as default one. Change-Id: I4544bcc3f14c107aab8ebba1dced1ba203f07f68 Signed-off-by: Victor Morales <victor.morales@intel.com>
Diffstat (limited to 'xci/config/env-vars')
-rwxr-xr-xxci/config/env-vars2
1 files changed, 2 insertions, 0 deletions
diff --git a/xci/config/env-vars b/xci/config/env-vars
index f72a0240..185778cf 100755
--- a/xci/config/env-vars
+++ b/xci/config/env-vars
@@ -43,3 +43,5 @@ export XCI_SSL_SUBJECT=${XCI_SSL_SUBJECT:-"/C=US/ST=California/L=San Francisco/O
export DEPLOY_SCENARIO=${DEPLOY_SCENARIO:-"os-nosdn-nofeature"}
# Kubespray requires that ansible version is 2.4.0.0
export XCI_KUBE_ANSIBLE_PIP_VERSION=2.4.0.0
+# OpenStack global requirements version
+export OPENSTACK_REQUIREMENTS_VERSION=${OPENSTACK_REQUIREMENTS_VERSION:-$(awk '/requirements_git_install_branch:/ {print $2}' ${XCI_PATH}/xci/installer/osa/files/openstack_services.yml)}