summaryrefslogtreecommitdiffstats
path: root/dovetail/conf/yardstick_config.yml
blob: fea8cea763886f5495c2d66081739e0ba9db1167 (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
27
28
29
30
31
32
33
34
35
36
---
yardstick:
  image_name: opnfv/yardstick
  docker_tag: danube.3.2
  opts: '-id --privileged=true'
  config:
    dir: '/home/opnfv/userconfig'
  pre_condition:
    # - 'cd /home/opnfv/repos/yardstick && source tests/ci/prepare_env.sh &&
    #     source tests/ci/clean_images.sh && cleanup'
    # - 'cd /home/opnfv/repos/yardstick && source tests/ci/prepare_env.sh &&
    #     source tests/ci/load_images.sh'
    # Copy Yardstick bugfix patches to Yardstick repository
    - "cp -r /home/opnfv/userconfig/patch/ /home/opnfv/repos/yardstick/"
    # Config git user info for applying bugfix patches
    - "cd /home/opnfv/repos/yardstick && git config --global user.email 'you@example.com'"
    - "cd /home/opnfv/repos/yardstick && git config --global user.name 'Your Name'"
    # Apply all bugfix patchs on tempest code
    - "cd /home/opnfv/repos/yardstick && git am ./patch/*.patch"
  cmds:
    - 'mkdir -p /home/opnfv/yardstick/results/'
    - "cd /home/opnfv/repos/yardstick && source tests/ci/prepare_env.sh &&
         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:
    - ''
  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'