Ian Wienand 5195ccb70a Fix nodepool-zuul-functional
Several fixes to this job:

We need to run bindep twice - once for nodepool, once for zuul. Add
invocation of bindep role and also copy install-distro-packages so that
the job works, next step is remove the install-distro-packages from
zuul.

Add a post-run to copy the nodepool logs, so you can diagnose what's
going wrong if the jobs fails

Fix up a configuration issue, it tries to write build-logs to
/var/log/nodepool which it doesn't own, redirect to the temp area.

Add it as a non-voting check job

Depends-On: https://review.openstack.org/545163
Change-Id: I12db55d3e4c7a71b9af56567858df0a620ee3b73
2018-02-16 08:38:58 +01:00

36 lines
789 B
YAML

images-dir: /tmp/nodepool/images
build-log-dir: /tmp/nodepool/builds
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: fake-label
min-ready: 2
providers:
- name: fake-provider
cloud: fake
driver: fake
diskimages:
- name: fake-nodepool
pools:
- name: main
max-servers: 96
labels:
- name: fake-label
diskimage: fake-nodepool
min-ram: 8192