Clean up bitrot

Change-Id: I12e7b603c9d4ae7364982044069e9ac7ac4d6034
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2021-06-22 10:35:53 -04:00
parent a2a78e7ef5
commit 5073e6b971
4 changed files with 14 additions and 19 deletions

View File

@ -12,11 +12,6 @@
name: ansible-role-zuul
parent: ansible-role-zuul-base
- job:
name: ansible-role-zuul-fedora-latest
parent: ansible-role-zuul
nodeset: fedora-latest
- job:
name: ansible-role-zuul-ubuntu-bionic
parent: ansible-role-zuul
@ -32,11 +27,6 @@
zuul_git_update: false
zuul_install_method: git
- job:
name: ansible-role-zuul-src-fedora-latest
parent: ansible-role-zuul-src
nodeset: fedora-latest
- job:
name: ansible-role-zuul-src-ubuntu-bionic
parent: ansible-role-zuul-src
@ -44,19 +34,14 @@
- project:
templates:
- windmill-jobs-fedora-latest
- windmill-jobs-bionic
check:
jobs:
- ansible-role-zuul-fedora-latest
- ansible-role-zuul-ubuntu-bionic
- ansible-role-zuul-src-fedora-latest
- ansible-role-zuul-src-ubuntu-bionic
- tox-linters
gate:
jobs:
- ansible-role-zuul-fedora-latest
- ansible-role-zuul-ubuntu-bionic
- ansible-role-zuul-src-fedora-latest
- ansible-role-zuul-src-ubuntu-bionic
- tox-linters

View File

@ -1,2 +1 @@
ansible-lint
hacking<0.11,>=0.10

View File

@ -26,3 +26,17 @@
dest: /etc/pip.conf
regexp: ^extra-index-url
state: absent
- name: Execute bindep role
include_role:
name: bindep
- name: Setup ensure-tox role
include_role:
name: ensure-tox
vars:
ensure_global_symlinks: true
- name: Use the latest version of pip
become: true
shell: python3 -m pip install -U pip

View File

@ -35,9 +35,6 @@ whitelist_externals = bash
commands =
# PEP8 Lint Check
flake8
# Ansible Lint Check
bash -c "find . -not -path '*/\.*' -type f -regex '.*.y[a]?ml' -print0 | \
xargs -t -n1 -0 ansible-lint -x 106,306"
# Ansible Syntax Check
bash -c "find tests -type f -regex '.*.y[a]?ml' -print | xargs -t -n1 \
ansible-playbook --syntax-check -i tests/inventory \