An example project-config repo that can be used as a starting point.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

63 lines
1.5 KiB

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 0 * * *'
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
- puppet
- 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: '<%= provider_username %>'
password: '<%= provider_password %>'
auth-url: 'http://<openstack cloud>:5000/v2.0'
project-name: 'admin'
max-servers: 2
images:
- name: dpc
min-ram: 8192
diskimage: dpc
username: jenkins
private-key: '/home/nodepool/.ssh/id_rsa'
targets:
- name: jenkins1