Browse Source

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
changes/87/628287/4
Goutham Pacha Ravi 2 years ago
parent
commit
116becf381
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

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


+ 10
- 0
playbooks/manila-tox-genconfig/post.yaml View 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…
Cancel
Save