summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2019-01-08 11:37:41 +0000
committerGerrit Code Review <review@openstack.org>2019-01-08 11:37:41 +0000
commit165e28ad84997e266b86d98894fa0ad857452647 (patch)
treee2041aff5d95b46bb91ff218e7313f87fddd4f17
parent575d6ae62140681b0be6ef2eccec5b3664524a6d (diff)
parent116becf381d2654581e3ad61eb40538faebec095 (diff)
Merge "Publish sample config file in the genconfig job"
-rw-r--r--.zuul.yaml1
-rw-r--r--playbooks/manila-tox-genconfig/post.yaml10
2 files changed, 11 insertions, 0 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index f055579..012659a 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -403,6 +403,7 @@
403 Run tests for manila project. 403 Run tests for manila project.
404 404
405 Uses tox with the ``genconfig`` environment. 405 Uses tox with the ``genconfig`` environment.
406 post-run: playbooks/manila-tox-genconfig/post.yaml
406 vars: 407 vars:
407 tox_envlist: genconfig 408 tox_envlist: genconfig
408 409
diff --git a/playbooks/manila-tox-genconfig/post.yaml b/playbooks/manila-tox-genconfig/post.yaml
new file mode 100644
index 0000000..6a607b2
--- /dev/null
+++ b/playbooks/manila-tox-genconfig/post.yaml
@@ -0,0 +1,10 @@
1- hosts: all
2 roles:
3 - role: fetch-tox-output
4 tasks:
5 - name: Copy generated config sample file
6 synchronize:
7 src: "{{ zuul.project.src_dir }}/etc/manila/manila.conf.sample"
8 dest: "{{ zuul.executor.log_root }}"
9 mode: pull
10 verify_host: true