From 020240928d849bd41c74e8fa3cd13aa9c4d57e2d Mon Sep 17 00:00:00 2001 From: Yuriy Novostavskiy Date: Wed, 22 Apr 2026 04:18:00 +0000 Subject: [PATCH] feat(workflows): add ansible-core 2.21 to CI matrices Add `stable-2.21` to the test matrices in integration_simple.yml, sanity.yml, unit_galaxy.yml and unit_source.yml. Reson for the change: ansible-core 2.21 received a security own branch, and we want to make sure that our code is compatible with it. Milestone and devel switched to 2.22. --- .github/workflows/integration_simple.yml | 20 +++++++++++++++++--- .github/workflows/sanity.yml | 20 +++++++++++++++++--- .github/workflows/unit_galaxy.yml | 20 +++++++++++++++++--- .github/workflows/unit_source.yml | 20 +++++++++++++++++--- 4 files changed, 68 insertions(+), 12 deletions(-) diff --git a/.github/workflows/integration_simple.yml b/.github/workflows/integration_simple.yml index af218647..ca9fefba 100644 --- a/.github/workflows/integration_simple.yml +++ b/.github/workflows/integration_simple.yml @@ -14,11 +14,12 @@ on: # 2.18 supports Python 3.11-3.13 # 2.19 supports Python 3.11-3.13 # 2.20 supports Python 3.12-3.14 + # 2.21 supports Python 3.12-3.14 # support for Python 3.14 added and 3.11 removed in 2.20 for control node # target node supported Python 3.8-3.13 as of 2.18 and 2.19 # target node supported Python 3.9-3.14 as of 2.20 - # milestone is and devel is switched to 2.21 - # https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_20.html + # milestone is and devel is switched to 2.22 + # https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_21.html default: >- [ { @@ -29,6 +30,14 @@ on: "ansible-version": "devel", "python-version": "3.10" }, + { + "ansible-version": "stable-2.21", + "python-version": "3.11" + }, + { + "ansible-version": "stable-2.21", + "python-version": "3.10" + }, { "ansible-version": "stable-2.20", "python-version": "3.11" @@ -95,18 +104,23 @@ jobs: matrix: ansible-version: # ansible-core 2.15 reached EOL on November 2024 - # ansible-core 2.16 will reach EOL on May 2025 + # ansible-core 2.16 reached EOL on May 2025 + # ansible-core 2.17 reached EOL on November 2025 + # However, we are keeping 2.16 and 2.17 in the matrix as multiple collections still support them + # ansible-core 2.18 will reach EOL on May 2026 - stable-2.16 - stable-2.17 - stable-2.18 - stable-2.19 - stable-2.20 + - stable-2.21 - devel python-version: # 2.16 supports Python 3.10-3.11 # 2.17 supports Python 3.10-3.12 # 2.18 and 2.19 supports Python 3.11-3.13 # 2.20 supports Python 3.12-3.14 + # 2.21 supports Python 3.12-3.14 - "3.10" - "3.11" - "3.12" diff --git a/.github/workflows/sanity.yml b/.github/workflows/sanity.yml index cee300bc..4d0026b0 100644 --- a/.github/workflows/sanity.yml +++ b/.github/workflows/sanity.yml @@ -14,11 +14,12 @@ on: # 2.18 supports Python 3.11-3.13 # 2.19 supports Python 3.11-3.13 # 2.20 supports Python 3.12-3.14 + # 2.21 supports Python 3.12-3.14 # support for Python 3.14 added and 3.11 removed in 2.20 for control node # target node supported Python 3.8-3.13 as of 2.18 and 2.19 # target node supported Python 3.9-3.14 as of 2.20 - # milestone is and devel is switched to 2.21 - # https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_20.html + # milestone is and devel is switched to 2.22 + # https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_21.html default: >- [ { @@ -29,6 +30,14 @@ on: "ansible-version": "devel", "python-version": "3.10" }, + { + "ansible-version": "stable-2.21", + "python-version": "3.11" + }, + { + "ansible-version": "stable-2.21", + "python-version": "3.10" + }, { "ansible-version": "stable-2.20", "python-version": "3.11" @@ -101,18 +110,23 @@ jobs: - ubuntu-latest ansible-version: # ansible-core 2.15 reached EOL on November 2024 - # ansible-core 2.16 will reach EOL on May 2025 + # ansible-core 2.16 reached EOL on May 2025 + # ansible-core 2.17 reached EOL on November 2025 + # However, we are keeping 2.16 and 2.17 in the matrix as multiple collections still support them + # ansible-core 2.18 will reach EOL on May 2026 - stable-2.16 - stable-2.17 - stable-2.18 - stable-2.19 - stable-2.20 + - stable-2.21 - devel python-version: # 2.16 supports Python 3.10-3.11 # 2.17 supports Python 3.10-3.12 # 2.18 and 2.19 supports Python 3.11-3.13 # 2.20 supports Python 3.12-3.14 + # 2.21 supports Python 3.12-3.14 - "3.10" - "3.11" - "3.12" diff --git a/.github/workflows/unit_galaxy.yml b/.github/workflows/unit_galaxy.yml index 8434f8f0..fb0f67b3 100644 --- a/.github/workflows/unit_galaxy.yml +++ b/.github/workflows/unit_galaxy.yml @@ -14,11 +14,12 @@ on: # 2.18 supports Python 3.11-3.13 # 2.19 supports Python 3.11-3.13 # 2.20 supports Python 3.12-3.14 + # 2.21 supports Python 3.12-3.14 # support for Python 3.14 added and 3.11 removed in 2.20 for control node # target node supported Python 3.8-3.13 as of 2.18 and 2.19 # target node supported Python 3.9-3.14 as of 2.20 - # milestone is and devel is switched to 2.21 - # https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_20.html + # milestone is and devel is switched to 2.22 + # https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_21.html default: >- [ { @@ -29,6 +30,14 @@ on: "ansible-version": "devel", "python-version": "3.10" }, + { + "ansible-version": "stable-2.21", + "python-version": "3.11" + }, + { + "ansible-version": "stable-2.21", + "python-version": "3.10" + }, { "ansible-version": "stable-2.20", "python-version": "3.11" @@ -92,18 +101,23 @@ jobs: matrix: ansible-version: # ansible-core 2.15 reached EOL on November 2024 - # ansible-core 2.16 will reach EOL on May 2025 + # ansible-core 2.16 reached EOL on May 2025 + # ansible-core 2.17 reached EOL on November 2025 + # However, we are keeping 2.16 and 2.17 in the matrix as multiple collections still support them + # ansible-core 2.18 will reach EOL on May 2026 - stable-2.16 - stable-2.17 - stable-2.18 - stable-2.19 - stable-2.20 + - stable-2.21 - devel python-version: # 2.16 supports Python 3.10-3.11 # 2.17 supports Python 3.10-3.12 # 2.18 and 2.19 supports Python 3.11-3.13 # 2.20 supports Python 3.12-3.14 + # 2.21 supports Python 3.12-3.14 - "3.10" - "3.11" - "3.12" diff --git a/.github/workflows/unit_source.yml b/.github/workflows/unit_source.yml index e546d0a0..e3b14316 100644 --- a/.github/workflows/unit_source.yml +++ b/.github/workflows/unit_source.yml @@ -14,11 +14,12 @@ on: # 2.18 supports Python 3.11-3.13 # 2.19 supports Python 3.11-3.13 # 2.20 supports Python 3.12-3.14 + # 2.21 supports Python 3.12-3.14 # support for Python 3.14 added and 3.11 removed in 2.20 for control node # target node supported Python 3.8-3.13 as of 2.18 and 2.19 # target node supported Python 3.9-3.14 as of 2.20 - # milestone is and devel is switched to 2.21 - # https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_20.html + # milestone is and devel is switched to 2.22 + # https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_21.html default: >- [ { @@ -49,6 +50,14 @@ on: "ansible-version": "milestone", "python-version": "3.10" }, + { + "ansible-version": "stable-2.21", + "python-version": "3.11" + }, + { + "ansible-version": "stable-2.21", + "python-version": "3.10" + }, { "ansible-version": "stable-2.20", "python-version": "3.11" @@ -108,18 +117,23 @@ jobs: matrix: ansible-version: # ansible-core 2.15 reached EOL on November 2024 - # ansible-core 2.16 will reach EOL on May 2025 + # ansible-core 2.16 reached EOL on May 2025 + # ansible-core 2.17 reached EOL on November 2025 + # However, we are keeping 2.16 and 2.17 in the matrix as multiple collections still support them + # ansible-core 2.18 will reach EOL on May 2026 - stable-2.16 - stable-2.17 - stable-2.18 - stable-2.19 - stable-2.20 + - stable-2.21 - devel python-version: # 2.16 supports Python 3.10-3.11 # 2.17 supports Python 3.10-3.12 # 2.18 and 2.19 supports Python 3.11-3.13 # 2.20 supports Python 3.12-3.14 + # 2.21 supports Python 3.12-3.14 - "3.10" - "3.11" - "3.12"