summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/conf/cmd_config.yml4
-rw-r--r--etc/conf/functest_config.yml3
2 files changed, 6 insertions, 1 deletions
diff --git a/etc/conf/cmd_config.yml b/etc/conf/cmd_config.yml
index 05456583..3bfce46e 100644
--- a/etc/conf/cmd_config.yml
+++ b/etc/conf/cmd_config.yml
@@ -93,3 +93,7 @@ cli:
- '-n'
is_flag: 'True'
help: 'Keep all Containers created for debuging.'
+ deployscenario:
+ flags:
+ - '--deploy-scenario'
+ help: 'Specify the DEPLOY_SCENARIO which will be used as input by each testcase respectively'
diff --git a/etc/conf/functest_config.yml b/etc/conf/functest_config.yml
index 1e7cfeb3..b9453e17 100644
--- a/etc/conf/functest_config.yml
+++ b/etc/conf/functest_config.yml
@@ -1,6 +1,7 @@
---
{% set validate_testcase = validate_testcase or '' %}
+{% set deploy_scenario = deploy_scenario or 'unknown' %}
{% set os_insecure = os_insecure or 'False' %}
{% set os_verify = '' %}
{% if os_insecure == 'True' %}
@@ -11,7 +12,7 @@ functest:
image_name: opnfv/functest-smoke
docker_tag: fraser
opts: '-id --privileged=true'
- envs: '{{os_verify}} -e INSTALLER_TYPE=unknown -e DEPLOY_SCENARIO=unknown -e NODE_NAME=unknown
+ envs: '{{os_verify}} -e INSTALLER_TYPE=unknown -e DEPLOY_SCENARIO={{deploy_scenario}} -e NODE_NAME=unknown
-e TEST_DB_URL=file:///home/opnfv/functest/results/functest_results.txt'
config:
dir: '/home/opnfv/userconfig'