Ian Wienand ceb6e2bbdb Add container-with-siblings functional test
This adds an initial container-based test.  We use the "siblings"
containers, which thus makes this job roughly equate to the extant
non-container "-src" jobs that install dependencies from source (a
follow-on If510238c6ab2b8f6570848f76e84383925c73d87 will add jobs
based on released dependencies).

Change-Id: I0b8c309fe3284a2824a38d343fca168441f20471
2019-12-16 12:37:19 +11:00

25 lines
658 B
YAML

- hosts: all
roles:
# for zookeeper, etc. on host
- role: bindep
bindep_dir: "{{ zuul.projects['opendev.org/zuul/nodepool'].src_dir }}"
- role: test-setup
zuul_work_dir: "{{ zuul.projects['opendev.org/zuul/nodepool'].src_dir }}"
- install-docker
# Note: keep after install-docker
- use-buildset-registry
- install-devstack
tasks:
- name: Install docker-compose dependencies
package:
name:
- docker-compose
become: yes
- name: Create a local user that matches the container UID
user:
name: nodepool
comment: nodepool
uid: 10001
become: yes