Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The .zuul.yaml in RepoX
- - project:
- gate:
- jobs:
- - JobX
- - JobY:
- requires: JobX
- Repo name Zuul which containes all Zuul Jobs:
- file .zuul.yaml
- - job:
- name: jobX
- run: playbooks/jobX.yaml
- nodeset:
- nodes:
- - name: ubuntu-bionic
- label: ubuntu-bionic
- provides: jobX
- - job:
- name: jobY
- run: playbooks/jobY.yaml
- nodeset:
- nodes:
- - name: ubuntu-bionic
- label: ubuntu-bionic
- provides: jobY
- And the playbooks/jobX.yaml
- - hosts: all
- tasks:
- - name: Get my PWD
- shell: pwd
- register: pwd_result
- - name: Return some values to Zuul to affect its behavior and for use by dependent jobs.
- zuul_return:
- data:
- aaa: "foo"
- bbb: "bar"
- ccc: "zoo"
- And the playbooks/jobY.yaml
- - hosts: all
- tasks:
- command: echo "{{ aaa }} {{ bbb }} {{ ccc }}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement