Merge "Add testing for package installs"

This commit is contained in:
Zuul 2019-02-25 20:24:07 +00:00 committed by Gerrit Code Review
commit 97db7f26b2
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'