Felix Fontein
0fe84b510b
docker_compose_v2_pull: add new options ignore_buildable, include_deps, and services; fix service CLI for docker_compose_v2 module ( #942 )
...
* Add new options for --ignore-buildable, --include-deps, and for providing services.
* Add services after -- and not before.
2024-07-25 20:47:32 +02:00
Felix Fontein
45b2531129
docker_compose_v2* modules: use --progress json for Compose 2.29.0+ ( #931 )
...
* Use --progress json for Compose 2.29.0+.
* Add changelog fragment.
* Fix/improve handling of warnings.
* Improve parsing of warnings and some one-off messages.
* Improve warnings.
* Handle tail messages.
* Fix bug in regular event parsing.
2024-07-25 18:33:42 +02:00
Felix Fontein
ebec16d42c
Handle network_mode=default correctly for Docker 26.1.0+. ( #936 )
2024-07-25 18:30:12 +02:00
Felix Fontein
2ddadf1e2b
docker_container: pass networks to Daemon on container creation ( #933 )
...
* Pass networks to Daemon on container creation.
* Restore old behavior, and only provide all networks on creation for API 1.44+.
2024-07-23 17:34:26 +02:00
Felix Fontein
11ce793f7d
Prepare 3.12.0 release.
2024-07-20 17:07:34 +02:00
Felix Fontein
22bbfbaf8b
CLI modules: improve docker version/info output processing, avoid querying for API version if it's not needed ( #935 )
...
* Don't assume that docker version/info JSON output contains the expected fields.
* Allow CLI modules to not require the API version.
* Add changelog fragment.
2024-07-20 15:51:02 +02:00
Felix Fontein
609fa2c8b4
Reformat and re-order changelogs/changelog.yaml.
2024-07-11 22:44:27 +02:00
Felix Fontein
65d8dc8908
Release 3.11.0.
2024-07-09 22:13:38 +02:00
Felix Fontein
4b7e74b75e
docker_container: allow to wait for a container to become healthy ( #921 )
...
* Allow to wait for a container to become healthy.
* Improve wording.
Co-authored-by: Don Naro <dnaro@redhat.com>
* Improve explanation.
---------
Co-authored-by: Don Naro <dnaro@redhat.com>
2024-07-09 20:07:00 +02:00
Felix Fontein
6fcbd34e23
Prevent infinite loop. ( #922 )
2024-07-07 23:18:58 +02:00
Felix Fontein
48c0cdf2c5
Imporve parsing of skipped messages. ( #916 )
2024-07-06 21:10:39 +02:00
Fran Jurinec
9b5dbd4543
Add support from device_cgroup_rules parameter ( #910 )
2024-07-04 09:51:32 +02:00
Felix Fontein
81cabbf697
CI: Run some tests with the latest development versions of Docker SDK for Python, requests, and urllib3 ( #902 )
...
* Run some tests with the latest development versions of Docker SDK for Python, requests, and urllib3.
* Use LooseVersion instead of StrictVersion to parse urllib3 versions.
2024-06-29 18:57:08 +02:00
Felix Fontein
ad9d362336
Make docker_host and cli_context mutually exclusive. ( #895 )
2024-06-28 22:26:34 +02:00
Felix Fontein
3383cd551e
Release 3.10.4.
2024-06-16 22:04:40 +02:00
Felix Fontein
4cac2ac021
Make sure that one of project_src and definition is provided. ( #886 )
2024-06-16 21:49:20 +02:00
Felix Fontein
a5b5681608
Prepare 3.10.4 release.
2024-06-16 21:10:13 +02:00
Felix Fontein
691bc6de72
Docker Compose v1 tests: restrict API version to 1.44 if default API version is 1.45+ ( #881 )
...
* Restrict API version to 1.44 if default API version is 1.45+.
* Set COMPOSE_API_VERSION if api_version is provided.
* Add changelog.
2024-06-14 08:02:12 +02:00
Felix Fontein
9e7b5407fd
Release 3.10.3.
2024-05-26 20:48:21 +02:00
Felix Fontein
de7729c33c
Prepare 3.10.3 release.
2024-05-26 16:39:21 +02:00
Felix Fontein
205867e392
Avoid using the deprecated selectors compat module utils. ( #871 )
2024-05-25 09:00:18 +02:00
Felix Fontein
260b2859c5
Release 3.10.2.
2024-05-21 21:03:51 +02:00
Felix Fontein
32612dc6ec
Prepare 3.10.2 release.
2024-05-21 19:23:25 +02:00
Felix Fontein
1b50cee901
Add fix for requests 2.32.2+. ( #864 )
2024-05-21 19:22:39 +02:00
Felix Fontein
b9add7b415
Release 3.10.1.
2024-05-20 21:44:19 +02:00
Felix Fontein
570f5fb524
Add known_issues instead of extended release summary.
2024-05-20 21:27:43 +02:00
Felix Fontein
8cbec47816
Prepare 3.10.1 release.
2024-05-20 21:12:32 +02:00
Felix Fontein
ab8b6662c2
Add hotfix for requests 2.32.0. ( #861 )
2024-05-20 21:08:25 +02:00
Felix Fontein
daa253a62d
From now on automatically add period to new plugins in changelog, and use FQCNs. ( #859 )
2024-05-20 08:50:29 +02:00
Felix Fontein
b6e698c1de
Release 3.10.0.
2024-05-19 21:05:29 +02:00
Felix Fontein
97ea49cc17
Prepare 3.10.0 release.
2024-05-18 16:27:10 +02:00
x4rd0o1Vtx
5016a96eba
Allow healthcheck override without test option ( #847 )
...
* Add healthcheck test_cli_compatible option
* Update plugins/module_utils/util.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/docker_container.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-05-15 18:45:01 +02:00
Felix Fontein
36c118d154
Deprecate ssl_version. ( #853 )
2024-05-11 15:53:19 +02:00
Felix Fontein
f2a5d6f872
docker_image_build: allow to specify multiple platforms, allow to specify secrets and outputs ( #852 )
...
* Add note on idempotency.
* Make platform a list of strings.
* Support specifying secrets.
* Add test for secrets.
* Support specifying outputs.
* Ignore invalid choices syntax for ansible-core <= 2.16.
It actually works with ansible-core 2.14+ (though not with <= 2.13),
but the sanity tests only accept it from 2.17 on.
* Only use --secret with type=env for buildx 0.6.0+, and multiple --output for buildx 0.13.0+.
2024-05-11 15:52:47 +02:00
x4rd0o1Vtx
a4a05e7fa5
Add healthcheck start-interval option ( #848 )
2024-05-09 21:22:06 +02:00
Felix Fontein
f51ca84197
docker_prune: add new options for cleaning build caches ( #845 )
...
* Add new options for cleaning build caches to docker_prune.
* Add tests.
2024-05-09 17:12:36 +02:00
Kenny Millington
9beac01ce1
docker_network: Add support for --config-from and --config-only ( #843 )
...
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-05-04 15:16:34 +02:00
Felix Fontein
30faf0b8e6
Deprecate Docker Compose v1. ( #833 )
2024-05-04 13:15:53 +00:00
Florian
368d616229
Add sysctls option to docker_swarm_service ( #836 )
...
* add sysctls option to docker_swarm_service
* Add added version number
Co-authored-by: Felix Fontein <felix@fontein.de>
* version added -> 3.10.0
Co-authored-by: Felix Fontein <felix@fontein.de>
* changelog fragment for docker_swarm_service sysctls
* add minimal docker_py / docker_api versions to use for sysctls
* set expected sysctls to null on integration test
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-04-30 22:44:25 +02:00
Felix Fontein
379ce23270
Release 3.9.0
2024-04-21 16:20:52 +02:00
Felix Fontein
8bcc3519d4
Add check_files_existing option. ( #839 )
2024-04-21 16:01:07 +02:00
Felix Fontein
6368854a8c
Prepare 3.9.0 release.
2024-04-20 10:51:16 +02:00
Felix Fontein
cab1bcb96e
Include changelog in docsite ( #837 )
...
* Include changelog in docsite.
* Fix changelog.
2024-04-18 12:50:33 +02:00
Felix Fontein
1ee9109a73
Make wrapping variables as unsafe smarter to avoid triggering an AWX bug. ( #835 )
2024-04-18 07:52:15 +02:00
Felix Fontein
8ad45286a3
Remove unused code that relies on functionality deprecated in Python 3.12. ( #834 )
2024-04-15 11:21:46 +00:00
Felix Fontein
9e8c367c47
docker_compose_v2: allow to specify inline compose definitions ( #832 )
...
* Allow to specify inline compose definitions.
* Remove comma that trips Python 2.7.
* Add tests.
* Add PyYAML as EE dependency.
* Be more explicit on PyYAML.
2024-04-09 17:41:12 +02:00
Felix Fontein
2925334a1a
Make sure project_src is an absolute path. ( #828 )
2024-04-04 21:39:38 +02:00
Felix Fontein
7102d38923
Better error message if Compose version is 'dev'. ( #826 )
2024-03-29 19:29:14 +01:00
Felix Fontein
59a8220c7f
Release 3.8.1.
2024-03-16 20:16:57 +01:00
Felix Fontein
61c54874fd
Prepare 3.8.1 release.
2024-03-15 07:34:43 +01:00