summaryrefslogtreecommitdiffstats
path: root/etc/conf/functest_config.yml
blob: e5f21a9cb01931a89bccd52aafbc182d2e5fb2f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
functest:
  image_name: opnfv/functest-restapi
  docker_tag: euphrates
  opts: '-id --privileged=true'
  envs: '-e INSTALLER_TYPE=unknown -e DEPLOY_SCENARIO=unknown -e NODE_NAME=unknown
         -e TEST_DB_URL=file:///home/opnfv/functest/results/functest_results.txt'
  config:
    dir: '/home/opnfv/userconfig'
    images: '/home/opnfv/functest/images'
  pre_condition:
    - 'cp /home/opnfv/userconfig/pre_config/testcases.yaml /usr/lib/python2.7/site-packages/functest/ci/testcases.yaml'
  cmds:
    - 'functest env prepare'
    - 'functest testcase run {{validate_testcase}} -r'
  post_condition:
    - 'echo test for postcondition in functest'
  result:
    dir: '/home/opnfv/functest/results'
    file_path: 'functest_results.txt'
  openrc: '/home/opnfv/functest/conf/openstack.creds'