Debian Codegraph @

ansible_collections/community/hrobot/antsibull-nox.toml

raw
1 # Copyright (c) Ansible Project
2 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
3 # SPDX-License-Identifier: GPL-3.0-or-later
4
5 [collection_sources]
6 "community.internal_test_tools" = "git+https://github.com/ansible-collections/community.internal_test_tools.git,main"
7 "community.library_inventory_filtering_v1" = "git+https://github.com/ansible-collections/community.library_inventory_filtering.git,stable-1"
8
9 [vcs]
10 vcs = "git"
11 development_branch = "main"
12 stable_branches = [ "stable-*" ]
13
14 [sessions]
15
16 [sessions.lint]
17 run_isort = false
18 run_black = false
19 run_flake8 = false
20 run_pylint = false
21 run_yamllint = true
22 yamllint_config = ".yamllint"
23 yamllint_config_plugins = ".yamllint-docs"
24 yamllint_config_plugins_examples = ".yamllint-examples"
25 run_mypy = false
26
27 [sessions.docs_check]
28 validate_collection_refs="all"
29 codeblocks_restrict_types = [
30 "ansible-output",
31 "yaml",
32 "yaml+jinja",
33 ]
34 codeblocks_restrict_type_exact_case = true
35 codeblocks_allow_without_type = false
36 codeblocks_allow_literal_blocks = false
37
38 [sessions.license_check]
39
40 [sessions.extra_checks]
41 run_no_unwanted_files = true
42 no_unwanted_files_module_extensions = [".py"]
43 no_unwanted_files_yaml_extensions = [".yml"]
44 run_action_groups = true
45 run_no_trailing_whitespace = true
46 run_avoid_characters = true
47
48 [[sessions.extra_checks.action_groups_config]]
49 name = "robot"
50 pattern = "^.*$"
51 exclusions = []
52 doc_fragment = "community.hrobot.attributes.actiongroup_robot"
53
54 [[sessions.extra_checks.action_groups_config]]
55 name = "api"
56 pattern = "^storagebox.*$"
57 exclusions = []
58 doc_fragment = "community.hrobot.attributes.actiongroup_api"
59
60 [[sessions.extra_checks.avoid_character_group]]
61 name = "tab"
62 regex = "\\x09"
63
64 [sessions.build_import_check]
65 run_galaxy_importer = true
66
67 [sessions.ansible_lint]
68
69 [sessions.ansible_test_sanity]
70 include_devel = true
71
72 [sessions.ansible_test_units]
73 include_devel = true
74
75 [[sessions.ee_check.execution_environments]]
76 name = "devel-ubi-9"
77 description = "ansible-core devel @ RHEL UBI 9"
78 test_playbooks = ["tests/ee/all.yml"]
79 config.images.base_image.name = "docker.io/redhat/ubi9:latest"
80 config.dependencies.ansible_core.package_pip = "https://github.com/ansible/ansible/archive/devel.tar.gz"
81 config.dependencies.ansible_runner.package_pip = "ansible-runner"
82 config.dependencies.python_interpreter.package_system = "python3.12 python3.12-pip python3.12-wheel python3.12-cryptography"
83 config.dependencies.python_interpreter.python_path = "/usr/bin/python3.12"
84 runtime_environment = {"ANSIBLE_PRIVATE_ROLE_VARS" = "true"}
85
86 [[sessions.ee_check.execution_environments]]
87 name = "2.15-rocky-9"
88 description = "ansible-core 2.15 @ Rocky Linux 9"
89 test_playbooks = ["tests/ee/all.yml"]
90 config.images.base_image.name = "quay.io/rockylinux/rockylinux:9"
91 config.dependencies.ansible_core.package_pip = "https://github.com/ansible/ansible/archive/stable-2.15.tar.gz"
92 config.dependencies.ansible_runner.package_pip = "ansible-runner"
93 runtime_environment = {"ANSIBLE_PRIVATE_ROLE_VARS" = "true"}
94
95 [[sessions.ee_check.execution_environments]]
96 name = "2.14-centos-stream-9"
97 description = "ansible-core 2.14 @ CentOS Stream 9"
98 test_playbooks = ["tests/ee/all.yml"]
99 config.images.base_image.name = "quay.io/centos/centos:stream9"
100 config.dependencies.ansible_core.package_pip = "https://github.com/ansible/ansible/archive/stable-2.14.tar.gz"
101 config.dependencies.ansible_runner.package_pip = "ansible-runner"
102 runtime_environment = {"ANSIBLE_PRIVATE_ROLE_VARS" = "true"}