diff --git a/README.md b/README.md index e69de29..71e8279 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,2 @@ +Small edit +addon diff --git a/myjob.yaml b/myjob.yaml new file mode 100644 index 0000000..97eadff --- /dev/null +++ b/myjob.yaml @@ -0,0 +1,14 @@ +--- +- 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..090655b 100644 --- a/zuul.yaml +++ b/zuul.yaml @@ -1,5 +1,13 @@ +--- - project: name: jluk-codi-org/sampleproject check: jobs: - noop + - myjob + +- job: + name: myjob + run: myjob.yaml + required-projects: + - jluk-codi-org/anotherproject