Skip to content

Commit

Permalink
DNM: DCO testing
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Belanger <[email protected]>
  • Loading branch information
pabelanger committed Oct 13, 2018
1 parent b733499 commit 29e0602
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .zuul.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
- job:
name: dco
run: playbooks/dco/run.yaml

- project:
templates:
- build-tox-docs
check:
jobs:
- dco
post:
jobs:
- tox-docs
20 changes: 20 additions & 0 deletions playbooks/dco/run.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
- hosts: all
tasks:
- name: chell
shell: git remote -v
args:
chdir: "{{ zuul.project.src_dir }}"

- name: chell
shell: git log origin/master..HEAD
args:
chdir: "{{ zuul.project.src_dir }}"

- name: shell
shell: |
for commit in $(git cherry master | cut -d " " -f2)
do
echo $commit
done
args:
chdir: "{{ zuul.project.src_dir }}"

0 comments on commit 29e0602

Please sign in to comment.