From ef34ab8aa4e3cc735885518dd08af59e78e575cf Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Apr 08 2019 13:41:55 +0000 Subject: [PATCH 1/2] Add a basic job --- diff --git a/.zuul.yaml b/.zuul.yaml new file mode 100644 index 0000000..ca1fc73 --- /dev/null +++ b/.zuul.yaml @@ -0,0 +1,16 @@ +- job: + name: unit-tests + description: Run unittest + run: playbooks/unittests.yaml + nodeset: + nodes: + - name: test-node + label: dib-centos-7 + +- project: + check: + jobs: + - unit-tests + gate: + jobs: + - unit-tests diff --git a/playbooks/unittests.yaml b/playbooks/unittests.yaml new file mode 100644 index 0000000..c7e3caa --- /dev/null +++ b/playbooks/unittests.yaml @@ -0,0 +1,3 @@ +- hosts: test-node + tasks: + - shell: ls From 4c077d29bb5cf1cb4040c22afc1636f7005e6ae3 Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Apr 09 2019 09:45:17 +0000 Subject: [PATCH 2/2] Attempt to rpmbuild --- diff --git a/.zuul.yaml b/.zuul.yaml index ca1fc73..4f9eedd 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,16 +1,21 @@ - job: - name: unit-tests - description: Run unittest - run: playbooks/unittests.yaml + name: rpmbuild + description: Run a rpmbuild + parent: dlrn-build + required-projects: + - zuul-distro-jobs + vars: + dlrn_project: readerlib + dlrn_url: http://38.145.32.151/dlrn-worker/ nodeset: nodes: - - name: test-node + - name: mock-host label: dib-centos-7 - project: check: jobs: - - unit-tests + - rpmbuild gate: jobs: - - unit-tests + - noop