From 972765c22596bbf051114f3d3f36175754fe1101 Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Wed, 29 Jan 2025 13:38:08 -0700 Subject: [PATCH] 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 --- .github/workflows/ansible-plugin-scan.yml | 38 ----------------------- 1 file changed, 38 deletions(-) delete mode 100644 .github/workflows/ansible-plugin-scan.yml diff --git a/.github/workflows/ansible-plugin-scan.yml b/.github/workflows/ansible-plugin-scan.yml deleted file mode 100644 index 987448f..0000000 --- a/.github/workflows/ansible-plugin-scan.yml +++ /dev/null @@ -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