Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script-dir: /etc/nodepool/scripts
- elements-dir: /etc/nodepool/elements
- images-dir: /opt/nodepool_dib
- cron:
- cleanup: '*/1 * * * *'
- check: '*/15 * * * *'
- # TODO: Please choose a random hour for nodepool image updates.
- # This will help reduce the load on upstream git farms & mirros where all 3rd
- # party ci systems start building images at the same time.
- # Doing so is easy, run the following command and replace image-update string
- # with the results:
- # echo "0 $((RANDOM%23+1)) * * *"
- # Example:
- # root@jenkins:~# echo "0 $((RANDOM%23+1)) * * *"
- # 0 16 * * *
- # This references the hour of the day when images will be built.
- image-update: '0 7 * * *'
- zmq-publishers:
- - tcp://localhost:8888
- gearman-servers:
- - host: 127.0.0.1
- labels:
- - name: d-p-c
- image: dpc
- min-ready: 1
- providers:
- - name: local_01
- diskimages:
- - name: dpc
- elements:
- - ubuntu
- - vm
- - openstack-repos
- - jenkins-slave
- - nodepool-base
- - cache-devstack
- release: trusty
- env-vars:
- TMPDIR: /opt/dib_tmp
- DIB_IMAGE_CACHE: /opt/dib_cache
- providers:
- - name: local_01
- #TODO: Update the provider username, password, and authurl
- username: 'admin'
- password: 'password'
- auth-url: 'http://server:5000'
- project-name: 'admin'
- max-servers: 2
- networks:
- - name: 'private_network'
- images:
- - name: dpc
- min-ram: 8192
- diskimage: dpc
- username: jenkins
- private-key: /home/nodepool/.ssh/id_rsa
- # key-name: key1
- targets:
- - name: jenkins1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement