Matt Clay
319b50f04c
Fix subversion test.
...
Switch to a different repo that isn't giving 503 errors since GitHub hasn't fixed the issue yet.
3 years ago
Matt Clay
3d46670622
Remove incidental_win_ping test. ( #76031 )
...
It no longer provides any unique test coverage.
ci_complete
ci_coverage
3 years ago
Matt Clay
2437fb3718
Add more ansible-test cloud tests.
3 years ago
Martin Krizek
b1211429d5
Fix executing includes in the free strategy ( #75649 )
...
Fixes #75642
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 Martz
8510db4935
Allow ca_path to point to a bundle ( #75894 )
...
* Allow ca_path to point to a bundle. Fixes #75015
3 years ago
Matt Clay
8cef40f839
ansible-test - Fix inventory path.
3 years ago
Miroslav Brabenec
bc0caad2ad
Fix parsing of device serial number for RHEL8 ( #75876 )
...
* Fix parsing of device serial number for RHEL8
* Add tests and changelog
Co-authored-by: Miroslav Brabenec <miroslav.brabenec@memsource.com>
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 Martz
8a295b8ada
Remove incidental_cloud_init_data_facts integration tests ( #75885 )
...
* Remove incidental_cloud_init_data_facts integration tests
* Remove cloud_init_data_facts.py
* ci_coverage ci_complete
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
3ef8782b90
Fix sanity test ignores.
3 years ago
Martin Krizek
9de4f24d7a
test support ec2_ami_info: remove ec2_ami_facts name deprecation ( #75841 )
...
Fixes #75829
3 years ago
Martin Krizek
f774292439
cli - remove deprecated setting verbosity before sub command ( #75840 )
...
* cli - remove deprecated setting verbosity before sub command
Fixes #75823
* Fix tests
3 years ago
Matt Davis
bb59d9afe9
bump devel to 2.13 ( #75833 )
3 years ago
Matt Martz
79e9dae292
Don't show params when there is an issue with `set_option(s)` ( #75805 )
3 years ago
Brian Coca
a22964609e
Fix lineinfile test ( #75785 )
...
* fix remote test after controller split
* other files had it too!
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
Sloane Hertel
845935f74f
Revert "Compile role with parents in the task's dependency chain ( #75165 )" ( #75779 )
...
This reverts commit 440cf15aeb
.
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
Jordan Borean
a2d4a8a9f3
PowerShell - Support optional module util imports ( #75187 )
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
78ff1ab546
Add constraints to prepare_http_tests target.
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
Sloane Hertel
440cf15aeb
Compile role with parents in the task's dependency chain ( #75165 )
...
* Use the task dependency chain to compile the role instead of the parent role's _parents list
* keep existing role inheritance, but limit it to roles in the current task dependency chain
* Test getting role parents recursively by using the current task dependency chain
* changelog
3 years ago
Matt Clay
7a76130502
ansible-test - Update default containers.
...
ci_complete
3 years ago
Matt Martz
96b221b344
Update vendored copy of distro to 1.6.0 ( #75732 )
...
* Update vendored copy of distro to 1.6.0
* copy pasta mistake
* ci_complete
3 years ago
Ross Bender
7a4b5d14fc
ansible-galaxy role install: download from API response location ( #73114 )
...
* download role from api response location
* include changelog fragment
* add unit test for role download url
Co-authored-by: Sam Doran <sdoran@redhat.com>
3 years ago
Thomas Sjögren
57359d0174
use passlib default if `password_hash` option isn't set ( #75043 )
...
* add changelog fragment
* password_hash|length == 120
* mention the new default bcrypt format in the porting guide
3 years ago
Sloane Hertel
7ecc227488
ansible-galaxy: Clone git collections using shallow clones ( #75722 )
...
* ansible-galaxy: Clone git collections using shallow clones
This ensures the collection obtained via git url is a result of a
shallow git clone (git clone --depth=1). The git history of the
collection is not used by ansible, and as such, cloning the entire
history of the repo is unnecessary.
Signed-off-by: Tomas Babej <tomas@tbabej.com>
* ansible-galaxy: Only perform shallow clones on non-versioned git urls
In general, the version can be anything we can checkout (branch, tag,
but also a commit hash). In particular for commit hashes we cannot
perform a shallow clone.
Err on the safe side and only perform shallow clones for non-versioned
git urls (cloning HEAD).
* galaxy-install: Make shallow cloning compatible with older Python versions
Signed-off-by: Tomas Babej <tomas@tbabej.com>
* Pass args as a tuple
Add tests for the git command created from different repo and version combinations
* changelog
Co-authored-by: Tomas Babej <tomas@tbabej.com>
3 years ago
Matt Martz
724800cd3f
Python 3.8 Controller Minimum ( #74013 )
3 years ago
Sloane Hertel
4ab90f3afc
Re-enable old_style_cache_plugin test target ( #75748 )
...
Fix tests for cache plugins written before ConfigManager
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