Add testing for package installs

This extends our converage to include distro package testing.

Change-Id: I2ecebf7ba86caf2bc3c10c656cb574d06198da40
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-12-07 18:43:59 -05:00
parent 9a71107491
commit 31d50a530e
2 changed files with 30 additions and 0 deletions

View File

@ -39,6 +39,23 @@
parent: ansible-role-virtualenv-src
nodeset: ubuntu-bionic
# Testing for virtualenv_install_method: package
- job:
name: ansible-role-virtualenv-pkg
parent: ansible-role-virtualenv-base
vars:
virtualenv_install_method: package
- job:
name: ansible-role-virtualenv-pkg-fedora-latest
parent: ansible-role-virtualenv-pkg
nodeset: fedora-latest
- job:
name: ansible-role-virtualenv-pkg-ubuntu-bionic
parent: ansible-role-virtualenv-pkg
nodeset: ubuntu-bionic
- project:
templates:
- windmill-jobs-fedora-latest
@ -47,6 +64,8 @@
jobs:
- ansible-role-virtualenv-fedora-latest
- ansible-role-virtualenv-ubuntu-bionic
- ansible-role-virtualenv-pkg-fedora-latest
- ansible-role-virtualenv-pkg-ubuntu-bionic
- ansible-role-virtualenv-src-fedora-latest
- ansible-role-virtualenv-src-ubuntu-bionic
- tox-linters
@ -54,6 +73,8 @@
jobs:
- ansible-role-virtualenv-fedora-latest
- ansible-role-virtualenv-ubuntu-bionic
- ansible-role-virtualenv-pkg-fedora-latest
- ansible-role-virtualenv-pkg-ubuntu-bionic
- ansible-role-virtualenv-src-fedora-latest
- ansible-role-virtualenv-src-ubuntu-bionic
- tox-linters

View File

@ -26,3 +26,12 @@
dest: /etc/pip.conf
regexp: ^extra-index-url
state: absent
# NOTE(pabelanger): This is to help keep out fedora package testing happy.
- name: Remove exclude from dnf.conf
become: true
lineinfile:
dest: /etc/dnf/dnf.conf
regexp: ^exclude
state: absent
when: ansible_os_family == 'RedHat'