diff options
author | Fatih Degirmenci <fdegir@gmail.com> | 2018-09-17 10:59:26 +0200 |
---|---|---|
committer | Fatih Degirmenci <fdegir@gmail.com> | 2018-09-18 14:26:15 +0200 |
commit | dc707acb1e679abae1e0fea8438833dadd3c5d98 (patch) | |
tree | 8de5214a1e1c61446e53d4662069a29af4ac9b57 /xci/playbooks/roles/prepare-tests/templates | |
parent | 84e736bed99882021d5aa74f84ac185bef2bcc89 (diff) |
Switch to Functest Hunter
A new var FUNCTEST_VERSION is introduced to jobs to control the
version to use for Functest.
Change-Id: Ice7aa9f910db2353ce3d0bef198bef9fa3efe9fd
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Diffstat (limited to 'xci/playbooks/roles/prepare-tests/templates')
-rw-r--r-- | xci/playbooks/roles/prepare-tests/templates/prepare-tests.sh.j2 | 2 | ||||
-rw-r--r-- | xci/playbooks/roles/prepare-tests/templates/run-functest.sh.j2 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xci/playbooks/roles/prepare-tests/templates/prepare-tests.sh.j2 b/xci/playbooks/roles/prepare-tests/templates/prepare-tests.sh.j2 index afc1cbbe..1b779cb9 100644 --- a/xci/playbooks/roles/prepare-tests/templates/prepare-tests.sh.j2 +++ b/xci/playbooks/roles/prepare-tests/templates/prepare-tests.sh.j2 @@ -1,7 +1,7 @@ #!/bin/bash # Variables that we need to pass from XCI to testing -XCI_ENV=(INSTALLER_TYPE XCI_FLAVOR OPENSTACK_OSA_VERSION CI_LOOP BUILD_TAG NODE_NAME FUNCTEST_MODE FUNCTEST_SUITE_NAME) +XCI_ENV=(INSTALLER_TYPE XCI_FLAVOR OPENSTACK_OSA_VERSION CI_LOOP BUILD_TAG NODE_NAME FUNCTEST_MODE FUNCTEST_SUITE_NAME FUNCTEST_VERSION) # Extract variables from xci.env file if [[ -e /root/xci.env ]]; then diff --git a/xci/playbooks/roles/prepare-tests/templates/run-functest.sh.j2 b/xci/playbooks/roles/prepare-tests/templates/run-functest.sh.j2 index acd19d19..b4cf46d7 100644 --- a/xci/playbooks/roles/prepare-tests/templates/run-functest.sh.j2 +++ b/xci/playbooks/roles/prepare-tests/templates/run-functest.sh.j2 @@ -32,7 +32,7 @@ ls -al . && cd ~ echo "------------------------------------------------------" # docker image to use will be different for healthcheck and smoke test -DOCKER_IMAGE_NAME="ollivier/functest-${FUNCTEST_SUITE_NAME}" +DOCKER_IMAGE_NAME="opnfv/functest-${FUNCTEST_SUITE_NAME}:${FUNCTEST_VERSION}" sudo docker run --env-file env \ -v $(pwd)/openrc:/home/opnfv/functest/conf/env_file \ |