diff --git a/.zuul.d/zuul.yaml b/.zuul.d/zuul.yaml index 7c80e3eb..4f2edcc3 100644 --- a/.zuul.d/zuul.yaml +++ b/.zuul.d/zuul.yaml @@ -30,14 +30,14 @@ - job: name: rally-tox-cover - parent: tox + parent: tox-cover description: | Run test for rally project. Uses tox with the ``cover`` environment. vars: - tox_envlist: cover - post-run: tests/ci/playbooks/post-rally-coverage.yaml + coverage_output_src: '{{ zuul.project.src_dir }}/cover/' + zuul_executor_dest: '{{ zuul.executor.log_root }}/coverage/' - project: check: diff --git a/tests/ci/playbooks/post-rally-coverage.yaml b/tests/ci/playbooks/post-rally-coverage.yaml deleted file mode 100644 index 80ef79dc..00000000 --- a/tests/ci/playbooks/post-rally-coverage.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- hosts: all - tasks: - - - name: Put coverage report in the right place - synchronize: - src: "{{ zuul.projects['git.openstack.org/openstack/rally-openstack'].src_dir }}/cover-master/" - dest: '{{ zuul.executor.log_root }}/coverage/' - mode: pull - copy_links: true - verify_host: true - rsync_opts: - - --include=/** - - --include=*/ - - --exclude=* - - --prune-empty-dirs