Use -f1 (forks) over serial for gate testing

Because we us a single VM for all-in-one testing, switch to forks to
ensure we only run 1 task at a time.

Change-Id: Ia933ec0efc6d04ac02300f3d82faf26cd583d1d1
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-12-20 14:46:03 -05:00
parent 3e7acd2f30
commit a974997b47
4 changed files with 1 additions and 37 deletions

View File

@ -14,9 +14,6 @@
---
- name: Bootstrap nodes
hosts: all,!bastion
# NOTE(pabelanger): Because we are currently using a single host, we need this
# operation to be serial. When we switch to multi-host, this can be removed.
serial: 1
pre_tasks:
- name: Update apt cache
@ -33,9 +30,6 @@
- name: Bootstrap python dependencies for windmill
hosts: all,!bastion,!zookeeper
# NOTE(pabelanger): Because we are currently using a single host, we need this
# operation to be serial. When we switch to multi-host, this can be removed.
serial: 1
tasks:
- name: Setup openstack.virtualenv role

View File

@ -14,11 +14,6 @@
---
- name: Bootstrap nodepool hosts
hosts: nodepool
# TODO(pabelanger): We really don't want to use serial here, but this allows
# us to still support a single node install. What we should do here is expose
# some sort of variable to only toggle this when we are doing a single node
# install. Otherwise, we just slow down multinode deployments.
serial: 1
tasks:
# NOTE(pabelanger): Because of ordering issues create the required home
@ -32,11 +27,6 @@
- name: Bootstrap nodepool-builder
hosts: nodepool-builder
# TODO(pabelanger): We really don't want to use serial here, but this allows
# us to still support a single node install. What we should do here is expose
# some sort of variable to only toggle this when we are doing a single node
# install. Otherwise, we just slow down multinode deployments.
serial: 1
tasks:
- name: Setup openstack.ssh role
@ -59,11 +49,6 @@
- name: Bootstrap nodepool hosts
hosts: nodepool
# TODO(pabelanger): We really don't want to use serial here, but this allows
# us to still support a single node install. What we should do here is expose
# some sort of variable to only toggle this when we are doing a single node
# install. Otherwise, we just slow down multinode deployments.
serial: 1
tasks:
- name: Setup openstack.openstacksdk role

View File

@ -14,11 +14,6 @@
---
- name: Bootstrap zuul-executor and zuul-scheduler
hosts: zuul-executor, zuul-scheduler
# TODO(pabelanger): We really don't want to use serial here, but this allows
# us to still support a single node install. What we should do here is expose
# some sort of variable to only toggle this when we are doing a single node
# install. Otherwise, we just slow down multinode deployments.
serial: 1
tasks:
# NOTE(pabelanger): Because of ordering issues create the required home
@ -36,11 +31,6 @@
- name: Bootstrap zuul-executor
hosts: zuul-executor
# TODO(pabelanger): We really don't want to use serial here, but this allows
# us to still support a single node install. What we should do here is expose
# some sort of variable to only toggle this when we are doing a single node
# install. Otherwise, we just slow down multinode deployments.
serial: 1
tasks:
# TODO(pabelanger): I'm thinking we should likely create
@ -53,11 +43,6 @@
- name: Install zuul
hosts: zuul
# TODO(pabelanger): We really don't want to use serial here, but this allows
# us to still support a single node install. What we should do here is expose
# some sort of variable to only toggle this when we are doing a single node
# install. Otherwise, we just slow down multinode deployments.
serial: 1
tasks:
- name: Setup openstack.zuul role

View File

@ -9,7 +9,7 @@
- name: Run ansible-playbook for site.yaml
args:
chdir: "{{ windmill_src_dir }}"
shell: "tox -evenv -- ansible-playbook -i inventory/testing/hosts playbooks/site.yaml -e @{{ windmill_extra_vars_file }}"
shell: "tox -evenv -- ansible-playbook -f1 -i inventory/testing/hosts playbooks/site.yaml -e @{{ windmill_extra_vars_file }}"
- name: Run ansible-playbook for prove.yaml
args: