Browse Source

Merge "Add dco-license job"

changes/69/630369/1
Zuul 5 months ago
parent
commit
2aeaac3f61
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