mirror of
https://github.com/linux-system-roles/network.git
synced 2026-07-18 00:46:05 +00:00
ci: tox-lsr 3.16.0 - fix qemu tox test failures - rename to qemu-ansible-core-X-Y [citest_skip]
the latest version of tox 4.49 has a strange issue - it thinks that a tox testenv like `[qemu-ansible-core-2.20]` is specifying python 2.20 which conflicts with the testenv basepython of python 3.latest. There appears to be no way to workaround this. So, rename all of the testenvs to use `major-minor` instead of `major.minor` e.g. `[qemu-ansible-core-2-20]` Signed-off-by: Rich Megginson <rmeggins@redhat.com>
This commit is contained in:
parent
0b22e883d7
commit
6bb0104b38
6 changed files with 19 additions and 19 deletions
2
.github/workflows/ansible-lint.yml
vendored
2
.github/workflows/ansible-lint.yml
vendored
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
- name: Install tox, tox-lsr
|
||||
run: |
|
||||
set -euxo pipefail
|
||||
pip3 install "git+https://github.com/linux-system-roles/tox-lsr@3.15.0"
|
||||
pip3 install "git+https://github.com/linux-system-roles/tox-lsr@3.16.0"
|
||||
|
||||
- name: Convert role to collection format
|
||||
id: collection
|
||||
|
|
|
|||
|
|
@ -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.15.0"
|
||||
pip3 install "git+https://github.com/linux-system-roles/tox-lsr@3.16.0"
|
||||
|
||||
- name: Run ansible-plugin-scan
|
||||
run: |
|
||||
|
|
|
|||
2
.github/workflows/ansible-test.yml
vendored
2
.github/workflows/ansible-test.yml
vendored
|
|
@ -36,7 +36,7 @@ jobs:
|
|||
- name: Install tox, tox-lsr
|
||||
run: |
|
||||
set -euxo pipefail
|
||||
pip3 install "git+https://github.com/linux-system-roles/tox-lsr@3.15.0"
|
||||
pip3 install "git+https://github.com/linux-system-roles/tox-lsr@3.16.0"
|
||||
|
||||
- name: Convert role to collection format
|
||||
run: |
|
||||
|
|
|
|||
2
.github/workflows/python-unit-test.yml
vendored
2
.github/workflows/python-unit-test.yml
vendored
|
|
@ -70,7 +70,7 @@ jobs:
|
|||
tox=tox
|
||||
virtualenv=virtualenv
|
||||
fi
|
||||
pip install "$tox" "$virtualenv" "git+https://github.com/linux-system-roles/tox-lsr@3.15.0"
|
||||
pip install "$tox" "$virtualenv" "git+https://github.com/linux-system-roles/tox-lsr@3.16.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.
|
||||
|
|
|
|||
28
.github/workflows/qemu-kvm-integration-tests.yml
vendored
28
.github/workflows/qemu-kvm-integration-tests.yml
vendored
|
|
@ -28,22 +28,22 @@ jobs:
|
|||
matrix:
|
||||
scenario:
|
||||
# QEMU
|
||||
- { image: "centos-9", env: "qemu-ansible-core-2.16" }
|
||||
- { image: "centos-10", env: "qemu-ansible-core-2.17" }
|
||||
- { image: "fedora-42", env: "qemu-ansible-core-2.19" }
|
||||
- { image: "fedora-43", env: "qemu-ansible-core-2.19" }
|
||||
- { image: "leap-15.6", env: "qemu-ansible-core-2.18" }
|
||||
- { image: "centos-9", env: "qemu-ansible-core-2-16" }
|
||||
- { image: "centos-10", env: "qemu-ansible-core-2-17" }
|
||||
- { image: "fedora-42", env: "qemu-ansible-core-2-19" }
|
||||
- { image: "fedora-43", env: "qemu-ansible-core-2-19" }
|
||||
- { image: "leap-15.6", env: "qemu-ansible-core-2-18" }
|
||||
|
||||
# container
|
||||
- { image: "centos-9", env: "container-ansible-core-2.16" }
|
||||
- { image: "centos-9-bootc", env: "container-ansible-core-2.16" }
|
||||
- { image: "centos-9", env: "container-ansible-core-2-16" }
|
||||
- { image: "centos-9-bootc", env: "container-ansible-core-2-16" }
|
||||
# broken on non-running dbus
|
||||
# - { image: "centos-10", env: "container-ansible-core-2.17" }
|
||||
- { image: "centos-10-bootc", env: "container-ansible-core-2.17" }
|
||||
- { image: "fedora-42", env: "container-ansible-core-2.17" }
|
||||
- { image: "fedora-43", env: "container-ansible-core-2.19" }
|
||||
- { image: "fedora-42-bootc", env: "container-ansible-core-2.17" }
|
||||
- { image: "fedora-43-bootc", env: "container-ansible-core-2.19" }
|
||||
# - { image: "centos-10", env: "container-ansible-core-2-17" }
|
||||
- { image: "centos-10-bootc", env: "container-ansible-core-2-17" }
|
||||
- { image: "fedora-42", env: "container-ansible-core-2-17" }
|
||||
- { image: "fedora-43", env: "container-ansible-core-2-19" }
|
||||
- { image: "fedora-42-bootc", env: "container-ansible-core-2-17" }
|
||||
- { image: "fedora-43-bootc", env: "container-ansible-core-2-19" }
|
||||
|
||||
env:
|
||||
TOX_ARGS: "--skip-tags tests::infiniband,tests::nvme,tests::scsi"
|
||||
|
|
@ -110,7 +110,7 @@ jobs:
|
|||
python3 -m pip install --upgrade pip
|
||||
sudo apt update
|
||||
sudo apt install -y --no-install-recommends git ansible-core genisoimage qemu-system-x86
|
||||
pip3 install "git+https://github.com/linux-system-roles/tox-lsr@3.15.0"
|
||||
pip3 install "git+https://github.com/linux-system-roles/tox-lsr@3.16.0"
|
||||
|
||||
# HACK: Drop this when moving this workflow to 26.04 LTS
|
||||
- name: Update podman to 5.x for compatibility with bootc-image-builder's podman 5
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ The latest version of tox-lsr supports qemu testing.
|
|||
you can use e.g.
|
||||
|
||||
```bash
|
||||
tox -e qemu-ansible-core-2.14 -- --image-name centos-9 tests/tests_default.yml
|
||||
tox -e qemu-ansible-core-2-20 -- --image-name centos-9 tests/tests_default.yml
|
||||
```
|
||||
|
||||
There are many command line options and environment variables which can be used
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue