Paul Belanger 3d96a9ae01
Default install method to pip
We want to encourge users to use the released versions of nodepool, so
flip the switch to pip.  We still support git and will continue to
test against it.

Change-Id: If45a1392b1caed8d1c181bd463bad30f91eab899
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-12 18:37:18 -04:00

79 lines
2.1 KiB
YAML

- job:
name: ansible-role-nodepool-base
run: tests/playbooks/run.yaml
post-run: tests/collect-logs.yaml
required-projects:
- name: openstack-infra/nodepool
roles:
- zuul: openstack/ansible-role-nodepool
vars:
# TODO(pabelanger): This needs to fix to defaut to this when not using
# a virtualenv.
nodepool_pip_executable: pip3
# Testing for nodepool_install_method: pip
- job:
name: ansible-role-nodepool
parent: ansible-role-nodepool-base
- job:
name: ansible-role-nodepool-fedora-27
parent: ansible-role-nodepool
nodeset: fedora-27
- job:
name: ansible-role-nodepool-ubuntu-bionic
parent: ansible-role-nodepool
nodeset: ubuntu-bionic
- job:
name: ansible-role-nodepool-ubuntu-xenial
parent: ansible-role-nodepool
nodeset: ubuntu-xenial
# Testing for nodepool_install_method: git
- job:
name: ansible-role-nodepool-src
parent: ansible-role-nodepool-base
vars:
nodepool_git_update: false
nodepool_install_method: git
- job:
name: ansible-role-nodepool-src-fedora-27
parent: ansible-role-nodepool-src
nodeset: fedora-27
- job:
name: ansible-role-nodepool-src-ubuntu-bionic
parent: ansible-role-nodepool-src
nodeset: ubuntu-bionic
- job:
name: ansible-role-nodepool-src-ubuntu-xenial
parent: ansible-role-nodepool-src
nodeset: ubuntu-xenial
- project:
name: openstack/ansible-role-nodepool
templates:
- windmill-jobs-fedora-27
- windmill-jobs-bionic
- windmill-jobs-xenial
check:
jobs:
- ansible-role-nodepool-fedora-27
- ansible-role-nodepool-ubuntu-bionic
- ansible-role-nodepool-ubuntu-xenial
- ansible-role-nodepool-src-fedora-27
- ansible-role-nodepool-src-ubuntu-bionic
- ansible-role-nodepool-src-ubuntu-xenial
- tox-linters
gate:
jobs:
- ansible-role-nodepool-fedora-27
- ansible-role-nodepool-ubuntu-xenial
- ansible-role-nodepool-src-fedora-27
- ansible-role-nodepool-src-ubuntu-xenial
- tox-linters