Create tripleo-ansible-role-job template for ansible projects.

Currently, each ansible project being used in tripleo has
defined its own jobs, or it is being using some python
related template which implies uploading the project to pypi
even though it's an ansible project.
Creating a new job template for the ansible projects allow us
defining the needed jobs to be executed for an ansible project
in a centralized way. In a first iteration only linters are
being included, as some projects do not have docs to build, but
this could be extended in the future.

Change-Id: I153b36aaa3df1821cdaa5d6590a6eaa67eeff5a1
This commit is contained in:
Jose Luis Franco Arza 2018-11-27 17:22:59 +01:00
parent 05ecee921e
commit 44cf062c0d
1 changed files with 15 additions and 0 deletions

15
zuul.d/ansible.yaml Normal file
View File

@ -0,0 +1,15 @@
---
# zuul.d/ansible.yaml
# Zuul layout for TripleO Ansible jobs.
- project-template:
name: tripleo-ansible-role-jobs
description: |
Run default tests for ansible-role repositories: Run
tox based linters.
check:
jobs:
- openstack-tox-linters
gate:
jobs:
- openstack-tox-linters