a0f6747f07
ansible-test: fix typo in validate-modules ( #76765 )
...
The correct error strategy for the to_text method is surrogate_or_strict
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com >
2022-01-18 16:12:34 +01:00
aa67ff2cf2
Remove shebangs from core Python modules. ( #76664 )
...
* Remove module shebangs.
* Relax shebang check in validate-modules.
* Add changelog fragment.
2022-01-06 17:33:14 -08:00
16cdac66fe
ansible-test - Use ansible-core for docs links.
2021-12-09 08:58:14 -08:00
41ee4a5b12
ansible-test - Fix traceback in validate-modules test.
2021-12-06 15:45:57 -08:00
fe77bc9e3c
Validate some markup in documentation in validate-modules ( #76262 )
...
* Validate some markup in documentation.
* Add changelog fragment.
* Use urlparse instead of URL regex.
* Document new error code.
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com >
2021-11-11 13:44:15 -05:00
9985b8a975
ansible-test pssa update and new rules ( #76256 )
2021-11-10 17:04:39 -08:00
cae7d2a671
Overhaul ansible-test integration tests. ( #76111 )
...
* Overhaul ansible-test integration tests.
* ansible-test - Fix import test pyyaml usage.
* ansible-test - Remove unused import.
* ansible-test - Fix traceback when pip is unavailable.
* ansible-test - Fix typo in port forwarding message.
* ansible-test - Fix controller logic in requirements install.
* Fix unit tests in ansible-test integration test.
Unit tests are now run for available Python versions which
provide `virtualenv` (Python 2.x) or `venv` (Python 3.x).
2021-10-25 16:32:15 -07:00
b9694ce4fb
ansible-test - Remove duplicate code.
2021-10-25 15:30:06 -07:00
b4cbe1adcf
ansible-test - Fix Python real prefix detection.
2021-10-21 15:28:48 -07:00
66a83314b9
Modernize install ( #76021 )
...
Co-authored-by: Matt Clay <matt@mystile.com >
Co-authored-by: Matt Davis <mrd@redhat.com >
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua >
2021-10-19 14:24:57 -05:00
227f4398c2
Fix choices for return values. ( #76070 )
2021-10-19 17:22:32 +02:00
7a28246248
validate_modules: allow 'choices' for return values ( #76009 )
...
* Allow 'choices' for return values.
2021-10-12 11:29:27 -04:00
7e19957afa
ansible-test pslint - fix warning with nested objects ( #75792 )
...
* ansible-test pslint - fix warning with nested objects
2021-10-08 06:30:30 +10:00
1932f0008b
ansible-core - Remove support for Python 2.6. ( #75853 )
2021-10-01 01:16:37 -07:00
68ab92e22a
ansible-test - Remove support for Python 2.6.
...
Deferring removal of obsolete constraints until container updates are required.
2021-09-30 14:13:50 -07:00
0d5a9f2138
ansible-test - More PEP 484 type hints.
2021-09-24 15:17:21 -07:00
43e1cba8c1
Fix up validate-modules sanity check for PowerShell - ci_complete
2021-09-23 20:39:05 -07:00
67ca455829
attributes: support extra value 'not applicable' for support ( #75751 )
...
* Support two extra values 'unknown' and 'not applicable' for support.
* Simplify to only one new state: 'n/a'
* Adhere to the IBM style guide.
2021-09-23 15:02:59 -04:00
c5d8dc0e11
Add attributes 2/x ( #75619 )
...
* Added attribute information to more modules
rearranged the shared data
platform revamped
use 'details' and avoid overriding description
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com >
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update lib/ansible/plugins/doc_fragments/action_core.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update lib/ansible/plugins/doc_fragments/action_core.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update lib/ansible/plugins/doc_fragments/action_core.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update lib/ansible/plugins/doc_fragments/action_core.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update lib/ansible/plugins/doc_fragments/action_core.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update lib/ansible/modules/fail.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update lib/ansible/modules/debug.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update lib/ansible/modules/command.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update lib/ansible/modules/assert.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update lib/ansible/plugins/doc_fragments/action_core.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update lib/ansible/modules/gather_facts.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update lib/ansible/modules/include_vars.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update lib/ansible/modules/meta.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update lib/ansible/modules/meta.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update lib/ansible/plugins/doc_fragments/action_common_attributes.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update lib/ansible/plugins/doc_fragments/action_common_attributes.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update lib/ansible/plugins/doc_fragments/action_common_attributes.py
Co-authored-by: Felix Fontein <felix@fontein.de >
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com >
Co-authored-by: Felix Fontein <felix@fontein.de >
2021-09-23 12:48:28 -05:00
5cb54e8c58
ansible-test - Create injector scripts at runtime. ( #75761 )
...
* ansible-test - Create injector scripts at runtime.
* Set bootstrap.sh shebang at runtime.
* Remove shebang and execute bit from importer.
* Update shebang sanity test.
* Preserve line numbers.
2021-09-22 16:01:42 -07:00
4ea8d9a782
ansible-test - split controller/target testing ( #75605 )
2021-09-20 18:39:07 -07:00
99a79e1969
ansible-test - Move code from _data to _util. ( #75495 )
...
* Update paths to match relocated files.
* Update ansible-test symlink paths.
* Update path classification.
* Update MANIFEST.in
* Update sanity test context paths.
* Update sanity ignores.
* Update shebang sanity test.
* Update configure-remoting-ps1 sanity test.
* Update BOTMETA.yml to reflect new paths.
* Update paths in collection loader comments.
* Update Makefile for ansible-test.
* Update docs.
* Add changelog fragment.
2021-08-12 15:07:06 -07:00