diff options
Diffstat (limited to 'etc/conf/bottlenecks_config.yml')
-rw-r--r-- | etc/conf/bottlenecks_config.yml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/etc/conf/bottlenecks_config.yml b/etc/conf/bottlenecks_config.yml index 13b7fd88..c23ad9cc 100644 --- a/etc/conf/bottlenecks_config.yml +++ b/etc/conf/bottlenecks_config.yml @@ -17,7 +17,7 @@ {% set build_tag = build_tag or '' %} {% set cacert_volume = '' %} {% if cacert %} - {% set cacert_volume = cacert + ':' + cacert %} + {% set cacert_volume = 'source=' + cacert + ',target=' + cacert %} {% endif %} {% set openrc_file = '/tmp/admin_rc.sh' %} {% set result_dir = '/home/opnfv/bottlenecks/results' %} @@ -27,7 +27,7 @@ bottlenecks: image_name: opnfv/bottlenecks - docker_tag: latest + docker_tag: 8.0.1-latest opts: detach: true stdin_open: true @@ -35,21 +35,22 @@ bottlenecks: shell: '/bin/bash' envs: - 'DEPLOY_SCENARIO={{deploy_scenario}}' - - 'Yardstick_TAG=stable' + - 'Yardstick_TAG=opnfv-8.0.0' - 'OUTPUT_FILE={{testcase}}.out' - 'CI_DEBUG={{debug}}' - 'BUILD_TAG={{build_tag}}-{{testcase}}' volumes: - - '/var/run/docker.sock:/var/run/docker.sock' - '{{dovetail_home}}/results/bottlenecks:/tmp' - - '{{dovetail_home}}/pre_config/env_config.sh:{{openrc_file}}' - - {{cacert_volume}} - '{{dovetail_home}}/images:{{images_dir}}' - '{{dovetail_home}}/results:{{result_dir}}' + mounts: + - 'source=/var/run/docker.sock,target=/var/run/docker.sock' + - 'source={{dovetail_home}}/pre_config/env_config.sh,target={{openrc_file}}' + - {{cacert_volume}} pre_condition: - 'cp {{images_dir}}/ubuntu-16.04-server-cloudimg-amd64-disk1.img {{image_file}}' cmds: - - 'python3 /home/opnfv/bottlenecks/testsuites/run_testsuite.py testcase {{validate_testcase}} False' + - 'python /home/opnfv/bottlenecks/testsuites/run_testsuite.py testcase {{validate_testcase}} False' post_condition: - 'mkdir -p {{result_dir}}' - 'cp /tmp/bottlenecks.log {{result_dir}}' |