Build new container images for quick-start
This makes the job suitable for gating. Depends-On: https://review.openstack.org/609844 Change-Id: I4f32a35ddb9f880bb617a4896429e4cb05b0c2f1
This commit is contained in:
parent
c445de655a
commit
98d9e2538d
|
@ -61,6 +61,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:
|
||||
|
@ -91,8 +96,7 @@
|
|||
- web/.*
|
||||
- zuul-stream-functional
|
||||
- zuul-tox-remote
|
||||
- zuul-quick-start:
|
||||
voting: false
|
||||
- zuul-quick-start
|
||||
- pbrx-build-container-images:
|
||||
vars:
|
||||
pbrx_prefix: zuul
|
||||
|
@ -125,6 +129,7 @@
|
|||
- web/.*
|
||||
- zuul-stream-functional
|
||||
- zuul-tox-remote
|
||||
- zuul-quick-start
|
||||
- pbrx-build-container-images:
|
||||
vars:
|
||||
pbrx_prefix: zuul
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue