Matt Clay
7677bf1c9b
ansible-test - Use urllib intead of curl ( #84551 )
...
Also added automatic retries on HTTP request exceptions, since all currently implemented methods (GET/PUT/DELETE) are idempotent.
11 months ago
Felix Fontein
ae55f874a0
Enforce FQCNs in seealso plugin/module entries. ( #84325 )
11 months ago
Felix Fontein
60e2135c2b
Bump acme test container to 2.3.0 ( #84547 )
11 months ago
Matt Clay
eb475e23f7
ansible-test - Update utility containers ( #84545 )
11 months ago
Matt Clay
3b77277428
ansible-test - Fix FreeBSD instance CA certs ( #84529 )
...
Some versions and architectures come with `ca_root_nss` pre-installed.
However, at least FreeBSD 13.4 on aarch64 does not.
This change ensures the certificates will always be installed.
11 months ago
Matt Clay
1b3face065
ansible-test - Replace FreeBSD 14.1 with 14.2 ( #84527 )
...
* ansible-test - Replace FreeBSD 14.1 with 14.2
* Remove cron faketime testing from FreeBSD
11 months ago
Matt Clay
f552fe2c15
ansible-test - Replace RHEL 9.4 with 9.5 ( #84526 )
11 months ago
Matt Clay
35c4b58c11
ansible-test - Replace Alpine 3.20 with 3.21 ( #84525 )
11 months ago
Matt Clay
648dcd3a6a
ansible-test - Replace Fedora 40 with 41 ( #84281 )
...
* ansible-test - Replace Fedora 40 with 41
Also update other distro containers to remove unnecessary packages:
* apache2
* subversion
* ruby
* Fix subversion test on Ubuntu
Also remove obsolete vars files from subversion test.
* Skip dnf test on Fedora 41+
The dnf5 test is all that is needed.
* Support dnf5 for the package test
* Extend unix-chkpwd work-around for Fedora
11 months ago
Matt Clay
eb6d581286
ansible-test - Update nios-test-container to 7.0.0 ( #84517 )
11 months ago
Jordan Borean
f9b58fa13f
ansible-test - fix coverage for test modules ( #84366 )
...
Fixes the coverage path translation for modules located in integration
test paths. Instead of trying to match by the unique temporary path name
that the module is executed as, the reporting tool will translate it to
the static path that the module is actually located under.
1 year ago
Matt Clay
95e3af3e0f
ansible-test - Improve container network detection ( #84323 )
...
When detection of the current container network fails, a warning is now issued and execution continues.
This simplifies usage in cases where the current container cannot be inspected, such as when running in GitHub Codespaces.
1 year ago
Jordan Borean
52ecd3664a
ansible-test - align 2025 connection defaults to CI matrix ( #84291 )
1 year ago
Matt Clay
9d249432c4
Increase scope of mypy sanity test ( #84288 )
...
* Increase scope of mypy sanity test
* Fix issues reported by mypy
1 year ago
Jordan Borean
7501bbec20
Add support for Windows Server 2025 ( #84285 )
...
Adds Windows Server 2025 to the testing matrix.
1 year ago
Matt Clay
a98801903d
ansible-test - Replace FreeBSD 13.3 with 13.4 ( #84236 )
...
* ansible-test - Replace FreeBSD 13.3 with 13.4
* ansible-test - Fix typos in bootstrap.sh
* Skip libfaketime on FreeBSD except FreeBSD 14
1 year ago
Sloane Hertel
771f7ad29c
update ansible-galaxy resolvelib requirement to >= 0.5.3, < 2.0.0 ( #84218 )
...
* Update resolvelib upperbound to 2.0.0
Minor SemVer releases should not contain breaking changes
* Test the latest minor release and reduce number of resolvelib versions tested for efficiency
1 year ago
Matt Clay
68bfa37838
ansible-test - Fix interactive cmd traceback ( #84264 )
1 year ago
Matt Clay
48be6f8b6f
ansible-test - Improve container probe error handling ( #84109 )
1 year ago
Matt Clay
56bab1d097
Enable bad-docstring-quotes pylint rule for core ( #84100 )
...
* Enable bad-docstring-quotes pylint rule for core
* Ignore previously bulk update in git blame
1 year ago
Matt Clay
62ce21b6e4
ansible-test - Work around pylint issue on 3.11 ( #84094 )
1 year ago
Matt Clay
83671ecb39
ansible-test - Enable pylint docstyle for tests ( #84092 )
...
This cleans up the implementation of the pylint sanity test and enables the docstyle extension rule `bad-docstring-quotes` for tests.
The rule will be enabled for the rest of ansible-core once automated cleanup has been performed on existing docstrings.
1 year ago
Matt Clay
0b661438a0
ansible-test - Update base/default containers ( #84089 )
1 year ago
Matt Clay
50604e8461
ansible-test - Update astroid for pylint sanity test ( #84054 )
1 year ago
Matt Clay
3cf308f672
ansible-test - Disable pylint deprecated-* rules ( #84050 )
1 year ago
Matt Clay
9406ed3109
ansible-test - Update sanity tests and default Python ( #83998 )
...
* ansible-test - Update sanity test requirements
* ansible-test - Default to Python 3.13 in base/default containers
* ansible-test - Fix incorrect AnyStr type hints
1 year ago
Matt Clay
9abc651cd6
ansible-test - Update nios-test-container to 6.0.0 ( #84042 )
1 year ago
Felix Fontein
f4e2e206b3
Add basic validation for action_groups ( #83965 )
...
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
1 year ago
Matt Clay
7693c892fa
ansible-test - Use Python version in pylint contexts ( #83984 )
1 year ago
Matt Clay
a84fa50096
ansible-test - Update base/default containers ( #83930 )
1 year ago
Matt Clay
cf2a4a85da
ansible-test - Update sanity test requirements ( #83921 )
1 year ago
Matt Clay
4346430003
ansible-test - Reduce scope of empty-init test ( #83878 )
1 year ago
Matt Clay
db04499f58
ansible-test - Update nios-test-container to 5.0.0
1 year ago
Felix Fontein
faf446a895
runtime-metadata sanity test: do not fail deprecation version checks if galaxy.yml has empty `version` ( #83831 )
...
* Do not create invalid SemanticVersion objects.
* Fix SemanticVersion.parse().
* Add basic runtime-metadata tests.
1 year ago
Matt Clay
81e025b414
ansible-test - Add Windows remote connection option
1 year ago
Matt Clay
6eb16faed2
ansible-test - Update base/default containers ( #83796 )
1 year ago
Matt Clay
da02611c48
ansible-test - Update sanity test requirements ( #83795 )
...
* Remove PyYAML pin for yamllint sanity test
* Freeze sanity test requirements
1 year ago
Matt Clay
ab624ad031
ansible-test - Remove generation of egg-info ( #83786 )
...
Also remove egg-info generation from hacking/env-setup scripts.
1 year ago
Matt Clay
68515abf97
Drop use of setup.py and setup.cfg ( #81443 )
1 year ago
Matt Clay
59ca05b709
ansible-test - Update default and distro containers ( #83736 )
1 year ago
Matt Clay
70be017f02
ansible-test - Update mypy and package-data tests ( #83734 )
...
* package-data - Test min/max setuptools version
* Fix multi-version abstraction
* Convert mypy test to script based test
* Fix f-string in pymarkdown test
* Sanity test fixes
1 year ago
Matt Clay
717f1092e3
ansible-test - Update venv management and sanity requirements ( #83729 )
...
* ansible-test - Update venv management
* Upgrade from pip 24.0 to 24.2
* Omit `wheel` and `setuptools` from ansible-test managed virtual environments
* Drop pre-release hacks
* Update mypy requirements
* Freeze sanity test requirements
* Update sanity test configuration
* Update sanity ignores
1 year ago
Matt Clay
ac5ed40a21
Fix type hints and misc mypy/pylint issues ( #83724 )
1 year ago
Matt Clay
6019f3f425
ansible-test - Update coverage to 7.6.1 ( #83723 )
1 year ago
Jordan Borean
bbf96c250f
winrm - quota retry handling ( #83656 )
...
* winrm - quota retry handling
Add a retry attempt when receiving ERROR_WSMAN_QUOTA_MAX_OPERATIONS when
starting a command. This can occur when running a loop with multiple
iterations or an action plugin that runs multiple commands.
* Update pywinrm constraint for test
* Add verbose hint and mark test as destructive
1 year ago
Felix Fontein
3d4bd79574
validate-modules: detect names set mismatch between argument spec and documentation ( #83599 )
1 year ago
Lee Garrett
7e3916b767
Typo fixes and other bits and bobs ( #83672 )
...
Co-authored-by: Lee Garrett <lgarrett@rocketjump.eu>
1 year ago
Matt Clay
79f819dc54
ansible-test - Remove VyOS tests and support files ( #83650 )
...
The VyOS remote image required for running the tests is no longer functional.
1 year ago
Matt Clay
906c969b55
ansible-test - Improve unknown env error message ( #83610 )
1 year ago
Matt Clay
9cdfcd9aed
ansible-test - Update nios-test-container to 4.0.0 ( #83539 )
1 year ago