diff --git a/.zuul.yaml b/.zuul.yaml index d4faf74..727d12d 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,6 +1,13 @@ +- job: + name: dco + run: playbooks/dco/run.yaml + - project: templates: - build-tox-docs + check: + jobs: + - dco post: jobs: - tox-docs diff --git a/playbooks/dco/run.yaml b/playbooks/dco/run.yaml new file mode 100644 index 0000000..94aff56 --- /dev/null +++ b/playbooks/dco/run.yaml @@ -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 }}"