Matt Clay
906427caba
Add shippable/posix/group4/ for CI. ( #53816 )
2019-03-15 07:25:37 -07:00
Sam Doran
43a44e6f35
Move utility functions out of basic.py ( #51715 )
...
Move the following methods to lib/anisble/module_utils/common/validation.py:
- _count_terms()
- _check_mutually_exclusive()
- _check_required_one_of()
- _check_required_together()
- _check_required_by()
- _check_required_arguments()
- _check_required_if
- fail_on_missing_params() --> create check_missing_parameters()
2019-03-14 21:29:55 -04:00
Felix Fontein
1323dca9e9
docker_*: enable RHEL8 tests ( #53313 )
2019-03-05 10:50:28 -08:00
Jan Sušnik
70a39d358b
Docker Network module labels support ( #50883 )
...
* Added support for labels for Docker Network
* Fixed missing comma in Docker Network module
* Specified minimal versions for dependencies and added changelog
* Fixes based on suggestions after code review
* Added integration tests
2019-01-21 16:19:34 -05:00
Felix Fontein
b52d7d56d9
docker_network IPAM test / general docker test cleanup ( #50499 )
...
* Re-enable docker_network tests.
* Basic cleanup of docker daemon.
* Add docker CLI detection.
* YAML notation.
2019-01-09 08:18:51 +10:00
Jordan Borean
79dc9a75c3
ansible-test: docker_network set as untable ( #50526 )
...
* Revert "disable docker_network ipam tests (#50477 )"
This reverts commit 4dd2b8e2d0
.
* test - docker_network mark as unstable
2019-01-04 10:15:24 +10:00
Stephan Müller
4dd2b8e2d0
disable docker_network ipam tests ( #50477 )
2019-01-03 17:03:44 +05:30
Felix Fontein
495a426039
docker_swarm: fix minimal API version ( #49691 )
...
* Reduce minimally required docker API version to 1.25, with selective features requiring 1.30.
* Adjust test requirements.
* Forgot some imports.
2018-12-10 14:09:28 +05:30
Dave Bendit
73640a4190
[docker_network] Adding scope
and attachable
flags ( #49562 )
...
Incorporating the abandoned work from PRs #35288 and #45552 . Also adding in
the version checking from `docker_container.py`, which should be abstracted
out to `docker_common.py`.
2018-12-06 18:50:45 +00:00
Felix Fontein
3bb41ccb8e
docker_* tests: check API version ( #48620 )
...
* Check minimal API and docker-py versions for all docker_* tests.
* Improve docker_swarm creation/destruction for tests.
* Fail when conditions aren't met.
* Don't hardcode address for advertise_addr.
2018-11-19 10:01:40 +00:00
Felix Fontein
891687284f
docker_* modules: improve diff ( #48546 )
...
* Add difference tracking tool
* Improve --diff mode for docker_container.
* Improve diffs of sets by ordering the sets.
* Rewrite imports, get rid of HAS_DOCKER_PY_x variables and use docker_version instead.
* Rename container -> active (more generic).
* Add --diff for docker_volume. Change old diff output.
* Add --diff for docker_network. Change old diff output.
* Add --diff for docker_swarm_service.
* Add changelog.
* Add entry for porting guide on docker_network and docker_volume.
2018-11-19 09:59:54 +00:00
Matt Clay
a41c0405a7
Add CI platform: rhel/8.0 ( #48835 )
2018-11-16 22:06:19 -08:00
Felix Fontein
afded1c778
Use force_kill instead of stop_timeout to fasten container cleanup. ( #48733 )
2018-11-16 12:37:12 +00:00
Dave Bendit
d7686e1bc0
[docker_network] Add handling for Python booleans in driver_options ( #48105 )
...
Fixes #26708
2018-11-06 14:39:45 +00:00
Felix Fontein
8eb656de8b
Fixing idempotency test. ( #48038 )
2018-11-05 12:55:27 +00:00
Stephan Müller
00bab2d24d
[docker_network] add ipv6 support ( #47492 )
...
* [docker_network] add ipv6 support
* docker_network: review ipam_options
* docker_network: fix requirements
* docker_network: fix deprecation notice
* docker_network: add minimum docker version change
* docker_network: remove trailing whitespace
* docker_network: revert rename of network_four #discussion_r228707101
* docker_network: refactor IPAM config comparison #discussion_r228707255, #discussion_r228707280
* docker_network: correct spelling of IPv4 and IPv6 #discussion_r228707114, #discussion_r228707138
* docker_network: manually remove networks #discussion_r228709051
* docker_network: refactor enable_ipv6 condition #discussion_r228707317
* docker_network: add mutually_exclusive #discussion_r228707185
* docker_network: fix iprange #discussion_r228709072
* docker_network: add auxiliary addresses in examples and tests
* docker_network: link to docker docs #discussion_r228707018
* docker_network: remove list default #discussion_r228707060, #discussion_r228709091
* docker_network: introduce params syntax for create_network() #discussion_r228709031
* docker_network: beautify code
* docker_network: resolve change requests
* docker_network: add yaml header
* docker_networking: fix get_ip_version
* docker_network: extend CIDR test
* docker_network: use backported unittest2 for python 2.6
* docker_network: migrate unittest to pytest
2018-11-02 08:59:16 +10:00
Felix Fontein
2dab10f1ec
docker_network: adding/updating tests ( #47775 )
...
* Add substring test (fixes #32927 ).
* Extend idempotency tests (fixes #32580 ).
2018-10-29 17:34:00 -04:00
Dave Bendit
6ca88ab75d
docker_network: Adding basic integration test for overlay network ( #47772 )
...
Fixes #19271
2018-10-29 17:29:50 -04:00
Dave Bendit
29b4b36501
Adding "internal" option to "docker_network" module ( #35370 )
...
Fixes #27065
2018-10-23 07:49:26 +01:00
Felix Fontein
131efcff9d
docker_network: add basic integration tests ( #46137 )
...
* Adding very basic integration tests for docker_network.
* Fixing some details (review comments).
2018-10-19 08:42:27 +01:00