Merge "Build new container images for quick-start"

This commit is contained in:
Zuul 2018-10-12 20:51:13 +00:00 committed by Gerrit Code Review
commit 872336714d
2 changed files with 20 additions and 10 deletions

View File

@ -62,6 +62,11 @@
name: zuul-quick-start
description: Run the commands in the Zuul quick-start documentation.
run: playbooks/quick-start/run.yaml
roles:
- zuul: openstack-infra/zuul-jobs
required-projects:
- openstack/pbrx
- openstack-infra/nodepool
- project:
check:
@ -92,8 +97,7 @@
- web/.*
- zuul-stream-functional
- zuul-tox-remote
- zuul-quick-start:
voting: false
- zuul-quick-start
- pbrx-build-container-images:
vars:
pbrx_prefix: zuul
@ -126,6 +130,7 @@
- web/.*
- zuul-stream-functional
- zuul-tox-remote
- zuul-quick-start
- pbrx-build-container-images:
vars:
pbrx_prefix: zuul

View File

@ -1,15 +1,20 @@
- hosts: all
vars:
workspace: /tmp/quickstart-test
roles:
- name: install-docker
use_upstream_docker: false
tasks:
# Our test images disable installation of recommended packages;
# re-enable that (the default) to make this test more closely
# resemble what a user will encounter.
- name: Remove disable-recommends
file:
name: /etc/apt/apt.conf.d/95disable-recommends
state: absent
become: true
- name: Install pbrx software
command: python3 -m pip install src/git.openstack.org/openstack/pbrx
become: yes
- name: Build container images
command: 'pbrx --debug build-images --prefix=zuul'
args:
chdir: '{{ zuul.projects[item].src_dir }}'
loop:
- git.openstack.org/openstack-infra/nodepool
- git.openstack.org/openstack-infra/zuul
- name: Install docker-compose and git-review
package:
name: