From: Manuel Buil <mbuil@suse.com>
Date: Mon, 29 Jan 2018 15:23:38 +0000 (+0100)
Subject: Adapt to change in functest
X-Git-Tag: 6.0.0~170^2
X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=ca31970085133cb8b40ec0990eff0ae929d90e90;p=releng-xci.git

Adapt to change in functest

Functest requires to read the variable TEST_DB_URL from the env. variables:

https://gerrit.opnfv.org/gerrit/#/c/49757/

Change-Id: Idbfc2df989f5b2a8e6ddd2d9a9a70526dd9bf1f4
Signed-off-by: Manuel Buil <mbuil@suse.com>
---

diff --git a/xci/playbooks/roles/run-functest/templates/env.j2 b/xci/playbooks/roles/run-functest/templates/env.j2
index 87093325..edf4872a 100644
--- a/xci/playbooks/roles/run-functest/templates/env.j2
+++ b/xci/playbooks/roles/run-functest/templates/env.j2
@@ -2,3 +2,4 @@ INSTALLER_TYPE=osa
 INSTALLER_IP=192.168.122.2
 EXTERNAL_NETWORK={{ external_network }}
 DEPLOY_SCENARIO="os-nosdn-nofeature-noha"
+TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results