From 8472dc22ea7ff5db40a0554bb3c7570d4b2de949 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Wed, 15 Oct 2025 08:41:04 +0200 Subject: [PATCH] Add stable-2.20 to CI, bump version of devel branch (#10923) Add stable-2.20 to CI, bump version of devel branch. --- .azure-pipelines/azure-pipelines.yml | 73 ++++++++++++++++++++++++++++ README.md | 2 +- tests/sanity/ignore-2.21.txt | 14 ++++++ tests/sanity/ignore-2.21.txt.license | 3 ++ 4 files changed, 91 insertions(+), 1 deletion(-) create mode 100644 tests/sanity/ignore-2.21.txt create mode 100644 tests/sanity/ignore-2.21.txt.license diff --git a/.azure-pipelines/azure-pipelines.yml b/.azure-pipelines/azure-pipelines.yml index 43f7bdec1c..e9bfa6f8e4 100644 --- a/.azure-pipelines/azure-pipelines.yml +++ b/.azure-pipelines/azure-pipelines.yml @@ -70,6 +70,19 @@ stages: - test: 2 - test: 3 - test: 4 + - stage: Sanity_2_20 + displayName: Sanity 2.20 + dependsOn: [] + jobs: + - template: templates/matrix.yml + parameters: + nameFormat: Test {0} + testFormat: 2.20/sanity/{0} + targets: + - test: 1 + - test: 2 + - test: 3 + - test: 4 - stage: Sanity_2_19 displayName: Sanity 2.19 dependsOn: [] @@ -112,6 +125,18 @@ stages: - test: '3.12' - test: '3.13' - test: '3.14' + - stage: Units_2_20 + displayName: Units 2.20 + dependsOn: [] + jobs: + - template: templates/matrix.yml + parameters: + nameFormat: Python {0} + testFormat: 2.20/units/{0}/1 + targets: + - test: 3.9 + - test: "3.12" + - test: "3.14" - stage: Units_2_19 displayName: Units 2.19 dependsOn: [] @@ -178,6 +203,22 @@ stages: - 1 - 2 - 3 + - stage: Remote_2_20 + displayName: Remote 2.20 + dependsOn: [] + jobs: + - template: templates/matrix.yml + parameters: + testFormat: 2.20/{0} + targets: + - name: RHEL 10.0 + test: rhel/10.0 + - name: FreeBSD 14.3 + test: freebsd/14.3 + groups: + - 1 + - 2 + - 3 - stage: Remote_2_19 displayName: Remote 2.19 dependsOn: [] @@ -236,6 +277,22 @@ stages: - 1 - 2 - 3 + - stage: Docker_2_20 + displayName: Docker 2.20 + dependsOn: [] + jobs: + - template: templates/matrix.yml + parameters: + testFormat: 2.20/linux/{0} + targets: + - name: Fedora 42 + test: fedora42 + - name: Alpine 3.22 + test: alpine322 + groups: + - 1 + - 2 + - 3 - stage: Docker_2_19 displayName: Docker 2.19 dependsOn: [] @@ -307,6 +364,17 @@ stages: # - test: '3.9' # - test: '3.12' # - test: '3.14' +# - stage: Generic_2_20 +# displayName: Generic 2.20 +# dependsOn: [] +# jobs: +# - template: templates/matrix.yml +# parameters: +# nameFormat: Python {0} +# testFormat: 2.20/generic/{0}/1 +# targets: +# - test: '3.10' +# - test: '3.14' # - stage: Generic_2_19 # displayName: Generic 2.19 # dependsOn: [] @@ -334,21 +402,26 @@ stages: condition: succeededOrFailed() dependsOn: - Sanity_devel + - Sanity_2_20 - Sanity_2_19 - Sanity_2_18 - Units_devel + - Units_2_20 - Units_2_19 - Units_2_18 - Remote_devel_extra_vms - Remote_devel + - Remote_2_20 - Remote_2_19 - Remote_2_18 - Docker_devel + - Docker_2_20 - Docker_2_19 - Docker_2_18 - Docker_community_devel # Right now all generic tests are disabled. Uncomment when at least one of them is re-enabled. # - Generic_devel +# - Generic_2_20 # - Generic_2_19 # - Generic_2_18 jobs: diff --git a/README.md b/README.md index ef3ac2e6bd..726d9cb872 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ For more information about communication, see the [Ansible communication guide]( ## Tested with Ansible -Tested with the current ansible-core 2.17, ansible-core 2.18, ansible-core 2.19 releases and the current development version of ansible-core. Ansible-core versions before 2.17.0 are not supported. This includes all ansible-base 2.10 and Ansible 2.9 releases. +Tested with the current ansible-core 2.17, ansible-core 2.18, ansible-core 2.19, ansible-core 2.20 releases and the current development version of ansible-core. Ansible-core versions before 2.17.0 are not supported. This includes all ansible-base 2.10 and Ansible 2.9 releases. ## External requirements diff --git a/tests/sanity/ignore-2.21.txt b/tests/sanity/ignore-2.21.txt new file mode 100644 index 0000000000..ab7e6e3c7c --- /dev/null +++ b/tests/sanity/ignore-2.21.txt @@ -0,0 +1,14 @@ +plugins/module_utils/univention_umc.py pylint:use-yield-from # suggested construct does not work with Python 2 +plugins/modules/consul_session.py validate-modules:parameter-state-invalid-choice +plugins/modules/homectl.py import-3.11 # Uses deprecated stdlib library 'crypt' +plugins/modules/homectl.py import-3.12 # Uses deprecated stdlib library 'crypt' +plugins/modules/iptables_state.py validate-modules:undocumented-parameter # params _back and _timeout used by action plugin +plugins/modules/lxc_container.py validate-modules:use-run-command-not-popen +plugins/modules/osx_defaults.py validate-modules:parameter-state-invalid-choice +plugins/modules/parted.py validate-modules:parameter-state-invalid-choice +plugins/modules/rhevm.py validate-modules:parameter-state-invalid-choice +plugins/modules/udm_user.py import-3.11 # Uses deprecated stdlib library 'crypt' +plugins/modules/udm_user.py import-3.12 # Uses deprecated stdlib library 'crypt' +plugins/modules/xfconf.py validate-modules:return-syntax-error +tests/unit/plugins/modules/uthelper.py pylint:use-yield-from # suggested construct does not work with Python 2 +tests/unit/plugins/modules/test_gio_mime.yaml no-smart-quotes diff --git a/tests/sanity/ignore-2.21.txt.license b/tests/sanity/ignore-2.21.txt.license new file mode 100644 index 0000000000..edff8c7685 --- /dev/null +++ b/tests/sanity/ignore-2.21.txt.license @@ -0,0 +1,3 @@ +GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) +SPDX-License-Identifier: GPL-3.0-or-later +SPDX-FileCopyrightText: Ansible Project