mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
Fix Python version in CI for latest Ansible 2.19
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
parent
4c84135f5d
commit
ad3f6c7ce9
9 changed files with 35 additions and 47 deletions
|
|
@ -57,31 +57,23 @@ jobs:
|
|||
runner-os:
|
||||
- ubuntu-22.04
|
||||
runner-python-version:
|
||||
- '3.10'
|
||||
- '3.11'
|
||||
ansible-version:
|
||||
- ansible<2.10
|
||||
- git+https://github.com/ansible/ansible.git@stable-2.17
|
||||
- git+https://github.com/ansible/ansible.git@stable-2.18
|
||||
- git+https://github.com/ansible/ansible.git@devel
|
||||
python-version:
|
||||
- '3.10'
|
||||
- '3.11'
|
||||
include:
|
||||
- runner-os: ubuntu-22.04
|
||||
runner-python-version: '3.12'
|
||||
ansible-version: git+https://github.com/ansible/ansible.git@devel
|
||||
python-version: '3.12'
|
||||
exclude:
|
||||
- runner-os: ubuntu-22.04
|
||||
runner-python-version: '3.11'
|
||||
ansible-version: git+https://github.com/ansible/ansible.git@devel
|
||||
python-version: '3.11'
|
||||
- runner-os: ubuntu-22.04
|
||||
runner-python-version: 3.8
|
||||
ansible-version: ansible<2.10
|
||||
python-version: 3.8
|
||||
exclude:
|
||||
- runner-os: ubuntu-22.04
|
||||
runner-python-version: '3.10'
|
||||
ansible-version: git+https://github.com/ansible/ansible.git@devel
|
||||
python-version: '3.10'
|
||||
- runner-os: ubuntu-22.04
|
||||
runner-python-version: '3.10'
|
||||
ansible-version: ansible<2.10
|
||||
python-version: '3.10'
|
||||
|
||||
|
||||
steps:
|
||||
- name: Set up Python ${{ matrix.runner-python-version }}
|
||||
|
|
|
|||
17
.github/workflows/connections_tests.yml
vendored
17
.github/workflows/connections_tests.yml
vendored
|
|
@ -77,7 +77,7 @@ jobs:
|
|||
matrix:
|
||||
ansible-version:
|
||||
- ansible<2.10
|
||||
- git+https://github.com/ansible/ansible.git@stable-2.17
|
||||
- git+https://github.com/ansible/ansible.git@stable-2.18
|
||||
- git+https://github.com/ansible/ansible.git@devel
|
||||
os:
|
||||
- ubuntu-22.04
|
||||
|
|
@ -85,7 +85,7 @@ jobs:
|
|||
#- ubuntu-16.04
|
||||
#- macos-latest
|
||||
python-version:
|
||||
- "3.10"
|
||||
- "3.11"
|
||||
# - 3.9
|
||||
#- 3.6
|
||||
#- 3.5
|
||||
|
|
@ -93,11 +93,11 @@ jobs:
|
|||
include:
|
||||
- os: ubuntu-22.04
|
||||
ansible-version: git+https://github.com/ansible/ansible.git@devel
|
||||
python-version: "3.11"
|
||||
python-version: "3.12"
|
||||
exclude:
|
||||
- os: ubuntu-22.04
|
||||
ansible-version: git+https://github.com/ansible/ansible.git@devel
|
||||
python-version: "3.10"
|
||||
python-version: "3.11"
|
||||
|
||||
steps:
|
||||
|
||||
|
|
@ -174,8 +174,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
ansible-version:
|
||||
- ansible<2.10
|
||||
- git+https://github.com/ansible/ansible.git@stable-2.17
|
||||
- git+https://github.com/ansible/ansible.git@stable-2.18
|
||||
- git+https://github.com/ansible/ansible.git@devel
|
||||
os:
|
||||
- ubuntu-22.04
|
||||
|
|
@ -184,18 +183,18 @@ jobs:
|
|||
#- macos-latest
|
||||
python-version:
|
||||
#- 3.9
|
||||
- "3.10"
|
||||
- "3.11"
|
||||
#- 3.6
|
||||
#- 3.5
|
||||
#- 2.7
|
||||
include:
|
||||
- os: ubuntu-22.04
|
||||
ansible-version: git+https://github.com/ansible/ansible.git@devel
|
||||
python-version: "3.11"
|
||||
python-version: "3.12"
|
||||
exclude:
|
||||
- os: ubuntu-22.04
|
||||
ansible-version: git+https://github.com/ansible/ansible.git@devel
|
||||
python-version: "3.10"
|
||||
python-version: "3.11"
|
||||
|
||||
steps:
|
||||
|
||||
|
|
|
|||
13
.github/workflows/podman_container.yml
vendored
13
.github/workflows/podman_container.yml
vendored
|
|
@ -42,28 +42,27 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
ansible-version:
|
||||
- ansible<2.10
|
||||
- git+https://github.com/ansible/ansible.git@stable-2.17
|
||||
- git+https://github.com/ansible/ansible.git@stable-2.18
|
||||
- git+https://github.com/ansible/ansible.git@devel
|
||||
os:
|
||||
- ubuntu-22.04
|
||||
python-version:
|
||||
- "3.10"
|
||||
- "3.11"
|
||||
podman-version:
|
||||
- unstable
|
||||
include:
|
||||
- os: ubuntu-22.04
|
||||
ansible-version: git+https://github.com/ansible/ansible.git@stable-2.17
|
||||
python-version: "3.10"
|
||||
ansible-version: git+https://github.com/ansible/ansible.git@stable-2.18
|
||||
python-version: "3.11"
|
||||
podman-version: stable
|
||||
- os: ubuntu-22.04
|
||||
ansible-version: git+https://github.com/ansible/ansible.git@devel
|
||||
python-version: "3.11"
|
||||
python-version: "3.12"
|
||||
podman-version: unstable
|
||||
exclude:
|
||||
- os: ubuntu-22.04
|
||||
ansible-version: git+https://github.com/ansible/ansible.git@devel
|
||||
python-version: "3.10"
|
||||
python-version: "3.11"
|
||||
podman-version: unstable
|
||||
|
||||
steps:
|
||||
|
|
|
|||
4
.github/workflows/podman_container_exec.yml
vendored
4
.github/workflows/podman_container_exec.yml
vendored
|
|
@ -35,12 +35,12 @@ jobs:
|
|||
matrix:
|
||||
ansible-version:
|
||||
# - ansible<2.10
|
||||
- git+https://github.com/ansible/ansible.git@stable-2.17
|
||||
- git+https://github.com/ansible/ansible.git@stable-2.18
|
||||
- git+https://github.com/ansible/ansible.git@devel
|
||||
os:
|
||||
- ubuntu-22.04
|
||||
python-version:
|
||||
- "3.11"
|
||||
- "3.12"
|
||||
|
||||
steps:
|
||||
|
||||
|
|
|
|||
4
.github/workflows/podman_container_idem.yml
vendored
4
.github/workflows/podman_container_idem.yml
vendored
|
|
@ -39,12 +39,12 @@ jobs:
|
|||
matrix:
|
||||
ansible-version:
|
||||
# - ansible<2.10
|
||||
- git+https://github.com/ansible/ansible.git@stable-2.17
|
||||
- git+https://github.com/ansible/ansible.git@stable-2.18
|
||||
- git+https://github.com/ansible/ansible.git@devel
|
||||
os:
|
||||
- ubuntu-22.04
|
||||
python-version:
|
||||
- "3.11"
|
||||
- "3.12"
|
||||
|
||||
steps:
|
||||
|
||||
|
|
|
|||
4
.github/workflows/podman_containers.yml
vendored
4
.github/workflows/podman_containers.yml
vendored
|
|
@ -40,12 +40,12 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
ansible-version:
|
||||
- git+https://github.com/ansible/ansible.git@stable-2.17
|
||||
- git+https://github.com/ansible/ansible.git@stable-2.18
|
||||
- git+https://github.com/ansible/ansible.git@devel
|
||||
os:
|
||||
- ubuntu-22.04
|
||||
python-version:
|
||||
- "3.11"
|
||||
- "3.12"
|
||||
|
||||
steps:
|
||||
|
||||
|
|
|
|||
4
.github/workflows/podman_secret.yml
vendored
4
.github/workflows/podman_secret.yml
vendored
|
|
@ -36,12 +36,12 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
ansible-version:
|
||||
- git+https://github.com/ansible/ansible.git@stable-2.17
|
||||
- git+https://github.com/ansible/ansible.git@stable-2.18
|
||||
- git+https://github.com/ansible/ansible.git@devel
|
||||
os:
|
||||
- ubuntu-22.04
|
||||
python-version:
|
||||
- "3.11"
|
||||
- "3.12"
|
||||
|
||||
steps:
|
||||
|
||||
|
|
|
|||
4
.github/workflows/podman_secret_info.yml
vendored
4
.github/workflows/podman_secret_info.yml
vendored
|
|
@ -34,12 +34,12 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
ansible-version:
|
||||
- git+https://github.com/ansible/ansible.git@stable-2.17
|
||||
- git+https://github.com/ansible/ansible.git@stable-2.18
|
||||
- git+https://github.com/ansible/ansible.git@devel
|
||||
os:
|
||||
- ubuntu-22.04
|
||||
python-version:
|
||||
- "3.11"
|
||||
- "3.12"
|
||||
|
||||
steps:
|
||||
|
||||
|
|
|
|||
|
|
@ -36,10 +36,8 @@
|
|||
- distro == 'CentOS7'
|
||||
- setup_python|default(true)|bool
|
||||
|
||||
- name: Upgrade pip
|
||||
pip:
|
||||
name: pip
|
||||
extra_args: --upgrade
|
||||
- name: Install Python packaging
|
||||
command: pip install --upgrade setuptools packaging pip
|
||||
environment:
|
||||
PATH: /usr/local/bin:{{ ansible_env.PATH }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue