Advertisement
Guest User

Untitled

a guest
Oct 26th, 2017
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. script-dir: /etc/nodepool/scripts
  2. elements-dir: /etc/nodepool/elements
  3. images-dir: /opt/nodepool_dib
  4.  
  5. cron:
  6. cleanup: '*/1 * * * *'
  7. check: '*/15 * * * *'
  8. # TODO: Please choose a random hour for nodepool image updates.
  9. # This will help reduce the load on upstream git farms & mirros where all 3rd
  10. # party ci systems start building images at the same time.
  11. # Doing so is easy, run the following command and replace image-update string
  12. # with the results:
  13. # echo "0 $((RANDOM%23+1)) * * *"
  14. # Example:
  15. # root@jenkins:~# echo "0 $((RANDOM%23+1)) * * *"
  16. # 0 16 * * *
  17. # This references the hour of the day when images will be built.
  18. image-update: '0 7 * * *'
  19.  
  20. zmq-publishers:
  21. - tcp://localhost:8888
  22.  
  23. gearman-servers:
  24. - host: 127.0.0.1
  25.  
  26. labels:
  27. - name: d-p-c
  28. image: dpc
  29. min-ready: 1
  30. providers:
  31. - name: local_01
  32.  
  33. diskimages:
  34. - name: dpc
  35. elements:
  36. - ubuntu
  37. - vm
  38. - openstack-repos
  39. - jenkins-slave
  40. - nodepool-base
  41. - cache-devstack
  42. release: trusty
  43. env-vars:
  44. TMPDIR: /opt/dib_tmp
  45. DIB_IMAGE_CACHE: /opt/dib_cache
  46.  
  47. providers:
  48. - name: local_01
  49. #TODO: Update the provider username, password, and authurl
  50. username: 'admin'
  51. password: 'password'
  52. auth-url: 'http://server:5000'
  53. project-name: 'admin'
  54. max-servers: 2
  55. networks:
  56. - name: 'private_network'
  57. images:
  58. - name: dpc
  59. min-ram: 8192
  60. diskimage: dpc
  61. username: jenkins
  62. private-key: /home/nodepool/.ssh/id_rsa
  63. # key-name: key1
  64.  
  65. targets:
  66. - name: jenkins1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement