blob: 934cdbdcf70c0dd2971dc5ba64a0a82b592f2d3a (
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
|
---
yardstick:
image_name: opnfv/yardstick
docker_tag: latest
opts: '-id --privileged=true'
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'
cmds:
- 'mkdir -p /home/opnfv/yardstick/results/'
- 'cd /home/opnfv/repos/yardstick && source tests/ci/prepare_env.sh &&
yardstick -d task start tests/opnfv/test_cases/{{validate_testcase}}.yaml
--output-file /home/opnfv/yardstick/results/{{validate_testcase}}.out'
post_condition:
- ''
result:
dir: '/home/opnfv/yardstick/results'
log: '/tmp/yardstick'
store_type: 'file'
file_path: 'yardstick.log'
db_url: 'http://testresults.opnfv.org/test/api/v1/results?case=%s&last=1'
openrc: '/home/opnfv/openrc'
|