Browse Source

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>
changes/02/623602/3
Paul Belanger 3 years ago
parent
commit
31d50a530e
  1. 21
      .zuul.yaml
  2. 9
      tests/playbooks/pre.yaml

21
.zuul.yaml

@ -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

9
tests/playbooks/pre.yaml

@ -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'

Loading…
Cancel
Save