diff --git a/.zuul.yaml b/.zuul.yaml index be3a7890fe..ffd58f4847 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -372,6 +372,7 @@ Run tests for manila project. Uses tox with the ``genconfig`` environment. + post-run: playbooks/manila-tox-genconfig/post.yaml vars: tox_envlist: genconfig diff --git a/playbooks/manila-tox-genconfig/post.yaml b/playbooks/manila-tox-genconfig/post.yaml new file mode 100644 index 0000000000..6a607b23ff --- /dev/null +++ b/playbooks/manila-tox-genconfig/post.yaml @@ -0,0 +1,10 @@ +- hosts: all + roles: + - role: fetch-tox-output + tasks: + - name: Copy generated config sample file + synchronize: + src: "{{ zuul.project.src_dir }}/etc/manila/manila.conf.sample" + dest: "{{ zuul.executor.log_root }}" + mode: pull + verify_host: true