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:
parent
2aea7ee54c
commit
519057ecdf
|
@ -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
|
|
@ -12,17 +12,9 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
---
|
||||
- hosts: localhost
|
||||
- hosts: all
|
||||
vars:
|
||||
rolename: "{{ lookup('pipe', 'pwd') | dirname | basename }}"
|
||||
|
||||
pre_tasks:
|
||||
# Make sure OS does not have a stale package cache.
|
||||
- name: Update apt cache.
|
||||
become: yes
|
||||
apt:
|
||||
update_cache: yes
|
||||
when: ansible_os_family == 'Debian'
|
||||
rolename: ansible-role-logrotate
|
||||
|
||||
roles:
|
||||
- "{{ rolename }}"
|
||||
|
|
Loading…
Reference in New Issue