Pass the OSA version to functest container 01/54101/2
authorManuel Buil <mbuil@suse.com>
Mon, 19 Mar 2018 11:25:15 +0000 (12:25 +0100)
committerManuel Buil <mbuil@suse.com>
Mon, 19 Mar 2018 11:28:36 +0000 (12:28 +0100)
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>
xci/playbooks/roles/prepare-functest/templates/run-functest.sh.j2

index 81a0734..db3daa5 100644 (file)
@@ -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