Mark Chappell
f64e79be41
sanity tests - ignore pre-release versions for deprecation comparisons ( #79185 )
2 years ago
Klaus Frank
39fd899d83
Clarify combine filter examples ( #80078 )
2 years ago
Matt Clay
a895cae5a1
Relocate validate-modules unit tests ( #80087 )
...
This allows the validate-modules unit tests to run as part of the regular unit test suite.
2 years ago
Matt Clay
2f62db842d
ansible-test - Update base and default container ( #80086 )
2 years ago
Yaakov Selkowitz
c028006aaf
Define all processor facts on s390x ( #19755 ) ( #79806 )
...
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2 years ago
Matt Clay
f587856beb
Remove straight.plugin dependency ( #80084 )
2 years ago
Matt Clay
dc3c88be8b
Remove unused integration test support files ( #80081 )
...
* Remove unused integration test support files
* Remove obsolete ignores
ci_complete
ci_coverage
2 years ago
Matt Clay
086046d478
Remove unused network test support files ( #80080 )
...
* Remove unused network test support files
* Remove obsolete ignores
2 years ago
Matt Clay
6bfe6b899a
ansible-test - Fix vendoring support ( #80074 )
...
- Support loading of vendored Python packages.
- Exclude vendored Python packages from payloads.
2 years ago
Sviatoslav Sydorenko
56036013cd
📦 Integrate manpage builds into PEP 517 build backend
...
This patch creates a thin wrapper around the `setuptools`' PEP 517
build backend in-tree. It features an ability to request generating
the manpage files in the process of building a source distribution.
This toggle is implemented using the `config_settings` mechanism of
PEP 517.
One must explicitly pass it a CLI option to the build front-end to
trigger said behavior. The packagers are expected to use the
following call:
python -m build --config-setting=--build-manpages
This option has no effect on building wheels.
🧪 The change includes integration tests
This test runs building and re-building sdists and wheels with and
without the `--build-manpages` config setting under the
oldest-supported and new `setuptools` pinned.
It is intended to preserve the interoperability of the packaging setup
across Python runtimes.
An extra smoke test also verifies that non PEP 517 interfaces remain functional.
PR #79606
Co-authored-by: Matt Clay <matt@mystile.com>
2 years ago
Raphael Michel
563833d124
Docs: Clarify note on tags ( #80079 )
...
The current wording could be read as "tasks that are tagged *both* configuration and packages" while in fact it is "tasks that are tagged *either* configuration *or* packages"
2 years ago
Martin Krizek
3fd0e12571
Introduce Delegatable and Notifiable mixin classes ( #80077 )
...
* Introduce Delegatable and Notifiable mixin classes
* fix sanity
* fix sanity
2 years ago
Desmond Obisi
43aa47c2af
package_facts requires python-rpm on SUSE systems in ansible 2.12.1 ( #80041 )
2 years ago
Desmond Obisi
5ad77fc7bb
fix: jinja complex type transforms doesn't work as documented ( #80067 )
...
jinja complex type transforms: dict(somelist| slice(2)) doesn't work as documented. Changed the example to use zip_longest
2 years ago
Aastha Varma
940fdf5dba
consistent booleans for page text and code blocks ( #80036 )
...
* consistent booleans for page text and code blocks
* Update check_mode from n to false
2 years ago
Player256
ce5471fc9f
Update collection_integration_updating.rst ( #80037 )
2 years ago
nkakouros
998b5c1a06
Clarify when plugin settings are being populated ( #79710 )
2 years ago
Martin Krizek
6c3d2a4e51
Use FAs with inheritance only when applicable ( #80026 )
...
... and set default value of an attribute on an object
only in NonInheritableFA.
Fixes #79777
ci_complete
2 years ago
Gijikiki
ed879954f9
Update playbooks_tests.rst ( #79788 )
2 years ago
Matt Clay
5f6ebebce9
Update ansible-test openshift plugin tests ( #80064 )
...
Update ansible-test openshift plugin tests to use config to get server endpoint.
Also update the comment explaining why the tests are disabled.
2 years ago
devon-mar
1108c0f331
Fix markdown in changelog fragment ( #80065 )
2 years ago
Don Naro
9f02e505d9
add wheel to docsite pre-reqs #79513 ( #80061 )
2 years ago
Matt Clay
bca55d945b
ansible-test - Adjust vcenter test plugin behavior ( #80063 )
...
The previous change to the default mode of operation for the plugin is now limited to collections.
This enables easier testing of the plugin in core, so the previously removed tests have been restored.
2 years ago
Matt Clay
39a5b08ca6
ansible-test - Update base and default container ( #80058 )
2 years ago
Sviatoslav Sydorenko
c05d813661
Fix #80020 typos confusing `pylint` for `pytest` ( #80056 )
2 years ago
Matt Clay
ecf66c6f82
ansible-test - Update mypy and pylint requirements ( #80049 )
2 years ago
Matt Clay
5e3db6e441
ansible-test - Show Python version before install ( #80022 )
...
Always indicate the Python version being used before installing requirements.
2 years ago
Matt Clay
e6cffce0eb
ansible-test - Allow target prefixes to use `_` ( #80021 )
...
Integration test target prefixes defined in a `tests/integration/target-prefixes.{group}` file can now contain an underscore (`_`) character.
2 years ago
Matt Clay
fe2732b91e
ansible-test - Support pylint assertion rewriting ( #80020 )
...
Add support for `pylint` assertion rewriting when running unit tests on Python 3.5 and later.
2 years ago
devon-mar
2f8f7fba4c
Update lookup to use positional only arg for name to avoid conflicts ( #79839 )
2 years ago
Anže Luzar
122de95d85
Add Steampunk Spotter to Other tools list ( #80006 )
2 years ago
Miklos Sagi
b7ef2c1589
ansible-playbook -K breaks when passwords have quotes ( #79837 )
...
Now only 'unquote' when ini config file is the source
2 years ago
Matt Clay
72c59cfd98
Avoid trailing spaces in unit test ( #80033 )
2 years ago
Matt Clay
21fc699b77
Remove trailing spaces from lines in YAML ( #80032 )
2 years ago
Matt Clay
a4248a63aa
Add missing newlines to YAML files ( #80031 )
2 years ago
Sandra McCann
967a88963f
Update docs requirements to latest package versions ( #79930 )
...
Co-authored-by: Matt Clay <matt@mystile.com>
2 years ago
Sandra McCann
f841c2803a
update banner' ( #79971 )
2 years ago
Matt Martz
54ff9afa10
Data tagging delayed to 2.16 ( #80011 )
2 years ago
Jordan Borean
1e6b8249e7
Add condition that causes a when to skip a task to output msg ( #78918 )
...
* Add condition that causes a when to skip a task
* Fix up tests
* Use false_condition instead of failed_condition
* Remove formatting accidentially added
* Fix sanity
2 years ago
Martin Krizek
bd329dc543
Make using blocks as handlers a parser error ( #79993 )
...
Fixes #79968
2 years ago
Matt Clay
117cf0a44b
ansible-test - Disable the pep8 E203 rule ( #79966 )
...
The `E203` rule in `pycodestyle` is not fully PEP 8 compliant.
Disabling it provides compatibility with the output of the `black` code formatter.
2 years ago
Matt Clay
67d49734f7
ansible-test - Support Podman 4.4.0+
2 years ago
Matt Clay
930c2137d3
Revert "Disable F37 podman tests for ansible-test ( #79998 )"
...
This reverts commit 875a4ec242
.
2 years ago
Matt Clay
d67b436eba
ansible-test - Improve pylint backwards compat ( #79997 )
2 years ago
Matt Clay
875a4ec242
Disable F37 podman tests for ansible-test ( #79998 )
...
The recent update from podman 4.3.1 to 4.4.1 has broken container management.
Removing the tests from the CI matrix until the issue is resolved.
2 years ago
Alicia Cozine
75274021d3
fixes typo in Ansible 7 roadmap ( #79996 )
...
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
2 years ago
Alicia Cozine
0946ee2f14
adds roadmap for Ansible 8 ( #79598 )
2 years ago
Sloane Hertel
556dadba6d
user - fix comparing existing group names to group IDs ( #79981 )
2 years ago
Matt Clay
715ab99462
ansible-test - Improve code formatting ( #79983 )
...
* ansible-test - Add blank lines after docstrings
* ansible-test - Preserve formatting of arg pairs
* ansible-test - Remove unused string
* ansible-test - Remove pointless dict() usage
* ansible-test - Clean up initial func arg indenting
* ansible-test - Clean up constructor arg indenting
* ansible-test - Clean up func arg wrapping
* ansible-test - Clean up comma and paren placement
2 years ago
Matt Clay
43487c6581
ansible-test - Enable unused-import pylint rule ( #79912 )
...
This was previously enabled for core. This change enables it for collections.
2 years ago