nodepool/tools/fake.yaml
James E. Blair 6e98071f98 Remove script-dir
Script-dir was only used for snapshot building.  Since that is no
longer supported, remove it.

It was also passed through to DIB as an evironment variable.
However, the OpenStack infra element that used it defaults to
a sensible value.  Users who still want to use that can add it
as an environment variable to appropriate diskimage entries.

Change-Id: Ie72bb9675fdad6364589a6e3823f4ef9a0228e86
2016-12-16 13:41:07 -08:00

60 lines
1.2 KiB
YAML

images-dir: tools/images
cron:
check: '*/15 * * * *'
cleanup: '*/1 * * * *'
zmq-publishers:
- tcp://localhost:8881
gearman-servers:
- host: localhost
zookeeper-servers:
- host: localhost
diskimages:
- name: fake-nodepool
elements:
- fedora
- vm
release: 21
env-vars:
TMPDIR: /opt/dib_tmp
DIB_IMAGE_CACHE: /opt/dib_cache
DIB_CLOUD_IMAGES: http://download.fedoraproject.org/pub/fedora/linux/releases/test/21-Beta/Cloud/Images/x86_64/
BASE_IMAGE_FILE: Fedora-Cloud-Base-20141029-21_Beta.x86_64.qcow2
labels:
- name: single-fake
image: fake-nodepool
min-ready: 2
providers:
- name: fake-provider
- name: multi-fake
image: fake-nodepool
ready-script: multinode_setup.sh
subnodes: 2
min-ready: 2
providers:
- name: fake-provider
providers:
- name: fake-provider
keypair: 'if-present-use-this-keypair'
region-name: 'fake-region'
username: 'fake'
password: 'fake'
auth-url: 'fake'
project-id: 'fake'
max-servers: 96
images:
- name: fake-nodepool
min-ram: 8192
name-filter: 'Fake'
diskimage: fake-nodepool
targets:
- name: zuul
assign-via-gearman: True