Add initial in-repo Zuul jobs

This change ensures parity with the CI jobs run by TravisCI on the
legacy StackHPC github repo.

In addition to the system-required job in infra project-config, the
following jobs are run on check and gate:

- openstack-tox-pep8
- openstack-tox-py27
- build-openstack-sphinx-docs
- kayobe-tox-ansible-syntax
- kayobe-tox-ansible

Ansible molecule tests are not working currently, as they require docker
engine to be running.

Change-Id: Ie95bcdaabb10ab661bc3a01efbaf9143896d6913
Story: #2001637
Task: #6646
This commit is contained in:
Mark Goddard 2018-03-06 18:47:22 +00:00
parent 195921a039
commit dc71c91d73
2 changed files with 35 additions and 0 deletions

14
zuul.d/jobs.yaml Normal file
View File

@ -0,0 +1,14 @@
---
# Tox job that checks Ansible playbook syntax.
- job:
name: kayobe-tox-ansible-syntax
parent: openstack-tox
vars:
tox_envlist: ansible-syntax
# Tox job that runs native Ansible role tests.
- job:
name: kayobe-tox-ansible
parent: openstack-tox-with-sudo
vars:
tox_envlist: ansible

21
zuul.d/project.yaml Normal file
View File

@ -0,0 +1,21 @@
---
- project:
check:
jobs:
- openstack-tox-pep8
- openstack-tox-py27
# FIXME(mgoddard): python 3.5 jobs currently failing.
- openstack-tox-py35:
voting: false
- build-openstack-sphinx-docs
- kayobe-tox-ansible-syntax
- kayobe-tox-ansible
gate:
queue: kayobe
jobs:
- openstack-tox-pep8
- openstack-tox-py27
- build-openstack-sphinx-docs
- kayobe-tox-ansible-syntax
- kayobe-tox-ansible