Browse Source

Shift docker and pip setup to pre-playbook for quick-start

Installing docker and pip are pre-reqs and we're using zuul roles
to do them, so they're not really testing explicit quick-start
steps. Move them to pre-run.

Change-Id: I374dac18b9b7e376d924b11f4661355ea7c4d149
changes/10/735910/3
Monty Taylor 1 year ago
parent
commit
dc445242bc
3 changed files with 8 additions and 6 deletions
  1. +1
    -0
      .zuul.yaml
  2. +7
    -0
      playbooks/quick-start/pre.yaml
  3. +0
    -6
      playbooks/quick-start/run.yaml

+ 1
- 0
.zuul.yaml View File

@ -120,6 +120,7 @@
name: zuul-quick-start
parent: opendev-buildset-registry-consumer
description: Run the commands in the Zuul quick-start documentation.
pre-run: playbooks/quick-start/pre.yaml
run: playbooks/quick-start/run.yaml
post-run: playbooks/quick-start/post.yaml
required-projects:


+ 7
- 0
playbooks/quick-start/pre.yaml View File

@ -0,0 +1,7 @@
- hosts: all
roles:
- ensure-pip
- name: ensure-docker
use_upstream_docker: false
docker_compose_install: true
- use-buildset-registry

+ 0
- 6
playbooks/quick-start/run.yaml View File

@ -2,12 +2,6 @@
vars:
workspace: /tmp/quickstart-test
local: false
roles:
- name: ensure-docker
use_upstream_docker: false
docker_compose_install: true
- ensure-pip
- use-buildset-registry
tasks:
- name: Install git-review
command: python3 -m pip install git-review


Loading…
Cancel
Save