| 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 |
"ansible.netcommon" = "git+https://github.com/ansible-collections/ansible.netcommon.git,main" |
| 7 |
"ansible.utils" = "git+https://github.com/ansible-collections/ansible.utils.git,main" |
| 8 |
"community.internal_test_tools" = "git+https://github.com/ansible-collections/community.internal_test_tools.git,main" |
| 9 |
|
| 10 |
[vcs] |
| 11 |
vcs = "git" |
| 12 |
development_branch = "main" |
| 13 |
stable_branches = [ "stable-*" ] |
| 14 |
|
| 15 |
[sessions] |
| 16 |
|
| 17 |
[sessions.lint] |
| 18 |
run_isort = false |
| 19 |
run_black = false |
| 20 |
run_flake8 = false |
| 21 |
run_pylint = false |
| 22 |
run_yamllint = true |
| 23 |
yamllint_config = ".yamllint" |
| 24 |
yamllint_config_plugins = ".yamllint-docs" |
| 25 |
yamllint_config_plugins_examples = ".yamllint-examples" |
| 26 |
yamllint_config_extra_docs = ".yamllint-extra-docs" |
| 27 |
run_mypy = false |
| 28 |
|
| 29 |
[sessions.docs_check] |
| 30 |
validate_collection_refs="all" |
| 31 |
codeblocks_restrict_types = [ |
| 32 |
"ansible-output", |
| 33 |
"ini", |
| 34 |
"yaml", |
| 35 |
"yaml+jinja", |
| 36 |
] |
| 37 |
codeblocks_restrict_type_exact_case = true |
| 38 |
codeblocks_allow_without_type = false |
| 39 |
codeblocks_allow_literal_blocks = false |
| 40 |
|
| 41 |
[sessions.license_check] |
| 42 |
|
| 43 |
[sessions.extra_checks] |
| 44 |
run_no_unwanted_files = true |
| 45 |
no_unwanted_files_module_extensions = [".py"] |
| 46 |
no_unwanted_files_yaml_extensions = [".yml"] |
| 47 |
run_action_groups = true |
| 48 |
run_no_trailing_whitespace = true |
| 49 |
no_trailing_whitespace_skip_directories = [ |
| 50 |
"tests/unit/plugins/modules/fixtures/", |
| 51 |
] |
| 52 |
run_avoid_characters = true |
| 53 |
|
| 54 |
[[sessions.extra_checks.action_groups_config]] |
| 55 |
name = "api" |
| 56 |
pattern = "^api.*$" |
| 57 |
exclusions = [] |
| 58 |
doc_fragment = "community.routeros.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_test_sanity] |
| 68 |
include_devel = true |
| 69 |
|
| 70 |
[sessions.ansible_test_units] |
| 71 |
include_devel = true |
| 72 |
|
| 73 |
[sessions.ansible_test_integration_w_default_container] |
| 74 |
include_devel = true |
| 75 |
controller_python_versions_only = true |
| 76 |
|
| 77 |
[sessions.ansible_test_integration_w_default_container.core_python_versions] |
| 78 |
"2.15" = ["2.7", "3.6", "3.7"] |
| 79 |
"2.16" = ["3.10"] |
| 80 |
"2.17" = ["3.8"] |
| 81 |
"2.18" = ["3.9"] |
| 82 |
"2.19" = ["3.11"] |
| 83 |
"2.20" = ["3.12"] |
| 84 |
"2.21" = ["3.13"] |
| 85 |
|
| 86 |
[[sessions.ee_check.execution_environments]] |
| 87 |
name = "devel-ubi-9" |
| 88 |
description = "ansible-core devel @ RHEL UBI 9" |
| 89 |
test_playbooks = ["tests/ee/all.yml"] |
| 90 |
config.images.base_image.name = "docker.io/redhat/ubi9:latest" |
| 91 |
config.dependencies.ansible_core.package_pip = "https://github.com/ansible/ansible/archive/devel.tar.gz" |
| 92 |
config.dependencies.ansible_runner.package_pip = "ansible-runner" |
| 93 |
config.dependencies.python_interpreter.package_system = "python3.12 python3.12-pip python3.12-wheel python3.12-cryptography" |
| 94 |
config.dependencies.python_interpreter.python_path = "/usr/bin/python3.12" |
| 95 |
runtime_environment = {"ANSIBLE_PRIVATE_ROLE_VARS" = "true"} |
| 96 |
|
| 97 |
[[sessions.ee_check.execution_environments]] |
| 98 |
name = "2.15-rocky-9" |
| 99 |
description = "ansible-core 2.15 @ Rocky Linux 9" |
| 100 |
test_playbooks = ["tests/ee/all.yml"] |
| 101 |
config.images.base_image.name = "quay.io/rockylinux/rockylinux:9" |
| 102 |
config.dependencies.ansible_core.package_pip = "https://github.com/ansible/ansible/archive/stable-2.15.tar.gz" |
| 103 |
config.dependencies.ansible_runner.package_pip = "ansible-runner" |
| 104 |
runtime_environment = {"ANSIBLE_PRIVATE_ROLE_VARS" = "true"} |