From 81ec7331ed252d2f728bb6a587e0b4f9f4fc85a5 Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Jan 21 2020 09:09:08 +0000 Subject: Add a new job for Demo --- diff --git a/playbooks/demo/mylinter.yaml b/playbooks/demo/mylinter.yaml new file mode 100644 index 0000000..f3b96bf --- /dev/null +++ b/playbooks/demo/mylinter.yaml @@ -0,0 +1,5 @@ +--- +- hosts: all + tasks: + - name: List home directory + command: "ls {{ ansible_user_dir }}" diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index f125618..fcdffd9 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -96,3 +96,10 @@ vars: target: f29 check_previous_build_enabled: true + +- job: + name: rpm-mylinter + description: New linter job for demo + parent: base-cloud-fedora-latest + requires: repo + run: playbooks/demo/mylinter.yaml diff --git a/zuul.d/templates.yaml b/zuul.d/templates.yaml index 28b6efb..e186d43 100644 --- a/zuul.d/templates.yaml +++ b/zuul.d/templates.yaml @@ -16,6 +16,9 @@ voting: False dependencies: - rpm-scratch-build + - rpm-mylinter: + dependencies: + - rpm-scratch-build - project-template: name: test