Browse Source

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>
changes/02/630302/2
Paul Belanger 5 months ago
parent
commit
f8f3050e32
2 changed files with 15 additions and 0 deletions
  1. 7
    0
      playbooks/dco-license/run.yaml
  2. 8
    0
      zuul.yaml

+ 7
- 0
playbooks/dco-license/run.yaml View File

@@ -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 }}"

+ 8
- 0
zuul.yaml View File

@@ -1,6 +1,14 @@
1 1
 # Shared jobs that are generally applicable to everyone
2 2
 # Assumes a 'base' job defined elsewhere
3 3
 
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
+
4 12
 - job:
5 13
     name: unittests
6 14
     abstract: true

Loading…
Cancel
Save