Skip to content

Commit db8dff3

Browse files
committed
Use https://github.com/felixfontein/ansible/commits/show-deprecations/ to not suppress deprecations in ansible-test devel.
1 parent 7395011 commit db8dff3

File tree

1 file changed

+4
-79
lines changed

1 file changed

+4
-79
lines changed

antsibull-nox.toml

Lines changed: 4 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -7,91 +7,16 @@
77
"community.netcommon" = "git+https://github.com/ansible-collections/ansible.netcommon.git,main"
88
"community.utils" = "git+https://github.com/ansible-collections/ansible.utils.git,main"
99

10-
[sessions]
11-
12-
[sessions.lint]
13-
run_isort = false
14-
run_black = false
15-
run_flake8 = false
16-
run_pylint = false
17-
run_yamllint = true
18-
yamllint_config = ".yamllint"
19-
yamllint_config_plugins = ".yamllint-docs"
20-
yamllint_config_plugins_examples = ".yamllint-examples"
21-
yamllint_config_extra_docs = ".yamllint-extra-docs"
22-
run_mypy = false
23-
24-
[sessions.docs_check]
25-
validate_collection_refs="all"
26-
codeblocks_restrict_types = [
27-
"ansible-output",
28-
"ini",
29-
"yaml",
30-
"yaml+jinja",
31-
]
32-
codeblocks_restrict_type_exact_case = true
33-
codeblocks_allow_without_type = false
34-
codeblocks_allow_literal_blocks = false
35-
36-
[sessions.license_check]
37-
38-
[sessions.extra_checks]
39-
run_no_unwanted_files = true
40-
no_unwanted_files_module_extensions = [".py"]
41-
no_unwanted_files_yaml_extensions = [".yml"]
42-
run_action_groups = true
43-
run_no_trailing_whitespace = true
44-
no_trailing_whitespace_skip_directories = [
45-
"tests/unit/plugins/modules/fixtures/",
46-
]
47-
run_avoid_characters = true
48-
49-
[[sessions.extra_checks.action_groups_config]]
50-
name = "api"
51-
pattern = "^api.*$"
52-
exclusions = []
53-
doc_fragment = "community.routeros.attributes.actiongroup_api"
54-
55-
[[sessions.extra_checks.avoid_character_group]]
56-
name = "tab"
57-
regex = "\\x09"
58-
59-
[sessions.build_import_check]
60-
run_galaxy_importer = true
61-
62-
[sessions.ansible_test_sanity]
63-
include_devel = true
64-
65-
[sessions.ansible_test_units]
66-
include_devel = true
67-
6810
[sessions.ansible_test_integration_w_default_container]
6911
include_devel = true
7012
controller_python_versions_only = true
13+
add_devel_like_branches = [
14+
["felixfontein/ansible", "show-deprecations"],
15+
]
7116

7217
[sessions.ansible_test_integration_w_default_container.core_python_versions]
73-
"2.15" = ["2.7", "3.6", "3.7"]
18+
"2.15" = ["3.7"]
7419
"2.16" = ["3.10"]
7520
"2.17" = ["3.8"]
7621
"2.18" = ["3.9"]
7722
"2.19" = ["3.11"]
78-
79-
[[sessions.ee_check.execution_environments]]
80-
name = "devel-ubi-9"
81-
description = "ansible-core devel @ RHEL UBI 9"
82-
test_playbooks = ["tests/ee/all.yml"]
83-
config.images.base_image.name = "docker.io/redhat/ubi9:latest"
84-
config.dependencies.ansible_core.package_pip = "https://github.com/ansible/ansible/archive/devel.tar.gz"
85-
config.dependencies.ansible_runner.package_pip = "ansible-runner"
86-
config.dependencies.python_interpreter.package_system = "python3.12 python3.12-pip python3.12-wheel python3.12-cryptography"
87-
config.dependencies.python_interpreter.python_path = "/usr/bin/python3.12"
88-
runtime_environment = {"ANSIBLE_PRIVATE_ROLE_VARS" = "true"}
89-
90-
[[sessions.ee_check.execution_environments]]
91-
name = "2.15-rocky-9"
92-
description = "ansible-core 2.15 @ Rocky Linux 9"
93-
test_playbooks = ["tests/ee/all.yml"]
94-
config.images.base_image.name = "quay.io/rockylinux/rockylinux:9"
95-
config.dependencies.ansible_core.package_pip = "https://github.com/ansible/ansible/archive/stable-2.15.tar.gz"
96-
config.dependencies.ansible_runner.package_pip = "ansible-runner"
97-
runtime_environment = {"ANSIBLE_PRIVATE_ROLE_VARS" = "true"}

0 commit comments

Comments
 (0)