Skip to content

Commit

Permalink
Merge pull request #469 from Checkmk/build/bump-ansible-versions
Browse files Browse the repository at this point in the history
Bump Ansible and Python versions for GitHub Actions
  • Loading branch information
robin-checkmk authored Nov 9, 2023
2 parents c49e0db + f00a783 commit cf9c6f0
Show file tree
Hide file tree
Showing 23 changed files with 145 additions and 82 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ans-int-test-activation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,22 @@ jobs:
fail-fast: false
matrix:
ansible:
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- devel
python:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
exclude:
# Exclude unsupported sets.
- ansible: stable-2.13
python: '3.11'
- ansible: stable-2.14
python: '3.12'
- ansible: stable-2.15
python: '3.12'

steps:
- name: Check out code
Expand All @@ -54,7 +57,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10' # Ansible 2.13 does not support Python 3.11.
python-version: '3.11'

- name: Install ansible-base (${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/ans-int-test-bakery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,22 @@ jobs:
fail-fast: false
matrix:
ansible:
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- devel
python:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
exclude:
# Exclude unsupported sets.
- ansible: stable-2.13
python: '3.11'
- ansible: stable-2.14
python: '3.12'
- ansible: stable-2.15
python: '3.12'

steps:
- name: Check out code
Expand All @@ -54,7 +57,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10' # Ansible 2.13 does not support Python 3.11.
python-version: '3.11'

- name: Install ansible-base (${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/ans-int-test-contact_group.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,22 @@ jobs:
fail-fast: false
matrix:
ansible:
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- devel
python:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
exclude:
# Exclude unsupported sets.
- ansible: stable-2.13
python: '3.11'
- ansible: stable-2.14
python: '3.12'
- ansible: stable-2.15
python: '3.12'

steps:
- name: Check out code
Expand All @@ -54,7 +57,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10' # Ansible 2.13 does not support Python 3.11.
python-version: '3.11'

- name: Install ansible-base (${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/ans-int-test-discovery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,22 @@ jobs:
fail-fast: false
matrix:
ansible:
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- devel
python:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
exclude:
# Exclude unsupported sets.
- ansible: stable-2.13
python: '3.11'
- ansible: stable-2.14
python: '3.12'
- ansible: stable-2.15
python: '3.12'

steps:
- name: Check out code
Expand All @@ -54,7 +57,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10' # Ansible 2.13 does not support Python 3.11.
python-version: '3.11'

- name: Install ansible-base (${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/ans-int-test-downtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,22 @@ jobs:
fail-fast: false
matrix:
ansible:
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- devel
python:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
exclude:
# Exclude unsupported sets.
- ansible: stable-2.13
python: '3.11'
- ansible: stable-2.14
python: '3.12'
- ansible: stable-2.15
python: '3.12'

steps:
- name: Check out code
Expand All @@ -54,7 +57,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10' # Ansible 2.13 does not support Python 3.11.
python-version: '3.11'

- name: Install ansible-base (${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/ans-int-test-folder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,22 @@ jobs:
fail-fast: false
matrix:
ansible:
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- devel
python:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
exclude:
# Exclude unsupported sets.
- ansible: stable-2.13
python: '3.11'
- ansible: stable-2.14
python: '3.12'
- ansible: stable-2.15
python: '3.12'

steps:
- name: Check out code
Expand All @@ -54,7 +57,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10' # Ansible 2.13 does not support Python 3.11.
python-version: '3.11'

- name: Install ansible-base (${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/ans-int-test-host.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,22 @@ jobs:
fail-fast: false
matrix:
ansible:
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- devel
python:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
exclude:
# Exclude unsupported sets.
- ansible: stable-2.13
python: '3.11'
- ansible: stable-2.14
python: '3.12'
- ansible: stable-2.15
python: '3.12'

steps:
- name: Check out code
Expand All @@ -54,7 +57,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10' # Ansible 2.13 does not support Python 3.11.
python-version: '3.11'

- name: Install ansible-base (${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/ans-int-test-host_group.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,22 @@ jobs:
fail-fast: false
matrix:
ansible:
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- devel
python:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
exclude:
# Exclude unsupported sets.
- ansible: stable-2.13
python: '3.11'
- ansible: stable-2.14
python: '3.12'
- ansible: stable-2.15
python: '3.12'

steps:
- name: Check out code
Expand All @@ -54,7 +57,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10' # Ansible 2.13 does not support Python 3.11.
python-version: '3.11'

- name: Install ansible-base (${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/ans-int-test-lkp-folder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,22 @@ jobs:
fail-fast: false
matrix:
ansible:
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- devel
python:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
exclude:
# Exclude unsupported sets.
- ansible: stable-2.13
python: '3.11'
- ansible: stable-2.14
python: '3.12'
- ansible: stable-2.15
python: '3.12'

steps:
- name: Check out code
Expand All @@ -52,7 +55,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10' # Ansible 2.13 does not support Python 3.11.
python-version: '3.11'

- name: Install ansible-base (${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/ans-int-test-lkp-folders.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,22 @@ jobs:
fail-fast: false
matrix:
ansible:
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- devel
python:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
exclude:
# Exclude unsupported sets.
- ansible: stable-2.13
python: '3.11'
- ansible: stable-2.14
python: '3.12'
- ansible: stable-2.15
python: '3.12'

steps:
- name: Check out code
Expand All @@ -52,7 +55,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10' # Ansible 2.13 does not support Python 3.11.
python-version: '3.11'

- name: Install ansible-base (${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/ans-int-test-lkp-host.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,22 @@ jobs:
fail-fast: false
matrix:
ansible:
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- devel
python:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
exclude:
# Exclude unsupported sets.
- ansible: stable-2.13
python: '3.11'
- ansible: stable-2.14
python: '3.12'
- ansible: stable-2.15
python: '3.12'

steps:
- name: Check out code
Expand All @@ -52,7 +55,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10' # Ansible 2.13 does not support Python 3.11.
python-version: '3.11'

- name: Install ansible-base (${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
Expand Down
Loading

0 comments on commit cf9c6f0

Please sign in to comment.