From 0e38562e28a147b7c706478ddae3487e50f11542 Mon Sep 17 00:00:00 2001 From: Timothée Ravier Date: Oct 31 2022 11:01:34 +0000 Subject: zuul: Add initial CI jobs using Zuul --- diff --git a/.zuul.yaml b/.zuul.yaml new file mode 100644 index 0000000..6bf4c36 --- /dev/null +++ b/.zuul.yaml @@ -0,0 +1,9 @@ + - project: + check: + jobs: + - validate + + - job: + name: validate + description: Validate manifests and scripts syntax + run: ci/validate.yaml diff --git a/ci/validate.yaml b/ci/validate.yaml new file mode 100644 index 0000000..70d6489 --- /dev/null +++ b/ci/validate.yaml @@ -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