Jordan Borean
0f5331645f
ansible-test: add skip/windows/... alias to skip tests on specific Windows versions ( #46845 )
...
* ansible-test: add skip/windows/... alias to skip tests on specific Windows versions
* show what tests were skipped
* changes to logic to only skip if all Windows targets are set to skip
* codestyle improvements
* change warning message based on review
* check args type before running the Windows path
6 years ago
Matt Clay
ec88510fd4
Add OUTPUT_DIR env var to integration tests.
6 years ago
Matt Clay
712ad9ed64
Fix ansible-test custom docker image traceback.
6 years ago
Matt Clay
0785656344
Fix vmware_inventory unit tests so they run.
6 years ago
lwm
8d0f823de0
Add a Linode v4 dynamic inventory plugin. ( #45902 )
...
* Add a Linode v4 dynamic inventory plugin.
Closes https://github.com/ansible/ansible/issues/44721 .
* Use the latest API for accessing host variables.
References:
* https://github.com/linode/linode_api4-python/issues/141
* Minor docs formating
6 years ago
Jordan Borean
7b774117ab
ansible-test: set ulimit to enforce consistent test environment ( #46652 )
...
* ansible-test: set ulimit to enforce consistent test environment
* fixed santiy issue
6 years ago
Matt Clay
e2b6047514
Add symlinks sanity test. ( #46467 )
...
* Add symlinks sanity test.
* Replace legacy test symlinks with actual content.
* Remove dir symlink from template_jinja2_latest.
* Update import test to use generated library dir.
* Fix copy test symlink setup.
6 years ago
Matt Clay
0dc7f38787
Improve ansible-test environment checking between tests. ( #46459 )
...
* Add unified diff output to environment validation.
This makes it easier to see where the environment changed.
* Compare Python interpreters by version to pip shebangs.
This helps expose cases where pip executables use a different
Python interpreter than is expected.
* Query `pip.__version__` instead of using `pip --version`.
This is a much faster way to query the pip version. It also more
closely matches how we invoke pip within ansible-test.
* Remove redundant environment scan between tests.
This reuses the environment scan from the end of the previous test
as the basis for comparison during the next test.
6 years ago
Matt Clay
33a8be9109
Add file exists check in integration-aliases test.
6 years ago
Matt Clay
6d9be66418
Use default-test-container version 1.3.0.
6 years ago
Jordan Borean
e972287c35
win_exec: refactor PS exec runner ( #45334 )
...
* win_exec: refactor PS exec runner
* more changes for PSCore compatibility
* made some changes based on the recent review
* split up module exec scripts for smaller payload
* removed C# module support to focus on just error msg improvement
* cleaned up c# test classifier code
6 years ago
Matt Clay
0d7a156319
Fix ansible-test encoding issues for exceptions.
6 years ago
Matt Clay
e53390b3b1
Fix ansible-test multi-group smoke test handling. ( #46363 )
...
* Fix ansible-test smoke tests across groups.
* Fix ansible-test list arg defaults.
* Fix ansible-test require and exclude delegation.
* Fix detection of Windows specific changes.
* Add minimal Windows testing for Python 3.7.
6 years ago
Yunge Zhu
69594c5370
add azure_rm_cdnprofile and azure_rm_cdnprofile_facts ( #45097 )
...
* add cdn profile with facts
* fix merge issue
* fix version
* fix lint
* move cdn client out of azure_rm_common
* fix lint
* fix helper
* fix code bug
* fix bug
* fix import
* fix typo
* fix test
6 years ago
Matt Clay
54937ba784
Fix ansible-test docker python version handling.
...
This removes the old name based version detection behavior and
uses versions defined in the docker completion file instead, as
the new containers do not follow the old naming scheme.
6 years ago
Matt Clay
d603cd41fe
Fix integration test library search path.
...
This prevents tests from loading modules outside the source tree,
which could result in testing the wrong module if a system-wide
install is present, or custom modules exist.
6 years ago
Matt Clay
ac492476e5
Bug fixes and cleanup for ansible-test. ( #45991 )
...
* Remove unused imports.
* Clean up ConfigParser usage in ansible-test.
* Fix bare except statements in ansible-test.
* Miscellaneous cleanup from PyCharm inspections.
* Enable pylint no-self-use for ansible-test.
* Remove obsolete pylint ignores for Python 3.7.
* Fix shellcheck issuers under newer shellcheck.
* Use newer path for ansible-test.
* Fix issues in code-smell tests.
6 years ago
Matt Clay
45b5685037
Add python.py coverage injector for ansible-test.
...
This can be used to run Python scripts from the repository with the
correct interpreter and allow collection of code coverage.
Useful for testing contrib inventory scripts.
6 years ago
Matt Clay
2056c981ae
Improve ansible-test match error handling.
6 years ago
Jordan Borean
27c10fa502
add skip/docker alias to skip tests when running on Docker ( #45955 )
...
* add skip/docker alias to skip tests when running on Docker
* changed warning message wording
6 years ago
Matt Clay
5a3000af19
Support comments in ansible-test flat files.
6 years ago
Matt Clay
f3d1f9544b
Make ansible-test available in the bin directory. ( #45876 )
6 years ago
Jordan Borean
582a4dfa13
append AWS region to test instance file ( #45877 )
6 years ago
Jordan Borean
a7d372c3ba
go back to FreeBSD 11.1 for tests due to 11.2 stability issues ( #45872 )
6 years ago
Matt Clay
99cac99cbc
Block network access for unit tests in docker.
6 years ago
Matt Clay
be199cfe90
Minor fixes for unit test delegation.
6 years ago
Matt Clay
abe8e4c9e8
Run unit tests in parallel. ( #45812 )
6 years ago
Matt Clay
379a7f4f5a
Fix ansible-test unit test execution. ( #45772 )
...
* Fix ansible-test units requirements install.
* Run unit tests as unprivileged user under Docker.
6 years ago
Matt Clay
c50d6f1944
Update RHEL and FreeBSD versions used for tests:
...
- RHEL 7.4 -> 7.5
- FreeBSD 11.1 -> 11.2
6 years ago
Matt Clay
d478a4c3f6
Update default container to version 1.2.0.
6 years ago
Matt Clay
1891827dfa
Update default-test-container to 1.1.0.
6 years ago
Matt Clay
4173a30941
Remove obsolete default container.
6 years ago
Matt Clay
3f8edb440a
Switch default test container to quay.io.
6 years ago
Matt Clay
998badbda5
Fix ansible-test virtualenv use in import test.
6 years ago
Zim Kalinowski
1f8635fbd9
Virtual machine facts - retrieving instance view ( #45128 )
6 years ago
Matt Clay
b3a3e8ba7b
Update test constraints. ( #44975 )
...
- Limit virtualenv version on Python 2.6.
- Limit pyopenssl version on Python 2.6.
- Pin pyfmg version to keep unit tests passing.
6 years ago
Yuwei Zhou
b7d614df78
add auto scale module ( #41533 )
...
* add autoscale modules
* add test alias
6 years ago
Will Thames
ce110ff081
K8s retry merge ( #44821 )
...
* Make merge_type a list and apply merge_type in order
Allow use case of preferring strategic-merge and failing
back to merge, or just preferring a different merge type
* Improve k8s module test coverage
6 years ago
Matt Clay
c1173a2aec
Add seccomp support to ansible-test.
6 years ago
Ghilli3
7bc2660017
fortimanager/fmgr_provisioning.py ( #35743 )
...
* Initial commit for new provisioning module
6 years ago
Hai Cao
ccb7909cc5
[new module] Azure Traffic Manager profile module ( #43812 )
...
* add traffic manager client and models in azure_rm_common
- add traffic manager management client
- import traffic manager models to 'traffic_manager_models' proprety
- azure.mgmt.trafficmanager doesn't have models(), so use direct import
for now
* add traffic manager facts module
* add traffic manager module
* add integration test for two modules
* fix package info in requirements
* fix sanity check
* fix monitor config default value
* fix facts module doc
* move model import into module
* resolve comments except seprating endpoint
* remove endpoint operation
* fix test after removing endpoint operation
* change module name to azure_rm_trafficmanagerprofile/facts
* fix sanity test
* seperate endpoint into delegate module
* fix typo
* fix lint
* fix lint
* fix test
* fix test
* resolve comments
* fix test
* fix test
* fix test
* fix bug in return
* resolve comments
* fix lint
* fix lint
* add sample in endpoint module
6 years ago
lwm
fbcdf8ba5b
Linode: Mark 'name' as required. Fixes #29785 ( #44699 )
...
* Mark 'name' parameter as required.
Closes https://github.com/ansible/ansible/issues/29785 .
* Add the `linode-python` dependency for unit tests.
* Add unit test for linode name parameter.
* Add note about where to find required arguments.
Closes https://github.com/ansible/ansible/issues/44696 .
6 years ago
Jasper Aorangi
2541a8c494
azure_rm_virtualmachine: Add 'accept_terms' for accepting terms when deploying paid marketplace images ( #44701 )
...
azure_rm_storageaccount: Add 'StandardSSD_LRS', and choices to correct unrelated sanity error
6 years ago
Matt Clay
773c0982b0
Switch distro test containers to quay.io images.
6 years ago
René Moser
56996c7348
test: cloudstack-test-container v1.2.0 ( #44764 )
6 years ago
Matt Clay
c0aaf0fff7
Fix change detection on retried Shippable jobs.
6 years ago
Sumit Jaiswal
1d2bb34992
Includes support for Reverse-Mapping zone in nios_zone module ( #44525 )
...
* support reverse mapping
* support reverse mapping
* support reverse mapping
* fix shippable errors
* fix shippable errors
* fix shippable errors
6 years ago
Felix Fontein
ad0d10db0d
ACME: improve tests (new Pebble version, strict mode) ( #44518 )
...
* Bump ACME test container version.
* Re-adding key rollover test.
6 years ago
Jordan Borean
6982dfc756
psrp: Added new Windows connection plugin ( #41729 )
...
* psrp: Added new Windows connection plugin
* Tweaks to connection options from review
6 years ago
Felix Fontein
d8d366ef37
ACME: using new acme-test-container ( #44095 )
...
* Using new acme-test-container image.
* Add test for cleaning account contacts.
6 years ago