summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Belanger <pabelanger@redhat.com>2019-01-11 11:10:06 -0500
committerPaul Belanger <pabelanger@redhat.com>2019-01-11 11:30:26 -0500
commitf8f3050e32d642cd6e5f337eb41f70b8239ab3e8 (patch)
tree254f0922d2ee8a9db72103495b05dd00e557c76d
parent3525e04cc597e5f30243e4c882a4e316d8c95b43 (diff)
Add dco-license job
This is a follow up to the previous commit, here we are adding a job called dco-license which only runs on localhost (zuul-executor). Change-Id: Id624160930b80b5b37a8e05b000106c16fef64e0 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Notes
Notes (review): Code-Review+2: James E. Blair <corvus@inaugust.com> Code-Review+2: Jeremy Stanley <fungi@yuggoth.org> Code-Review+2: Clark Boylan <cboylan@sapwetik.org> Workflow+1: Clark Boylan <cboylan@sapwetik.org> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 11 Jan 2019 18:20:26 +0000 Reviewed-on: https://review.openstack.org/630302 Project: openstack-infra/zuul-jobs Branch: refs/heads/master
-rw-r--r--playbooks/dco-license/run.yaml7
-rw-r--r--zuul.yaml8
2 files changed, 15 insertions, 0 deletions
diff --git a/playbooks/dco-license/run.yaml b/playbooks/dco-license/run.yaml
new file mode 100644
index 0000000..7b47e54
--- /dev/null
+++ b/playbooks/dco-license/run.yaml
@@ -0,0 +1,7 @@
1- hosts: localhost
2 tasks:
3 - name: Run validate-dco-license role
4 include_role:
5 name: validate-dco-license
6 vars:
7 zuul_work_dir: "{{ zuul.executor.work_root }}/{{ zuul.project.src_dir }}"
diff --git a/zuul.yaml b/zuul.yaml
index c9aeb37..761951e 100644
--- a/zuul.yaml
+++ b/zuul.yaml
@@ -2,6 +2,14 @@
2# Assumes a 'base' job defined elsewhere 2# Assumes a 'base' job defined elsewhere
3 3
4- job: 4- job:
5 name: dco-license
6 description: |
7 A job to validate all new commits have been signed using --signoff.
8 run: playbooks/dco-license/run.yaml
9 nodeset:
10 nodes: []
11
12- job:
5 name: unittests 13 name: unittests
6 abstract: true 14 abstract: true
7 description: | 15 description: |