Felix Fontein
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>
3 years ago
Jordan Borean
9985b8a975
ansible-test pssa update and new rules ( #76256 )
3 years ago
Matt Clay
d7fbb209b4
ansible-test - Fix collection import test priming.
...
The bug was introduced in https://github.com/ansible/ansible/pull/76137
3 years ago
Matt Clay
f42ffe16d2
ansible-test - Add Fedora 35 test container. ( #76228 )
...
* ansible-test - Add Fedora 35 test container.
* Added Fedora 35 to CI and removed Fedora 33 from CI.
* Fix dnf integration test.
* Fix connection_paramiko_ssh test.
3 years ago
Matt Clay
730194e2b6
ansible-test - Add RHEL 9 support. ( #76217 )
...
* Move RHEL pip package install into function.
* Add RHEL 9 support to bootstrap script.
* ansible-test - Add RHEL 9 support.
* Add install and uninstall instructions for RHEL9 to paramiko tests
* Skip incidental_inventory_docker_swarm on RHEL 9.
* Update dnf tests for rhel9
* Fix prepare_http_tests on RHEL 9.
* fix RHEL9 Python discovery tests to match distro map
* Skip subversion test on RHEL 9.0b.
Co-authored-by: Matt Martz <matt@sivel.net>
Co-authored-by: Matt Davis <mrd@redhat.com>
3 years ago
Andrew Klychkov
e50ad6f118
ansible-test: Set max number of open files in containers to 10240 ( #75498 )
3 years ago
Matt Clay
1ab2443e2d
ansible-test - Update default containers.
3 years ago
Matt Clay
cd64e0b070
ansible-test - Fix import test on old Pythons. ( #76137 )
3 years ago
Matt Clay
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).
3 years ago
Matt Clay
b9694ce4fb
ansible-test - Remove duplicate code.
3 years ago
Matt Clay
b4cbe1adcf
ansible-test - Fix Python real prefix detection.
3 years ago
Martin Krizek
7621784b94
Require Jinja2 3.0.0 ( #75881 )
...
* Require Jinja2 3.0.0
ci_complete
* Fix sanity
* Remove Jinja min/max tests
* ansible-test changes
* ci_complete
* More cleanup
ci_complete
* Revert _count_newlines_from_end :( and other stuff
* Fix sanity
* It's using host_vars ...
* Unused import
* Remove overridden groupby filter
* environmentfilter -> pass_environment
* Explain preserve_trailing_newlines
* Add changelog
* ci_complete
* Deprecated ANSIBLE_JINJA2_NATIVE_WARNING
* native_helpers.py cleanup
* More cleanup in the find intgration test
3 years ago
Matt Martz
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>
3 years ago
Felix Fontein
227f4398c2
Fix choices for return values. ( #76070 )
3 years ago
Matt Clay
d099e19796
ansible-test - Move constants to remove symlink.
3 years ago
Felix Fontein
7a28246248
validate_modules: allow 'choices' for return values ( #76009 )
...
* Allow 'choices' for return values.
3 years ago
Matt Clay
5cb1210f82
ansible-test - Update base and default containers.
...
- The containers are now based on Ubuntu 20.04 instead of Ubuntu 18.04.
- The default Python version used for the containers is now Python 3.10.
- The included version of PowerShell was upgraded to version 7.1.4.
- The included version of shellcheck was upgraded to version 0.7.0.
ci_complete
3 years ago
Matt Clay
801eb73ccb
ansible-test - Update Python constraints. ( #75959 )
...
* Remove obsolete constraints.
* Simplify constraints.
* Add changelog fragment.
3 years ago
Jordan Borean
7e19957afa
ansible-test pslint - fix warning with nested objects ( #75792 )
...
* ansible-test pslint - fix warning with nested objects
3 years ago
Matt Clay
8cef40f839
ansible-test - Fix inventory path.
3 years ago
Matt Clay
2f531d73dd
ansible-test - Update base and default containers.
...
The containers now include Python 3.10.0 instead of Python 3.10.0rc2.
3 years ago
Matt Clay
f4d4391a1f
ansible-test - Update distro test containers.
3 years ago
Matt Clay
1932f0008b
ansible-core - Remove support for Python 2.6. ( #75853 )
3 years ago
Matt Clay
099d80829f
ansible-test - Fix inventory generation.
3 years ago
Matt Clay
68ab92e22a
ansible-test - Remove support for Python 2.6.
...
Deferring removal of obsolete constraints until container updates are required.
3 years ago
Matt Clay
0d5a9f2138
ansible-test - More PEP 484 type hints.
3 years ago
Matt Clay
e66e2e25c8
ansible-test - Update default containers.
3 years ago
Matt Clay
6a5d6896fd
ansible-test - Warn about stale sanity venvs.
3 years ago
Matt Clay
b70077364a
ansible-test - More PEP 484 type hints.
3 years ago
Matt Clay
58b03be417
ansible-test - Code cleanup. ( #75774 )
...
* ansible-test - Remove unused code.
* ansible-test - More PEP 484 type hints.
3 years ago
Matt Clay
6c133da45e
ansible-test - Fix code coverage reporting. ( #75771 )
3 years ago
Jordan Borean
43e1cba8c1
Fix up validate-modules sanity check for PowerShell - ci_complete
3 years ago
Matt Clay
b51e62f6e5
ansible-test - Add minimum constraints for pytest.
...
Use `--strict` for `pytest` on Python 2.6 since `--strict-markers` is not available.
3 years ago
Matt Clay
e3fd9b0769
ansible-test - Add `--prime-containers` option.
...
Resolves https://github.com/ansible/ansible/issues/75320
The option `--prime-containers` was chosen over `--docker-pull-only` to match the recently added `--prime-venvs` option for sanity tests.
It would also fit well with a future `--prime-requirements` option for pre-installing requirements for unit and integration tests.
3 years ago
Matt Clay
28a094c5de
ansible-test - Remove unused constraints.
...
ci_complete
3 years ago
Felix Fontein
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.
3 years ago
Brian Coca
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>
3 years ago
Matt Clay
46c7b24188
ansible-test - Update distro test containers. ( #75762 )
3 years ago
Matt Clay
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.
3 years ago
Matt Clay
7a76130502
ansible-test - Update default containers.
...
ci_complete
3 years ago
Matt Martz
724800cd3f
Python 3.8 Controller Minimum ( #74013 )
3 years ago
Matt Clay
4652d6ee43
ansible-test - Remove deprecated environments.
3 years ago
Matt Clay
94410789d1
ansible-test - Add `--prime-venvs` option.
3 years ago
Matt Clay
178a67fd40
ansible-test - Add support for windows/2022 ( #75743 )
...
ci_complete
3 years ago
Matt Clay
4ea8d9a782
ansible-test - split controller/target testing ( #75605 )
3 years ago
Matt Clay
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.
3 years ago
Matt Clay
2b463ef197
ansible-test - Upgrade pylint to 2.9.3. ( #75480 )
...
* ansible-test - Upgrade `pylint` to 2.9.3.
* Update pylint ignores due to rule name change.
* Disable pylint deprecated-class for compat code.
* Add pylint ignores for test support content.
* Add ignores for arguments-renamed in lib/ansible/
* Add pylint ignores for collection_loader.
* ansible-test - Ignore deprecations in legacy collection loader.
* ansible-test - Suppress pylint consider-using-with
* ansible-test - Suppress pylint false positive.
* ansible-test - Suppress pylint consider-using-with.
* ansible-test - Suppress pylint deprecated-module
* Disable some of the new pylint suggestions.
* Remove unnecessary six usage from string_format pylint plugin.
* Remove obsolete ignore entry.
3 years ago
Matt Clay
7450e87615
Fix up string splitting to prepare for pylint update. ( #75479 )
...
* Use rsplit with maxsplit in BaseCacheModule.
* Use maxsplit for accessing first item.
* ansible-test - More efficient splitting.
3 years ago
Matt Clay
ca2d2c5f38
ansible-test - Cleanup to prepare for pylint update. ( #75469 )
...
* ansible-test - Fix use of abstractproperty
* ansible-test - Use dict.items() where possible.
* ansible-test - Remove unused code.
* ansible-test - Cleanup issues reported by pylint.
* ansible-test - Use dict.items() where possible.
* ansible-test - Use generator.
3 years ago
Sloane Hertel
cea4886c7c
Update test container versions ( #75447 )
...
* Update test container versions to use the most recent which contain Python 3.10.0 RC1
3 years ago