diff --git a/.azure-pipelines/azure-pipelines.yml b/.azure-pipelines/azure-pipelines.yml index a21a1ef8..3fc5535c 100644 --- a/.azure-pipelines/azure-pipelines.yml +++ b/.azure-pipelines/azure-pipelines.yml @@ -62,6 +62,17 @@ stages: test: 'devel/sanity/1' - name: Units test: 'devel/units/1' + - stage: Ansible_2_21 + displayName: Sanity & Units 2.21 + dependsOn: [] + jobs: + - template: templates/matrix.yml + parameters: + targets: + - name: Sanity + test: '2.21/sanity/1' + - name: Units + test: '2.21/units/1' - stage: Ansible_2_20 displayName: Sanity & Units 2.20 dependsOn: [] @@ -116,6 +127,25 @@ stages: groups: - 4 - 5 + - stage: Docker_2_21 + displayName: Docker 2.21 + dependsOn: [] + jobs: + - template: templates/matrix.yml + parameters: + testFormat: 2.21/linux/{0} + targets: + - name: Fedora 43 + test: fedora43 + # - name: Ubuntu 22.04 + # test: ubuntu2204 + - name: Ubuntu 24.04 + test: ubuntu2404 + # - name: Alpine 3.23 + # test: alpine323 + groups: + - 4 + - 5 - stage: Docker_2_20 displayName: Docker 2.20 dependsOn: [] @@ -207,6 +237,24 @@ stages: - 3 - 4 - 5 + - stage: Remote_2_21 + displayName: Remote 2.21 + dependsOn: [] + jobs: + - template: templates/matrix.yml + parameters: + testFormat: 2.21/{0} + targets: + - name: RHEL 10.1 + test: rhel/10.1 + # - name: RHEL 9.7 + # test: rhel/9.7 + groups: + - 1 + - 2 + - 3 + - 4 + - 5 - stage: Remote_2_20 displayName: Remote 2.20 dependsOn: [] @@ -262,14 +310,17 @@ stages: condition: succeededOrFailed() dependsOn: - Ansible_devel + - Ansible_2_21 - Ansible_2_20 - Ansible_2_19 - Ansible_2_18 - Remote_devel + - Remote_2_21 - Remote_2_20 - Remote_2_19 - Remote_2_18 - Docker_devel + - Docker_2_21 - Docker_2_20 - Docker_2_19 - Docker_2_18 diff --git a/README.md b/README.md index a4d35f24..12bb0a97 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,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, and ansible-core 2.19 releases, and the current development version of ansible-core. Ansible/ansible-base versions before 2.17.0 are not supported. +Tested with the current ansible-core 2.17, ansible-core 2.18, ansible-core 2.19, ansible-core 2.20, ansible-core 2.21 releases, and the current development version of ansible-core. Ansible/ansible-base versions before 2.17.0 are not supported. ## External requirements diff --git a/antsibull-nox.toml b/antsibull-nox.toml index f8bfdad6..71013955 100644 --- a/antsibull-nox.toml +++ b/antsibull-nox.toml @@ -172,6 +172,22 @@ ansible_core = "2.20" target = [ "azp/1/", "azp/2/", "azp/3/", "azp/4/", "azp/5/" ] remote = [ "rhel/9.7" ] +# Ansible-core 2.21: + +[[sessions.ansible_test_integration.groups]] +session_name = "ansible-test-integration-2.21" +description = "Meta session for running all ansible-test-integration-2.21-* sessions." + +[[sessions.ansible_test_integration.groups.sessions]] +ansible_core = "2.21" +target = [ "azp/4/", "azp/5/" ] +docker = [ "fedora43", "ubuntu2404" ] + +[[sessions.ansible_test_integration.groups.sessions]] +ansible_core = "2.21" +target = [ "azp/1/", "azp/2/", "azp/3/", "azp/4/", "azp/5/" ] +remote = [ "rhel/10.1" ] + # Ansible-core devel: [[sessions.ansible_test_integration.groups]] diff --git a/tests/sanity/ignore-2.22.txt b/tests/sanity/ignore-2.22.txt new file mode 100644 index 00000000..21f0cf41 --- /dev/null +++ b/tests/sanity/ignore-2.22.txt @@ -0,0 +1,19 @@ +plugins/connection/docker.py no-assert +plugins/connection/docker_api.py no-assert +plugins/connection/nsenter.py no-assert +plugins/module_utils/_api/credentials/store.py pylint:ansible-bad-function +plugins/module_utils/_api/transport/sshconn.py no-assert +plugins/module_utils/_api/transport/sshconn.py pylint:ansible-bad-function +plugins/module_utils/_api/utils/build.py no-assert +plugins/module_utils/_module_container/module.py no-assert +plugins/module_utils/_platform.py no-assert +plugins/module_utils/_socket_handler.py no-assert +plugins/modules/docker_container_copy_into.py no-assert +plugins/modules/docker_container_copy_into.py validate-modules:undocumented-parameter # _max_file_size_for_diff is used by the action plugin +plugins/modules/docker_container_exec.py no-assert +plugins/modules/docker_image.py no-assert +plugins/modules/docker_image_tag.py no-assert +plugins/modules/docker_login.py no-assert +plugins/modules/docker_plugin.py no-assert +plugins/modules/docker_swarm_service.py no-assert +plugins/modules/docker_volume.py no-assert diff --git a/tests/sanity/ignore-2.22.txt.license b/tests/sanity/ignore-2.22.txt.license new file mode 100644 index 00000000..edff8c76 --- /dev/null +++ b/tests/sanity/ignore-2.22.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