Publish sample config file in the genconfig job
Add a post run to enable copying the sample file generated to zuul logs. Change-Id: Ifc1e71ce486ef9cefc07dbe9fb7c78ce150317bd
This commit is contained in:
parent
0c177b902a
commit
116becf381
@ -372,6 +372,7 @@
|
|||||||
Run tests for manila project.
|
Run tests for manila project.
|
||||||
|
|
||||||
Uses tox with the ``genconfig`` environment.
|
Uses tox with the ``genconfig`` environment.
|
||||||
|
post-run: playbooks/manila-tox-genconfig/post.yaml
|
||||||
vars:
|
vars:
|
||||||
tox_envlist: genconfig
|
tox_envlist: genconfig
|
||||||
|
|
||||||
|
10
playbooks/manila-tox-genconfig/post.yaml
Normal file
10
playbooks/manila-tox-genconfig/post.yaml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user