
This deploys the nodepool-builder container and verifies it has started in testinfra. Change-Id: I8a717d06f1291a4112b2753641ff88f074cf0b31
28 lines
934 B
Django/Jinja
28 lines
934 B
Django/Jinja
version: '3.0'
|
|
services:
|
|
nodepool-builder:
|
|
image: docker.io/zuul/nodepool-builder:{{ nodepool_builder_container_tag|default('latest') }}
|
|
user: nodepool
|
|
network_mode: host
|
|
restart: always
|
|
|
|
privileged: true
|
|
|
|
environment:
|
|
- DEBUG=1
|
|
|
|
volumes:
|
|
# NOTE(ianw): for non-containerised builds the base roles
|
|
# (configure-openstacksdk) have always deployed the cloud config
|
|
# in ~nodepool/.config.
|
|
- /home/nodepool/.config/openstack:/etc/openstack:ro
|
|
# nodepool config
|
|
- /etc/nodepool:/etc/nodepool:ro
|
|
# project-config
|
|
- /opt/project-config:/opt/project-config:ro
|
|
# dib temporary storage; see config in project-config
|
|
- /opt/dib_tmp:/opt/dib_tmp:rw
|
|
# dib image output; see config in project-config
|
|
- /opt/nodepool_dib:/opt/nodepool_dib:rw
|
|
# logs (builder + dib build logs under /build)
|
|
- /var/log/nodepool:/var/log/nodepool:rw |