summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2018-03-19 12:25:15 +0100
committerManuel Buil <mbuil@suse.com>2018-03-19 12:28:36 +0100
commitf6f8a157851264d038a500707cbd5f46d0862057 (patch)
tree01cc6a86ac4d7dcc6a83c825861b097b7be6e6c6
parentd0c16a80bac11f52bba7cc6e7152ec47aababe1f (diff)
Pass the OSA version to functest container
OPNFV scenarios are forced to support at least two versions of OSA. If there are API changes between two supported versions of OpenStack, the testing code must have two versions. However, without knowing what OpenStack version is deployed, it is impossible to automate the decision of which testing code to use Change-Id: I3ca8c6f33c05826a5d69417da774b7218bbd59e2 Signed-off-by: Manuel Buil <mbuil@suse.com>
-rw-r--r--xci/playbooks/roles/prepare-functest/templates/run-functest.sh.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/xci/playbooks/roles/prepare-functest/templates/run-functest.sh.j2 b/xci/playbooks/roles/prepare-functest/templates/run-functest.sh.j2
index 81a0734f..db3daa54 100644
--- a/xci/playbooks/roles/prepare-functest/templates/run-functest.sh.j2
+++ b/xci/playbooks/roles/prepare-functest/templates/run-functest.sh.j2
@@ -1,7 +1,7 @@
#!/bin/bash
# Variables that we need to pass from XCI to functest
-XCI_ENV=(INSTALLER_TYPE DEPLOY_SCENARIO XCI_FLAVOR)
+XCI_ENV=(INSTALLER_TYPE DEPLOY_SCENARIO XCI_FLAVOR OPENSTACK_OSA_VERSION)
source /root/openrc