summaryrefslogtreecommitdiffstats
path: root/etc/conf/onap-vvp_config.yml
blob: 67d21fae6ae7fec423b3aa2a99d41b6094f7c721 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---

{% 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: '-td --entrypoint=""'
  shell: '/bin/ash'
  volumes:
    - '-v {{dovetail_home}}/pre_config/{{heat_templates_archive}}.tar.gz:/tmp/{{heat_templates_archive}}.tar.gz'
    - '-v {{dovetail_home}}/results:{{result_dir}}'
  pre_condition:
    - 'tar xf /tmp/{{heat_templates_archive}}.tar.gz -C /vvp'
  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'