From bccf4f1d1539fdbe89f4280f2108b62a6340857a Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Thu, 30 May 2024 18:39:10 -0600 Subject: [PATCH] ci: use tox-lsr 3.3.0 which uses ansible-test 2.17 Upgrade ci tests to use tox-lsr 3.3.0 tox-lsr 3.3.0 uses ansible-test 2.17 Create the ansible-test ignore file for 2.17 Signed-off-by: Rich Megginson --- .github/workflows/ansible-lint.yml | 2 +- .github/workflows/ansible-managed-var-comment.yml | 2 +- .github/workflows/ansible-plugin-scan.yml | 2 +- .github/workflows/ansible-test.yml | 2 +- .github/workflows/python-unit-test.yml | 2 +- .sanity-ansible-ignore-2.17.txt | 7 +++++++ 6 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 .sanity-ansible-ignore-2.17.txt diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml index 53ab0b07..be9419d6 100644 --- a/.github/workflows/ansible-lint.yml +++ b/.github/workflows/ansible-lint.yml @@ -32,7 +32,7 @@ jobs: - name: Install tox, tox-lsr run: | set -euxo pipefail - pip3 install "git+https://github.com/linux-system-roles/tox-lsr@3.2.2" + pip3 install "git+https://github.com/linux-system-roles/tox-lsr@3.3.0" - name: Convert role to collection format run: | diff --git a/.github/workflows/ansible-managed-var-comment.yml b/.github/workflows/ansible-managed-var-comment.yml index b2b8460e..fcfef957 100644 --- a/.github/workflows/ansible-managed-var-comment.yml +++ b/.github/workflows/ansible-managed-var-comment.yml @@ -30,7 +30,7 @@ jobs: - name: Install tox, tox-lsr run: | set -euxo pipefail - pip3 install "git+https://github.com/linux-system-roles/tox-lsr@3.2.2" + pip3 install "git+https://github.com/linux-system-roles/tox-lsr@3.3.0" - name: Run ansible-plugin-scan run: | diff --git a/.github/workflows/ansible-plugin-scan.yml b/.github/workflows/ansible-plugin-scan.yml index 80853846..844d7350 100644 --- a/.github/workflows/ansible-plugin-scan.yml +++ b/.github/workflows/ansible-plugin-scan.yml @@ -30,7 +30,7 @@ jobs: - name: Install tox, tox-lsr run: | set -euxo pipefail - pip3 install "git+https://github.com/linux-system-roles/tox-lsr@3.2.2" + pip3 install "git+https://github.com/linux-system-roles/tox-lsr@3.3.0" - name: Run ansible-plugin-scan run: | diff --git a/.github/workflows/ansible-test.yml b/.github/workflows/ansible-test.yml index 26fe33c7..2018b46f 100644 --- a/.github/workflows/ansible-test.yml +++ b/.github/workflows/ansible-test.yml @@ -33,7 +33,7 @@ jobs: - name: Install tox, tox-lsr run: | set -euxo pipefail - pip3 install "git+https://github.com/linux-system-roles/tox-lsr@3.2.2" + pip3 install "git+https://github.com/linux-system-roles/tox-lsr@3.3.0" - name: Convert role to collection format run: | diff --git a/.github/workflows/python-unit-test.yml b/.github/workflows/python-unit-test.yml index bcb21e6b..535d8c04 100644 --- a/.github/workflows/python-unit-test.yml +++ b/.github/workflows/python-unit-test.yml @@ -58,7 +58,7 @@ jobs: run: | set -euxo pipefail python -m pip install --upgrade pip - pip install "git+https://github.com/linux-system-roles/tox-lsr@3.2.2" + pip install "git+https://github.com/linux-system-roles/tox-lsr@3.3.0" # If you have additional OS dependency packages e.g. libcairo2-dev # then put them in .github/config/ubuntu-requirements.txt, one # package per line. diff --git a/.sanity-ansible-ignore-2.17.txt b/.sanity-ansible-ignore-2.17.txt new file mode 100644 index 00000000..79bb2a01 --- /dev/null +++ b/.sanity-ansible-ignore-2.17.txt @@ -0,0 +1,7 @@ +plugins/modules/blivet.py validate-modules:missing-gplv3-license +plugins/modules/blockdev_info.py validate-modules:missing-gplv3-license +plugins/modules/bsize.py validate-modules:missing-gplv3-license +plugins/modules/find_unused_disk.py validate-modules:missing-gplv3-license +plugins/modules/lvm_gensym.py validate-modules:missing-gplv3-license +plugins/modules/resolve_blockdev.py validate-modules:missing-gplv3-license +tests/storage/scripts/generate_tests.py shebang!skip