summaryrefslogtreecommitdiffstats
path: root/dovetail/conf/yardstick_config.yml
blob: bbb2133ed89a6c9175819e8f5d164c1fffee2d62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
yardstick:
  image_name: opnfv/yardstick
  docker_tag: opnfv-5.1.0
  opts: '-id --privileged=true'
  config:
    dir: '/home/opnfv/userconfig'
  pre_condition:
    - 'echo this is pre_condition'
  cmds:
    - 'mkdir -p /home/opnfv/yardstick/results/'
    - "cd /home/opnfv/repos/yardstick && source /etc/yardstick/openstack.creds &&
         yardstick task start tests/opnfv/test_cases/{{validate_testcase}}.yaml
         --output-file /home/opnfv/yardstick/results/{{testcase}}.out
         --task-args '{'file': '/home/opnfv/userconfig/pre_config/pod.yaml'}'"
  post_condition:
    - 'echo this is post_condition'
  result:
    dir: '/home/opnfv/yardstick/results'
    log: '/tmp/yardstick'
    file_path: 'yardstick.log'
    key_path: '/root/.ssh/id_rsa'
  openrc: '/etc/yardstick/openstack.creds'
  yard_conf:
    src_file: '/home/opnfv/repos/yardstick/etc/yardstick/yardstick.conf.sample'
    dest_file: '/etc/yardstick/yardstick.conf'