Add run-docs role and tox-docs job

Change-Id: I0bdb5b461950533880157c09463a3256967c81c7
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-03-03 14:06:12 -05:00
parent 06f0bfd558
commit e06a03bb45
4 changed files with 14 additions and 0 deletions

View File

@ -20,6 +20,10 @@
parent: tox
voting: false
- job:
name: tox-docs
parent: tox
- job:
name: tox-linters
parent: tox
@ -32,6 +36,7 @@
name: openstack-infra/zuul
check:
jobs:
- tox-docs
- tox-cover
- tox-linters
- tox-py27

View File

@ -0,0 +1,2 @@
---
run_docs_envlist: venv

View File

@ -0,0 +1,4 @@
- name: Execute run-docs.sh.
shell: "/usr/local/jenkins/slave_scripts/run-docs.sh {{ run_docs_envlist }}"
args:
chdir: "/home/zuul/workspace/src/{{ zuul.project }}"

3
playbooks/tox-docs.yaml Normal file
View File

@ -0,0 +1,3 @@
- hosts: all
roles:
- run-docs