zuul: Add initial CI jobs using Zuul

This commit is contained in:
Timothée Ravier 2022-10-26 11:11:02 +02:00
parent 43a47ea209
commit 0e38562e28
2 changed files with 15 additions and 0 deletions

9
.zuul.yaml Normal file
View file

@ -0,0 +1,9 @@
- project:
check:
jobs:
- validate
- job:
name: validate
description: Validate manifests and scripts syntax
run: ci/validate.yaml

6
ci/validate.yaml Normal file
View file

@ -0,0 +1,6 @@
- hosts: all
tasks:
- name: Validate manifests and scripts syntax
ansible.builtin.command:
chdir: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}"
cmd: ci/validate