Browse Source

Merge "Publish sample config file in the genconfig job"

Zuul 3 months ago
parent
commit
165e28ad84
2 changed files with 11 additions and 0 deletions
  1. 1
    0
      .zuul.yaml
  2. 10
    0
      playbooks/manila-tox-genconfig/post.yaml

+ 1
- 0
.zuul.yaml View File

@@ -403,6 +403,7 @@
403 403
       Run tests for manila project.
404 404
 
405 405
       Uses tox with the ``genconfig`` environment.
406
+    post-run: playbooks/manila-tox-genconfig/post.yaml
406 407
     vars:
407 408
       tox_envlist: genconfig
408 409
 

+ 10
- 0
playbooks/manila-tox-genconfig/post.yaml View File

@@ -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

Loading…
Cancel
Save