mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
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:
parent
2439f442cc
commit
71e2855ee0
1 changed files with 0 additions and 38 deletions
38
.github/workflows/ansible-plugin-scan.yml
vendored
38
.github/workflows/ansible-plugin-scan.yml
vendored
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue