summaryrefslogtreecommitdiffstats
path: root/etc/conf/onap-vvp_config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'etc/conf/onap-vvp_config.yml')
-rw-r--r--etc/conf/onap-vvp_config.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/etc/conf/onap-vvp_config.yml b/etc/conf/onap-vvp_config.yml
new file mode 100644
index 00000000..ee09b711
--- /dev/null
+++ b/etc/conf/onap-vvp_config.yml
@@ -0,0 +1,32 @@
+##############################################################################
+# Copyright (c) 2019 opnfv.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+---
+
+{% set build_tag = build_tag or '' %}
+{% set heat_templates_archive = heat_templates_archive or '' %}
+{% set result_dir = '/vvp/reports' %}
+
+onap-vvp:
+ image_name: nexus3.onap.org:10001/onap/vvp/validation-scripts
+ docker_tag: latest
+ opts:
+ detach: true
+ tty: true
+ entrypoint: ''
+ shell: '/bin/ash'
+ volumes:
+ - '{{dovetail_home}}/pre_config/{{heat_templates_archive}}.zip:/tmp/{{heat_templates_archive}}.zip'
+ - '{{dovetail_home}}/results:{{result_dir}}'
+ pre_condition:
+ - 'unzip -o -d /vvp/{{heat_templates_archive}} /tmp/{{heat_templates_archive}}.zip'
+ cmds:
+ - 'pytest tests --template-directory=/vvp/{{heat_templates_archive}} --output-directory={{result_dir}} --report-format=json --continue-on-failure'
+ post_condition:
+ - 'echo this is post_condition'