ci: ansible-plugin-scan is disabled for now
ansible-plugin-scan is broken due to lack of support for older versions of python in ci. One of the main reasons for using this scan is to check if the roles/tests are using plugins that are not compatible with ansible 2.9. Since 2.9 is EOL, this is no longer necessary. The other reason for using the scan is to check that the role/test author has correctly listed dependencies in meta/collection-requirements.yml and tests/collection-requirements.yml - that is - that the author has correctly specified the dependencies for any plugins used that are not built-in. This will mostly be caught in CI testing now. Signed-off-by: Rich Megginson <rmeggins@redhat.com>
This commit is contained in:
committed by
Richard Megginson
parent
a4307661b7
commit
22d8e5aa41
@@ -1,38 +0,0 @@
|
||||
---
|
||||
name: Ansible Plugin Scan
|
||||
on: # yamllint disable-line rule:truthy
|
||||
pull_request:
|
||||
merge_group:
|
||||
branches:
|
||||
- main
|
||||
types:
|
||||
- checks_requested
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
ansible_plugin_scan:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Update pip, git
|
||||
run: |
|
||||
set -euxo pipefail
|
||||
python3 -m pip install --upgrade pip
|
||||
sudo apt update
|
||||
sudo apt install -y git
|
||||
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install tox, tox-lsr
|
||||
run: |
|
||||
set -euxo pipefail
|
||||
pip3 install "git+https://github.com/linux-system-roles/tox-lsr@3.4.0"
|
||||
|
||||
- name: Run ansible-plugin-scan
|
||||
run: |
|
||||
set -euxo pipefail
|
||||
TOXENV=ansible-plugin-scan lsr_ci_runtox
|
||||
Reference in New Issue
Block a user