mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-17 04:18:42 +00:00
Drop support for ansible-core 2.15 and 2.16.
This commit is contained in:
parent
454a638774
commit
cf931ddcf3
@ -38,7 +38,7 @@ For more information about communication, see the [Ansible communication guide](
|
||||
|
||||
## Tested with Ansible
|
||||
|
||||
Tested with the current ansible-core 2.15, ansible-core 2.16, 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.15.0 are not supported.
|
||||
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.
|
||||
|
||||
## External requirements
|
||||
|
||||
|
||||
@ -8,16 +8,6 @@
|
||||
"community.internal_test_tools" = "git+https://github.com/ansible-collections/community.internal_test_tools.git,main"
|
||||
"community.library_inventory_filtering_v1" = "git+https://github.com/ansible-collections/community.library_inventory_filtering.git,stable-1"
|
||||
|
||||
[collection_sources_per_ansible.'2.15']
|
||||
# community.crypto's main branch needs ansible-core >= 2.17
|
||||
"community.crypto" = "git+https://github.com/ansible-collections/community.crypto.git,stable-2"
|
||||
# community.general's main branch needs ansible-core >= 2.16
|
||||
"community.general" = "git+https://github.com/ansible-collections/community.general.git,stable-10"
|
||||
|
||||
[collection_sources_per_ansible.'2.16']
|
||||
# community.crypto's main branch needs ansible-core >= 2.17
|
||||
"community.crypto" = "git+https://github.com/ansible-collections/community.crypto.git,stable-2"
|
||||
|
||||
[vcs]
|
||||
vcs = "git"
|
||||
development_branch = "main"
|
||||
@ -94,45 +84,6 @@ force_docker_sdk_for_python_pypi = { type = "value", value = false, template_val
|
||||
|
||||
##################################################################################################
|
||||
|
||||
# Ansible-core 2.15:
|
||||
|
||||
[[sessions.ansible_test_integration.groups]]
|
||||
session_name = "ansible-test-integration-2.15"
|
||||
description = "Meta session for running all ansible-test-integration-2.15-* sessions."
|
||||
|
||||
[[sessions.ansible_test_integration.groups.sessions]]
|
||||
ansible_core = "2.15"
|
||||
target = [ "azp/4/", "azp/5/" ]
|
||||
docker = [ "fedora37" ]
|
||||
|
||||
[[sessions.ansible_test_integration.groups.sessions]]
|
||||
ansible_core = "2.15"
|
||||
target = [ "azp/1/", "azp/2/", "azp/3/", "azp/4/", "azp/5/" ]
|
||||
remote = [ "rhel/9.1", "rhel/8.7", "rhel/7.9" ]
|
||||
|
||||
# Ansible-core 2.16:
|
||||
|
||||
[[sessions.ansible_test_integration.groups]]
|
||||
session_name = "ansible-test-integration-2.16"
|
||||
description = "Meta session for running all ansible-test-integration-2.16-* sessions."
|
||||
|
||||
[[sessions.ansible_test_integration.groups.sessions]]
|
||||
ansible_core = "2.16"
|
||||
target = [ "azp/4/", "azp/5/" ]
|
||||
docker = [ "fedora38", "opensuse15", "alpine3" ]
|
||||
|
||||
[[sessions.ansible_test_integration.groups.sessions]]
|
||||
ansible_core = "2.16"
|
||||
target = [ "azp/4/", "azp/5/" ]
|
||||
docker = [ "centos7" ]
|
||||
# "centos7" does not work in GHA:
|
||||
tags = [ "no-gha" ]
|
||||
|
||||
[[sessions.ansible_test_integration.groups.sessions]]
|
||||
ansible_core = "2.16"
|
||||
target = [ "azp/1/", "azp/2/", "azp/3/", "azp/4/", "azp/5/" ]
|
||||
remote = [ "rhel/8.8", "rhel/7.9" ]
|
||||
|
||||
# Ansible-core 2.17:
|
||||
|
||||
[[sessions.ansible_test_integration.groups]]
|
||||
@ -254,12 +205,14 @@ runtime_container_options = [
|
||||
]
|
||||
|
||||
[[sessions.ee_check.execution_environments]]
|
||||
name = "2.15-rocky-9"
|
||||
description = "ansible-core 2.15 @ Rocky Linux 9"
|
||||
name = "2.17-rocky-9"
|
||||
description = "ansible-core 2.17 @ Rocky Linux 9"
|
||||
test_playbooks = ["tests/ee/all.yml"]
|
||||
config.images.base_image.name = "quay.io/rockylinux/rockylinux:9"
|
||||
config.dependencies.ansible_core.package_pip = "https://github.com/ansible/ansible/archive/stable-2.15.tar.gz"
|
||||
config.dependencies.ansible_core.package_pip = "https://github.com/ansible/ansible/archive/stable-2.17.tar.gz"
|
||||
config.dependencies.ansible_runner.package_pip = "ansible-runner"
|
||||
config.dependencies.python_interpreter.package_system = "python3.11 python3.11-pip python3.11-wheel python3.11-cryptography"
|
||||
config.dependencies.python_interpreter.python_path = "/usr/bin/python3.11"
|
||||
runtime_environment = {"ANSIBLE_PRIVATE_ROLE_VARS" = "true"}
|
||||
runtime_container_options = [
|
||||
# Mount Docker socket into the container so we can talk to Docker outside the container
|
||||
|
||||
3
changelogs/fragments/5.0.0.yml
Normal file
3
changelogs/fragments/5.0.0.yml
Normal file
@ -0,0 +1,3 @@
|
||||
removed_features:
|
||||
- The collection no longer supports ansible-core 2.15 and 2.16.
|
||||
You need ansible-core 2.17.0 or newer to use community.docker 5.x.y (https://github.com/ansible-collections/community.docker/pull/1123).
|
||||
@ -3,7 +3,7 @@
|
||||
# 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
|
||||
|
||||
requires_ansible: '>=2.15.0'
|
||||
requires_ansible: '>=2.17.0'
|
||||
action_groups:
|
||||
docker:
|
||||
- docker_compose_v2
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
.azure-pipelines/scripts/publish-codecov.py replace-urlopen
|
||||
plugins/inventory/docker_containers.py yamllint:unparsable-with-libyaml
|
||||
plugins/inventory/docker_machine.py yamllint:unparsable-with-libyaml
|
||||
plugins/inventory/docker_swarm.py yamllint:unparsable-with-libyaml
|
||||
plugins/modules/docker_container_copy_into.py validate-modules:invalid-documentation
|
||||
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_image_build.py validate-modules:invalid-documentation
|
||||
plugins/module_utils/_six.py no-dict-iteritems
|
||||
plugins/module_utils/_six.py pylint:ansible-bad-import-from
|
||||
plugins/module_utils/_six.py pylint:deprecated-class
|
||||
@ -1,3 +0,0 @@
|
||||
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
|
||||
@ -1,9 +0,0 @@
|
||||
plugins/inventory/docker_containers.py yamllint:unparsable-with-libyaml
|
||||
plugins/inventory/docker_machine.py yamllint:unparsable-with-libyaml
|
||||
plugins/inventory/docker_swarm.py yamllint:unparsable-with-libyaml
|
||||
plugins/modules/docker_container_copy_into.py validate-modules:invalid-documentation
|
||||
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_image_build.py validate-modules:invalid-documentation
|
||||
plugins/module_utils/_six.py no-dict-iteritems
|
||||
plugins/module_utils/_six.py pylint:ansible-bad-import-from
|
||||
plugins/module_utils/_six.py pylint:deprecated-class
|
||||
@ -1,3 +0,0 @@
|
||||
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
|
||||
Loading…
Reference in New Issue
Block a user