Guest User

Untitled

a guest
Nov 16th, 2020
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. [root@Scheduler ../zuul-config/playbooks]# more base/pre.yaml
  2. - hosts: all
  3. roles:
  4. - log-inventory
  5. - add-build-sshkey
  6. - prepare-workspace
  7.  
  8.  
  9. - job:
  10. name: base
  11. parent: null
  12. abstract: true
  13. description: |
  14. The recommended base job.
  15.  
  16. All jobs ultimately inherit from this. It runs a pre-playbook
  17. which copies all of the job's prepared git repos on to all of
  18. the nodes in the nodeset.
  19.  
  20. It also sets a default timeout value (which may be overidden).
  21. pre-run:
  22. - playbooks/base/pre.yaml
  23. post-run:
  24. - playbooks/base/post-ssh.yaml
  25. - playbooks/base/post-logs.yaml
  26. secrets:
  27. - name: site_logs
  28. secret: site_logs
  29. roles:
  30. - zuul: zuul/zuul-jobs
  31. timeout: 1800
  32.  
Add Comment
Please, Sign In to add comment