diff --git a/README.md b/README.md index e69de29..e2bf4d3 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,2 @@ +A title +========= diff --git a/myjob.yaml b/myjob.yaml new file mode 100644 index 0000000..5cca227 --- /dev/null +++ b/myjob.yaml @@ -0,0 +1,13 @@ +- hosts: all + tasks: + - name: This is a test task + debug: + msg: You should see me in the logs. + - name: Another test task + command: date + - name: List projects + shell: ls src/*/* + - name: Check JSON syntax in anotherproject + shell: python -m json.tool *.json + args: + chdir: src/github.com/jluk-codi-org/anotherproject diff --git a/zuul.yaml b/zuul.yaml index 73db574..11e6272 100644 --- a/zuul.yaml +++ b/zuul.yaml @@ -3,3 +3,10 @@ check: jobs: - noop + - myjob + +- job: + name: myjob + run: myjob.yaml + required-projects: + - jluk-codi-org/anotherproject