mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-08 19:49:09 +00:00
[stable-11] CI: Add integration test sessions to antsibull-nox (#12309)
Add CI integration test sessions to antsibull-nox.
This commit is contained in:
parent
e537ff6def
commit
5afc184e40
1 changed files with 170 additions and 2 deletions
|
|
@ -93,7 +93,175 @@ doc_fragment = "community.general.scaleway.actiongroup_scaleway"
|
||||||
run_galaxy_importer = true
|
run_galaxy_importer = true
|
||||||
|
|
||||||
[sessions.ansible_test_sanity]
|
[sessions.ansible_test_sanity]
|
||||||
include_devel = true
|
include_devel = false
|
||||||
|
max_version = "2.21"
|
||||||
|
|
||||||
[sessions.ansible_test_units]
|
[sessions.ansible_test_units]
|
||||||
include_devel = true
|
include_devel = false
|
||||||
|
max_version = "2.21"
|
||||||
|
split_by_python_version = true
|
||||||
|
|
||||||
|
[sessions.ansible_test_units.core_python_versions]
|
||||||
|
"2.16" = ["2.7", "3.6", "3.11"]
|
||||||
|
"2.17" = ["3.7", "3.10", "3.12"]
|
||||||
|
"2.18" = ["3.8", "3.11", "3.13"]
|
||||||
|
"2.19" = ["3.8", "3.11", "3.13"]
|
||||||
|
"2.20" = ["3.9", "3.12", "3.14"]
|
||||||
|
|
||||||
|
[sessions.ansible_test_integration]
|
||||||
|
session_name_template = "ansible-test-integration-{ansible_core}{dash_docker_short}{dash_remote}{dash_python_version}{dash_target_dashized}"
|
||||||
|
display_name_template = "Ⓐ{ansible_core}{plus_docker_nice}{plus_remote_nice}{plus_py_python_version}{plus_target_nice}"
|
||||||
|
description_template = "Run integration tests with ansible-core {ansible_core}{comma_docker_nice}{comma_remote_nice}{comma_py_python_version}{comma_target_nice}"
|
||||||
|
retry_on_error = "in-ci"
|
||||||
|
|
||||||
|
[sessions.ansible_test_integration.nice_target_names]
|
||||||
|
"azp/posix/1/" = "group 1"
|
||||||
|
"azp/posix/2/" = "group 2"
|
||||||
|
"azp/posix/3/" = "group 3"
|
||||||
|
"azp/posix/vm/" = "extra VMs"
|
||||||
|
|
||||||
|
[sessions.ansible_test_integration.nice_docker_names]
|
||||||
|
"quay.io/ansible-community/test-image:debian-bullseye" = "Debian 11"
|
||||||
|
"quay.io/ansible-community/test-image:debian-bookworm" = "Debian 12"
|
||||||
|
"quay.io/ansible-community/test-image:debian-13-trixie" = "Debian 13"
|
||||||
|
"quay.io/ansible-community/test-image:archlinux" = "Arch Linux"
|
||||||
|
"quay.io/ansible-community/test-image:opensuse-tumbleweed" = "OpenSuSE Tumbleweed"
|
||||||
|
|
||||||
|
##################################################################################################
|
||||||
|
|
||||||
|
# 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/posix/1/", "azp/posix/2/", "azp/posix/3/" ]
|
||||||
|
# CentOS 7 does not work in GHA, that's why it's not listed here.
|
||||||
|
docker = [ "fedora38", "opensuse15", "alpine3" ]
|
||||||
|
|
||||||
|
# Ansible-core 2.17:
|
||||||
|
|
||||||
|
[[sessions.ansible_test_integration.groups]]
|
||||||
|
session_name = "ansible-test-integration-2.17"
|
||||||
|
description = "Meta session for running all ansible-test-integration-2.17-* sessions."
|
||||||
|
|
||||||
|
[[sessions.ansible_test_integration.groups.sessions]]
|
||||||
|
ansible_core = "2.17"
|
||||||
|
target = [ "azp/posix/1/", "azp/posix/2/", "azp/posix/3/" ]
|
||||||
|
docker = [ "fedora39", "ubuntu2004", "alpine319" ]
|
||||||
|
|
||||||
|
# Ansible-core 2.18:
|
||||||
|
|
||||||
|
[[sessions.ansible_test_integration.groups]]
|
||||||
|
session_name = "ansible-test-integration-2.18"
|
||||||
|
description = "Meta session for running all ansible-test-integration-2.18-* sessions."
|
||||||
|
|
||||||
|
[[sessions.ansible_test_integration.groups.sessions]]
|
||||||
|
ansible_core = "2.18"
|
||||||
|
target = [ "azp/posix/1/", "azp/posix/2/", "azp/posix/3/" ]
|
||||||
|
docker = [ "fedora40", "ubuntu2404", "alpine320" ]
|
||||||
|
|
||||||
|
[[sessions.ansible_test_integration.groups.sessions]]
|
||||||
|
ansible_core = "2.18"
|
||||||
|
target = [ "azp/posix/1/", "azp/posix/2/", "azp/posix/3/" ]
|
||||||
|
remote = [
|
||||||
|
# "macos/14.3",
|
||||||
|
# "freebsd/14.1"
|
||||||
|
]
|
||||||
|
|
||||||
|
# Ansible-core 2.19:
|
||||||
|
|
||||||
|
[[sessions.ansible_test_integration.groups]]
|
||||||
|
session_name = "ansible-test-integration-2.19"
|
||||||
|
description = "Meta session for running all ansible-test-integration-2.19-* sessions."
|
||||||
|
|
||||||
|
[[sessions.ansible_test_integration.groups.sessions]]
|
||||||
|
ansible_core = "2.19"
|
||||||
|
target = [ "azp/posix/1/", "azp/posix/2/", "azp/posix/3/" ]
|
||||||
|
docker = [ "fedora41", "alpine321" ]
|
||||||
|
|
||||||
|
[[sessions.ansible_test_integration.groups.sessions]]
|
||||||
|
ansible_core = "2.19"
|
||||||
|
target = [ "azp/posix/1/", "azp/posix/2/", "azp/posix/3/" ]
|
||||||
|
remote = [
|
||||||
|
"rhel/10.1",
|
||||||
|
# "freebsd/14.2",
|
||||||
|
]
|
||||||
|
|
||||||
|
# Ansible-core 2.20:
|
||||||
|
|
||||||
|
[[sessions.ansible_test_integration.groups]]
|
||||||
|
session_name = "ansible-test-integration-2.20"
|
||||||
|
description = "Meta session for running all ansible-test-integration-2.20-* sessions."
|
||||||
|
|
||||||
|
[[sessions.ansible_test_integration.groups.sessions]]
|
||||||
|
ansible_core = "2.20"
|
||||||
|
target = [ "azp/posix/1/", "azp/posix/2/", "azp/posix/3/" ]
|
||||||
|
docker = [ "fedora42", "alpine322" ]
|
||||||
|
|
||||||
|
[[sessions.ansible_test_integration.groups.sessions]]
|
||||||
|
ansible_core = "2.20"
|
||||||
|
target = [ "azp/posix/1/", "azp/posix/2/", "azp/posix/3/" ]
|
||||||
|
remote = [ "macos/15.3", "rhel/10.1", "freebsd/14.3" ]
|
||||||
|
|
||||||
|
# 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/posix/1/", "azp/posix/2/", "azp/posix/3/" ]
|
||||||
|
docker = [ "fedora43", "alpine323", "ubuntu2204", "ubuntu2404" ]
|
||||||
|
|
||||||
|
[[sessions.ansible_test_integration.groups.sessions]]
|
||||||
|
ansible_core = "2.21"
|
||||||
|
target = [ "azp/posix/1/", "azp/posix/2/", "azp/posix/3/" ]
|
||||||
|
python_version = "3.9"
|
||||||
|
docker = "quay.io/ansible-community/test-image:debian-bullseye"
|
||||||
|
|
||||||
|
[[sessions.ansible_test_integration.groups.sessions]]
|
||||||
|
ansible_core = "2.21"
|
||||||
|
target = [ "azp/posix/1/", "azp/posix/2/", "azp/posix/3/" ]
|
||||||
|
python_version = "3.11"
|
||||||
|
docker = "quay.io/ansible-community/test-image:debian-bookworm"
|
||||||
|
|
||||||
|
[[sessions.ansible_test_integration.groups.sessions]]
|
||||||
|
ansible_core = "2.21"
|
||||||
|
target = [ "azp/posix/1/", "azp/posix/2/", "azp/posix/3/" ]
|
||||||
|
python_version = "3.13"
|
||||||
|
docker = "quay.io/ansible-community/test-image:debian-13-trixie"
|
||||||
|
|
||||||
|
[[sessions.ansible_test_integration.groups.sessions]]
|
||||||
|
ansible_core = "2.21"
|
||||||
|
target = [ "azp/posix/1/", "azp/posix/2/", "azp/posix/3/" ]
|
||||||
|
python_version = "3.14"
|
||||||
|
docker = "quay.io/ansible-community/test-image:archlinux"
|
||||||
|
|
||||||
|
[[sessions.ansible_test_integration.groups.sessions]]
|
||||||
|
ansible_core = "2.21"
|
||||||
|
target = [ "azp/posix/vm/" ]
|
||||||
|
remote = [
|
||||||
|
"alpine/3.23",
|
||||||
|
# "fedora/43",
|
||||||
|
"ubuntu/26.04",
|
||||||
|
"ubuntu/24.04",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[sessions.ansible_test_integration.groups.sessions]]
|
||||||
|
ansible_core = "2.21"
|
||||||
|
target = [ "azp/posix/1/", "azp/posix/2/", "azp/posix/3/" ]
|
||||||
|
remote = [
|
||||||
|
"macos/26.3",
|
||||||
|
"rhel/10.1",
|
||||||
|
"rhel/9.7",
|
||||||
|
# TODO: enable this ASAP!
|
||||||
|
# "freebsd/15.0",
|
||||||
|
# TODO: enable this ASAP!
|
||||||
|
# "freebsd/14.4",
|
||||||
|
]
|
||||||
|
|
||||||
|
##################################################################################################
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue