Commit Graph

531 Commits (8a07f8963d4e6066d3249e22ab4ac6d5836d5a39)

Author SHA1 Message Date
Toshio Kuratomi d816a5966e Force an upgrade to a newer version of antsibull
6 years ago
Matt Martz c59472715a
Add support for non-yaml EXAMPLES (#71184)
6 years ago
Matt Martz 7c60dadb9a
Updates to Integration tests to pass against Alpine (#70946)
6 years ago
Felix Fontein fbfc0f99eb
Make changelog tool be more strict about suffixes (#70909)
6 years ago
Abhijeet Kasurde 504ef607f3
Misc typo fixes (#71089)
6 years ago
Matt Davis 86b6c4bbb6
fix collection package root location under pytest >=6.0.0 (#70963)
6 years ago
Matt Clay 3a8ac62596 Cap pytest version to avoid relative import issue.
6 years ago
Felix Fontein 7e2cc7db12
validate-modules: fix version_added validation for top-level, fix error codes (#70869)
6 years ago
Matt Clay 8b96caf712
Update ansible-base test container to 1.5.0. (#70856)
6 years ago
Abhijeet Kasurde c1402ddee0
validate_modules: added missing single quote (#70744)
6 years ago
Alan Rominger b0d9deeae3
Fix ansible-test error in community.aws (#70507)
6 years ago
Jordan Borean 40ce448657
ansible-test - do not validate blacklisted ps modules (#70376)
6 years ago
Matt Clay 262f93e22c Code cleanup in the import sanity test.
6 years ago
Matt Clay 70c59423fc Pin ansible-test requirements for RHEL.
6 years ago
Matt Clay fa48678a08
Rename pylint plugin and add tests. (#70225)
6 years ago
Matt Clay 1a0d8a51cd Fix yamllint sanity test line numbers.
6 years ago
Matt Clay feb163e0de
Improve consistency of ansible-test pylint results. (#70132)
6 years ago
Matt Clay e3f3b4002e
Clean up ansible-test pylint configs. (#70129)
6 years ago
Matt Clay 8152d8bc1a Disabled inconsistent pylint checks.
6 years ago
Monty Taylor 0133757d44 Add an author exception for OpenStack Ansible SIG
6 years ago
Matt Clay 598786e16d Update ansible-test default test containers.
6 years ago
Matt Clay f69b1846f9 Add pyparsing constraint to ansible-test.
6 years ago
Matt Clay 7641d32f8e
Fix ansible-test import sanity test issues. (#70084)
6 years ago
Felix Fontein 80410f292b Fix missing allow_date=False.
6 years ago
Felix Fontein 0617514176
Boolean error: fix deprecation date sanity check. (#70047)
6 years ago
Matt Clay 5b3719805e Update ansible-test test containers.
6 years ago
Felix Fontein 2fa65eb5e1
validate-modules: allow YAML dates in module documentation and meta/runtime.yml. (#70025)
6 years ago
John R Barker 37785255f2
validate ansible-base's and collections runtime.yml (#69742)
6 years ago
Matt Clay 26f318d277 Ignore return code from antsibull_changelog lint.
6 years ago
Matt Martz 4a4a11d282
Add mccabe complexity testing (#64623)
6 years ago
Matt Clay 2251b239a3 Fix changelog sanity test config detection.
6 years ago
James Cassell 47d14a33bd
config: singular ANSIBLE_COLLECTIONS_PATH (#70007)
6 years ago
Felix Fontein a114da80ee
Use antsibull-changelog instead of packaged changelog generator (#69313)
6 years ago
Jordan Borean a58fcde3a0
Use common ps sanity requirements file (#69992)
6 years ago
Matt Clay dc9c1d202b Fix ansible-test pip filter on Fedora 32.
6 years ago
Felix Fontein f1ab7cf0c6
Validate-modules: adjust test to fixes in #69977 (#69978)
6 years ago
Jordan Borean 15f07e7a6c
Fix up schema for collection deprecation (#69977)
6 years ago
Matt Clay a81dd4f06a
Update ansible-test default containers. (#69819)
6 years ago
Felix Fontein a862ff2d43
Deprecation revisited (#69926)
6 years ago
Matt Clay 7bff3d312f
Split out and install sanity test requirements. (#69971)
6 years ago
Sam Doran c41a160951
Update test images to version 1.16.0 (#66771)
6 years ago
Felix Fontein 3e566768c1 Fix broken validate-modules.
6 years ago
Matt Clay 06efc41fb0
Reduce pip output noise in ansible-test. (#69925)
6 years ago
Matt Clay f733517e6e Support dates in metadata in import sanity test.
6 years ago
Matt Davis d79b23910a
fix sys.modules cleanup and blacklist behavior (#69898)
6 years ago
Brian Coca 062e780a68
starting metadata sunset (#69454)
6 years ago
Felix Fontein 2dbd5dc2ae
ansible-test: do not accept empty string as valid version number (#69816)
6 years ago
Felix Fontein 4794b98f2a
Fix version_added test (#69756)
6 years ago
Felix Fontein 40f21dfd3c
Version source tagging (automatic and manual) for version_added and deprecation versions (#69680)
6 years ago
Jordan Borean f5f3ba7ab5
ansible-test - fix up relative util import for powershell validate-modules (#69753)
6 years ago
Felix Fontein 31bf3a5622
Deprecate module in collection: allow removal date in documentation, make validate-modules ensure version and date match (#69727)
6 years ago
Matt Clay 65c57a7f5b Update default-test-container to version 1.14.
6 years ago
Felix Fontein ea04e0048d
Allow to deprecate options and aliases by date (#68177)
6 years ago
Matt Davis f7dfa817ae
collection routing (#67684)
6 years ago
Matt Clay c495c92a6e Code cleanup in ansible-test.
6 years ago
Matt Clay 159d79995c Freeze pycodestyle in ansible-test.
6 years ago
Matt Clay 83381cd912 Update the default-test-container in ansible-test.
6 years ago
Matt Martz 4c4406b2df
Flatten the directory hierarchy of modules (#68966)
6 years ago
Felix Fontein 0e15375ffe
Add deprecated removed_in_version and deprecated_aliases version tests (#66920)
6 years ago
Rick Elrod de59b17c7f
Add Fedora 32 to CI (#69222)
6 years ago
John R Barker 084587913a
validate-modules: deprecated modules in collections (#68646)
6 years ago
Toshio Kuratomi 39b3942048 Remove left hand side slicing
6 years ago
Felix Fontein 947fa3bad3
ansible-test validate-modules: don't allow arbitrary lists and dicts for 'default', 'sample' and 'example' (#69287)
6 years ago
Rick Elrod 1c5c89baa6 Add RHEL 8.2 to CI
6 years ago
Matt Clay d7da1d9bd0 Fix ansible-test coverage constraints.
6 years ago
Yanis Guenane 46d82179d8
Testing: Add support for CentOS Linux On Power platform (#68130)
6 years ago
Matt Clay 7d51706278 Revert "Switch network incidental tests to VyOS 1.1.7-R2."
6 years ago
Matt Clay 7d5177d6a0 Switch network incidental tests to VyOS 1.1.7-R2.
6 years ago
Rick Elrod 38b7ceb75a
Update docker.txt to use the OpenSUSE 15.1 container image (devel edition) (#68785)
6 years ago
Matt Clay 04edd77c42
Update tests to use RHEL 7.8. (#68787)
6 years ago
Matt Clay 735885d57c Fix ansible-test requirements installation.
6 years ago
Matt Clay c888035e02
Update Ubuntu 18.04 test container to 1.13. (#68534)
6 years ago
Jordan Borean 7c9889a72b validate-modules - fix ps module delegate type inspection
6 years ago
Matt Clay 6fde9b3a23 Fix shebang sanity test module identification.
6 years ago
Jordan Borean aaf575f0b2 Internally redirect win modules to collection name (#68317)
6 years ago
Matt Clay 2c7f8bf586 Fix ansible-test windows-integration module refs.
6 years ago
Matt Clay 41f6c73be0 Update ansible-test network test provisioning. (#68220)
6 years ago
Matt Clay 5159457ba1 Fix ansible-test unit test requirements.
6 years ago
Matt Clay 99e136e153 Remove out-of-date test constraint on paramiko.
6 years ago
Matt Clay 29978d027b Update default test container to version 1.12.
6 years ago
Matt Clay ebb255f0d3 Add Python 3.9 to ansible-test.
6 years ago
Matt Clay 64a2864158 Fix ansible-test constraints for AWS.
6 years ago
Matt Clay 70fc69c852 Fix vcenter requirements.
6 years ago
Sam Doran 7a42354021
Switch to using FreeBSD 12.1 (#67659)
6 years ago
Abhijeet Kasurde b6c2056ea2
mongodb_user: fix doc formatting (#67763)
6 years ago
Matt Clay a64b562071
Fix up network testing on Shippable. (#67678)
6 years ago
Matt Clay 482885e0c8 Fix network setup for collections in ansible-test.
6 years ago
Matt Clay 542d1b98ff
Support private test plugins in ansible-test. (#67660)
6 years ago
Jordan Borean 36def8bf03
Use Ansible to load ps module utils in arg spec checker (#67596)
6 years ago
Felix Fontein 4373863f25
Module validation: sanity check mutually_exclusive, required_if, required_xxx ... (#66961)
6 years ago
Abhijeet Kasurde b6753b46a9
Replace 'message' in module parameters (#60051)
6 years ago
Felix Fontein f6815040fd
add_file_common_arguments: fix defaults and tpyes, improve sanity checking (#67243)
6 years ago
Sam Doran 8f296a6533
ansible-test - add constraint for virtualenv (#67289)
6 years ago
Matt Clay 1110e9d80d Test AIX with smaller volumes.
6 years ago
Mark Chappell 5d4d9d40af
ansible-test - Add 'get' to the list of bad choices for state (#66921)
6 years ago
Jordan Borean 811c54a7a4
validate-modules - support deprecated_aliases (#66965)
6 years ago
Yanis Guenane 4fd2dce7f3
Testing: Add support for AIX platform (#65802)
6 years ago
Sviatoslav Sydorenko eec6afd116 Explicitly set junit_family=xunit1 @ pytest config
6 years ago
Mark Chappell 1156962cde
Forbid `state=(list|info)` in modules via ansible-test sanity check
6 years ago
Matt Clay 21069c84d9 Fix ansible-test color `ls` logic.
6 years ago
Matt Clay 428aaf7e65 Keep SSH authorized keys in ansible-test setup.
6 years ago
Mark Chappell 35652ca788 Add tests to make sure that the documented 'elements' matches that defined in argument_spec (#66385)
6 years ago
Mark Chappell 5ff899662d Add sanity test to require elements entry when argument type=list (#66386)
6 years ago
Matt Clay 965854fbd2
Add constraints for Jinja2 on Python 2.6. (#66826)
6 years ago
Felix Fontein 8cff585891
Schema validation for argument_spec (#65747)
6 years ago
Felix Fontein c58d8ed1f5 Improve deprecate sanity check; remove deprecated features which should have been removed for 2.9 (#65745)
6 years ago
haiyuan_zhang bc37ea96d5 Vmss scale in policy (#66512)
6 years ago
Matt Clay 3db1ac4f56 Ignore warnings in ansible-test environment check.
6 years ago
Matt Clay 51e5b714e0
Add test constraint for setuptools. (#66426)
6 years ago
Sam Doran 92677d43b6 Account for argument spec of None in validate modules sanity test
6 years ago
Matt Clay 9ea5b539b6 Add ansible-test constraint to avoid coverage 5.0+
6 years ago
Toshio Kuratomi ece306b201 Add a sanity test for yaml to make sure we can parse all yaml
6 years ago
Felix Fontein a0f26b40cb Sanity checks: test for print statement (#65219)
6 years ago
Matt Clay fb69d68821
Fix plugin paths for ansible-test pylint test. (#65526)
6 years ago
Sam Doran 2a7623dd5c
Add CentOS 8 to the test matrix (#63649)
6 years ago
Felix Fontein 4be8b2134f Sanity checks: make sure that `required` in argument spec coincides with documentation (#65437)
6 years ago
Sam Doran 0e5a83a1cc
Add Fedora 31 to the test matrix (#64848)
6 years ago
Felix Fontein 784e507671 module sanity checks: improve alias handling (#59060)
7 years ago
Matt Clay 4f51b7d323 Remove ansible-test --tox delegation option.
7 years ago
Matt Martz b93d92ef9a
Set alter_sys=True instead of False to address backwards incompat (#64670)
7 years ago
Matt Clay 75646037dc Switch from RHEL 8.0 & 8.1b to 8.1 in CI.
7 years ago
Matt Clay adcf9458f1
Fix ansible-test collections sanity import test. (#64467)
7 years ago
Matt Clay e9f8a34dce
Fixes for validate-modules import handling. (#63932)
7 years ago
Matt Clay 92ccdeac31 Fix various import sanity test issues.
7 years ago
Felix Fontein 04252cf90d Improve validation of module return values (#63411)
7 years ago
Matt Clay 92b387aa27 Fix hcloud requirements.
7 years ago
Matt Clay 437e9b7063 Fix ansible-test sanity requirements install.
7 years ago
Matt Clay 7448084858 Update default-test-container to 1.10.1.
7 years ago
Matt Clay 32b57d57a0 Add constraint for pathspec.
7 years ago
Felix Fontein 054285c34c crypto modules: improve return value list documentation (#62929)
7 years ago
Matt Martz 03b98f6351 Fix plain format output functionality (#63107)
7 years ago
Matt Clay 811127d64d Add RHEL 8.1b to the Shippable test matrix.
7 years ago
Pedro Magalhães 67d9cc45bd maven_artifact.py - add support for version ranges by using spec (#54309) (#61813)
7 years ago
Matt Clay 022335669c
Work around ssh-keygen issue in ansible-test. (#63211)
7 years ago
Gonéri Le Bouder 2f5886f4ef vmware/test: add vsphere-automation-sdk dep
7 years ago
Lukas Kämmerling fd7e156ccd Add hcloud_floating_ip module (#62409)
7 years ago
Gonéri Le Bouder b68f5b406a test: bump default-test-container
7 years ago
flowerysong d933278f3d Add version 2.14 to the removed_in list (#62298)
7 years ago
Sam Doran 08279c7d54
Update default test container with Python 3.8b4 (#62100)
7 years ago
Evgeni Golov 48a39f5616 typo: missing-subption-docs → missing-suboption-docs (#62180)
7 years ago
Matt Clay cdc4926340
Fix ansible-test collections requirements installation. (#62181)
7 years ago
Matt Clay aaa6d2ecb0
Fix ansible-test pytest plugin loading. (#62119)
7 years ago
Matt Clay a7bc11ce67
Work around virtualenv/venv issue in ansible-test. (#62111)
7 years ago
Gonéri Le Bouder 0f52b18f3f
bump hcloud version to 1.4.1 (#62097)
7 years ago
Sam Doran 3d78dad84b Update Fedora 29 test image
7 years ago
Toshio Kuratomi 68fa03138c Revert "New Module: NetApp Account (#59939)"
7 years ago
Chris Archibald 6a8dcb8fcb New Module: NetApp Account (#59939)
7 years ago
Matt Clay ed46f83905 Fix paths in sanity tests.
7 years ago
Matt Clay 8521474f06 Revert "maven_artifact.py - add support for version ranges by using spec (#54309)"
7 years ago
Sam Doran 73248bf27d validate-modules - Use error codes instead of numbers (#60711)
7 years ago
Matt Clay f5d829392a
Overhaul ansible-test test path handling. (#61416)
7 years ago
Matt Clay f510d59943
Support relative imports in AnsiballZ. (#61196)
7 years ago
Jordan Borean faaa669764
PowerShell - Added coverage collector (#59009)
7 years ago
Yuwei Zhou b4732dd2e6 Support Azure IoT hub and related module (#55121)
7 years ago
Matt Clay cca4eb71e3
Update sanity tests for collections. (#61352)
7 years ago
Yuwei Zhou 1c06b302bc Support automation account managment (#56429)
7 years ago
Matt Clay 1fbb930747 Add out-of-tree check to symlinks sanity test.
7 years ago
Matt Clay 2a9b996bd2 Use `.cfg` extension for pylint configs.
7 years ago
Matt Clay 6ec0b4ec86
Sanity test updates for collections support. (#61248)
7 years ago
Matt Clay 29ac0273d4
Update ansible-test collection inventory handling. (#61031)
7 years ago
Pedro Magalhães 145a6a8756 maven_artifact.py - add support for version ranges by using spec (#54309)
7 years ago
Matt Davis bfa004930a
add subdir support to collection loading (#60682)
7 years ago
Matt Clay 32b0a72547
Support windows-integration on collections. (#60984)
7 years ago
Matt Martz def3d1f815
validate-modules: support collections (#60247)
7 years ago
Matt Clay 1b8aa798df
Update ansible-test integration config handling. (#60448)
7 years ago
Sam Doran a20848bf66
Use new version of default test image that contains Python 3.8.0b3 (#60139)
7 years ago
Sam Doran c485a1b91e
Fix sanity tests based on newer version of shellcheck (#60423)
7 years ago
Matt Martz 697b566971
Update units to pass on macOS (#60435)
7 years ago
Matt Clay 473bd6bb0a Relax boilerplate sanity tests.
7 years ago
Matt Clay 3fac6a0adb Fix ansible-test TypeVar type annotations.
7 years ago
Matt Clay df59f06d6a
Additional ansible-test path fixes. (#60300)
7 years ago
Matt Clay 57dc7ec265
Prepare ansible-test for inclusion in setup.py (#60294)
7 years ago
Sam Doran 9cb47832d1 Pin openshift <=0.9.0 to prevent test failures (#60245)
7 years ago
Toshio Kuratomi b0ec91e69e Autointerpreter table (#60148)
7 years ago
Matt Clay 97a0810e0f
Move ansible-test entry point. (#60281)
7 years ago
Matt Clay 5f67b5a757 Move ansible-test coverage config to test/lib/
7 years ago
Matt Clay 278044358c Split up ansible-test sanity test requirements.
7 years ago
Matt Clay a93a0c8fd6
Relocate validate-modules for easier testing. (#60214)
7 years ago
Matt Clay 9e31cf7270 Avoid pylint error on Python 3.7.
7 years ago
Matt Clay 18867847f4
Split up "code smell" sanity tests. (#60174)
7 years ago
Matt Clay d651bda123
Relocate ansible-test code. (#60147)
7 years ago