Import .zuul.yaml for testing

Move job configuration for zuul intree.

Change-Id: I8158fb6d219d6f8fde5e766adb76a3c7b8d4d5c2
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-02-13 11:35:10 -05:00
parent 2aea7ee54c
commit 5a00d04fd3
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
2 changed files with 31 additions and 1 deletions

30
.zuul.yaml Normal file
View File

@ -0,0 +1,30 @@
- job:
name: ansible-role-logrotate
run: tests/test.yaml
roles:
- zuul: openstack/ansible-role-logrotate
- job:
name: ansible-role-logrotate-fedora-27
parent: ansible-role-logrotate
nodeset: fedora-27
- job:
name: ansible-role-logrotate-ubuntu-xenial
parent: ansible-role-logrotate
nodeset: ubuntu-xenial
- project:
templates:
- windmill-jobs-fedora-27
- windmill-jobs-xenial
check:
jobs:
- ansible-role-logrotate-fedora-27
- ansible-role-logrotate-ubuntu-xenial
- tox-linters
gate:
jobs:
- ansible-role-logrotate-fedora-27
- ansible-role-logrotate-ubuntu-xenial
- tox-linters

View File

@ -14,7 +14,7 @@
---
- hosts: localhost
vars:
rolename: "{{ lookup('pipe', 'pwd') | dirname | basename }}"
rolename: ansible-role-logrotate
pre_tasks:
# Make sure OS does not have a stale package cache.