James E. Blair 813c1af44e Fix container image build
This corrects outstanding errors in the container image build
and adds the build to the gate.

Change-Id: I2c8b637d66a640b5eeb894eefd148ce61df4a847
2019-10-02 13:50:42 -04:00

33 lines
785 B
YAML

# This installs docker and runs a buildset registry
- hosts: all
roles:
- build-docker-image
- hosts: all
vars:
workspace: /tmp/registry-test
local: false
tasks:
- name: Install packages
package:
name:
- docker-compose
- openssl
state: present
become: true
- name: Run main tasks
include_tasks: main.yaml
# If buildset_registry is defined, that means a parent job is running it;
# only if it is not defined does it mean that we are running it. If we
# are running it, pause the job so that child jobs will automatically
# use it.
- hosts: localhost
tasks:
- name: Pause the job
when: buildset_registry is not defined
zuul_return:
data:
zuul:
pause: true