It follows the change "Move push_results_to_db to TestCase" [1] which
stopped duplicating TEST_DB_URL in config and in env.
[1] https://gerrit.opnfv.org/gerrit/#/c/49757/
Change-Id: If860492c40b1d0ed4082a4dbe385686020697f37
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
set +u
set +o pipefail
+TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results
+
check_os_deployment() {
FUNCTEST_IMAGE=opnfv/functest-healthcheck:${DOCKER_TAG}
echo "Functest: Pulling Functest Docker image ${FUNCTEST_IMAGE} ..."
envs="-e INSTALLER_TYPE=${INSTALLER_TYPE} -e INSTALLER_IP=${INSTALLER_IP} \
-e NODE_NAME=${NODE_NAME} -e DEPLOY_SCENARIO=${DEPLOY_SCENARIO} \
- -e BUILD_TAG=${BUILD_TAG} -e DEPLOY_TYPE=${DEPLOY_TYPE}"
+ -e BUILD_TAG=${BUILD_TAG} -e DEPLOY_TYPE=${DEPLOY_TYPE} \
+ -e TEST_DB_URL=${TEST_DB_URL}"
ssh_options="-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"