Commit Graph

200 Commits

Author SHA1 Message Date
Felix Fontein
11d47f26be Release 2.7.13. 2024-09-17 21:01:25 +02:00
Felix Fontein
422d51c480
docker_prune: improve docs, fix handling of lists for filters (#966) (#967)
* Improve docs.

* Fix handling of lists for filters.

(cherry picked from commit 3802e424d9)
2024-09-17 21:00:50 +02:00
Felix Fontein
3a5e6006bc Prepare 2.7.13 release. 2024-09-17 20:53:43 +02:00
patchback[bot]
e8cd212435
README: Add Communication section with Forum information (#950) (#952)
* README: Add Communication section with Forum information

* Insert tag, remove category.

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 65ead853e7)

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2024-08-12 19:25:20 +02:00
Felix Fontein
698a20b749 Release 2.7.12. 2024-07-09 22:12:32 +02:00
Felix Fontein
090fec5689 Prepare 2.7.12 release. 2024-07-08 20:39:46 +02:00
Felix Fontein
02b2070ff3
Prevent infinite loop. (#922) (#926)
(cherry picked from commit 6fcbd34e23)
2024-07-08 09:27:31 +02:00
Felix Fontein
12f7beb48b Release 2.7.11. 2024-06-16 21:21:55 +02:00
Felix Fontein
966918e7ba Prepare 2.7.11 release. 2024-06-16 21:09:43 +02:00
Felix Fontein
d0aee07ab0
Docker Compose v1 tests: restrict API version to 1.44 if default API version is 1.45+ (#881) (#883)
* Restrict API version to 1.44 if default API version is 1.45+.

* Set COMPOSE_API_VERSION if api_version is provided.

* Add changelog.

(cherry picked from commit 691bc6de72)
2024-06-14 08:25:11 +02:00
Felix Fontein
5578af74e5 Release 2.7.10 2024-05-26 20:47:55 +02:00
Felix Fontein
5ad90b9d43 Prepare 2.7.10 release. 2024-05-26 20:23:40 +02:00
Felix Fontein
b4e0ba9e5e
[stable-2] Fix docker_image tests with Docker SDK for Python 7.1.0; restrict requests in EE dependencies to < 2.32.0 (#872)
* Docker SDK for Python 7.1.0 also dropped support for API versions < 1.24.

* EE: restrict requests to < 2.32.0.
2024-05-26 19:43:47 +02:00
Felix Fontein
1e93fd6dda Release 2.7.9. 2024-03-16 20:15:14 +01:00
Felix Fontein
e2e1bc796b
Prevent RCE via inventory plugins (#815) (#818)
* Prevent RCE via inventory plugins.

* Do not make ansible_connection unsafe.

* Add test.

(cherry picked from commit bf1281ae7f)
2024-03-14 22:09:57 +01:00
Felix Fontein
2fe37c44b7 Next expected release is 2.7.9. 2023-12-10 09:25:18 +01:00
Felix Fontein
178a58bf07 Release 2.7.8. 2023-12-10 09:07:51 +01:00
Felix Fontein
5f12bc97be
[stable-2] Docker SDK for Python 7+: make sure that tls_hostname is not passed, and error out if it was explicitly set (#723)
* Do not accept tls_hostname for Docker SDK for Python 7.0.0+. (#721)

(cherry picked from commit 26772304f9)

* Ignore the value 'localhost', which appens to be the default for this option.
2023-12-09 23:33:45 +01:00
patchback[bot]
fe771e5615
Docker SDK for Python 7+: make sure that ssl_version is not passed, and error out if it was explicitly set (#715) (#720)
* Do not accept ssl_version for Docker SDK for Python 7.0.0+.

* Add changelog fragment.

* Generally avoid sending None values to TLSConfig. Potentially prevents similar errors in the future, assuming the users do not pass values in.

* Python 2.6 compatibility.

(cherry picked from commit 3aa1ddcca0)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-12-09 22:05:31 +01:00
Felix Fontein
1e286852b2
[stable-2] Integration tests: split up Docker setup, move docker_compose tests into own group (#719)
* Rename setup role.

* Create new CI group 6, and move docker_compose v1 tests into there.

* Split up Docker setup in integration tests.

* Change setup_docker_compose_v1 to install its own Docker SDK for Python.

* Restrict Docker SDK for Python to < 7.0.0 in EE.
2023-12-09 18:38:54 +01:00
Felix Fontein
eb35b441cd Next expected release is 2.7.8. 2023-11-12 12:22:39 +01:00
Felix Fontein
93b351f607 Release 2.7.7. 2023-11-12 12:04:32 +01:00
patchback[bot]
35de5b3c37
fix(community.docker.docker_volume): labels can be none (#702) (#704)
* fix(community.docker.docker_volume): labels can be none

catch case where volume labels can are done (default) eg:

$ docker volume inspect foo
[
    {
        "CreatedAt": "2023-11-11T12:55:23+01:00",
        "Driver": "local",
        "Labels": null,
        "Mountpoint": "/var/lib/docker/volumes/foo/_data",
        "Name": "foo",
        "Options": {},
        "Scope": "local"
    }
]

* Update plugins/modules/docker_volume.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* add(community.docker.docker_volume): changelog fragment

* Update changelogs/fragments/702-docker-volume-label-none.yaml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 4c220c4d74)

Co-authored-by: Alexander Jähnel <alexanderjaehnel@gmail.com>
2023-11-12 12:03:29 +01:00
Felix Fontein
5f413ac778
Do not pass data_path_addr for older Docker SDK for Python versions. (#696) (#697)
(cherry picked from commit fbc2750b6a)
2023-10-14 22:10:49 +00:00
Felix Fontein
2433c9e427 Next expected release is 2.7.7. 2023-06-15 13:24:04 +02:00
Felix Fontein
8d9bf780e2 Release 2.7.6. 2023-06-15 13:13:49 +02:00
patchback[bot]
c31fb79755
Fix EndpointSpec KeyError. (#637) (#638)
(cherry picked from commit 748d619fb2)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-05-26 21:20:18 +02:00
Felix Fontein
da7ef0e8cc Next expected release is 2.7.6. 2023-02-25 15:56:04 +01:00
Felix Fontein
08810a66a9 Relesae 2.7.5. 2023-02-25 15:36:56 +01:00
Felix Fontein
a5d00c6f98 Prepare 2.7.5 release. 2023-02-24 21:35:50 +01:00
Felix Fontein
94227e2575
docker_prune: correctly return 'changed' result (#593) (#594)
* Correctly return 'changed' status.

* Extend tests.

* Fix typo.

(cherry picked from commit 08bfcf7e5f)
2023-02-24 21:24:39 +01:00
Felix Fontein
808063ddcd
[stable-2] Remove unneccessary imports (#579)
* Remove unneccessary imports (#575)

* Remove unneccessary imports.

* Add noqas.

(cherry picked from commit 54a3dc151d)

* Remove additional unnecessary import.
2023-02-09 16:09:00 +01:00
Felix Fontein
8cb5b6d1bb Release 2.7.4. 2023-01-14 11:18:28 +01:00
Felix Fontein
40bef226c0
Improve envvar fallback handling. (#554) (#555)
(cherry picked from commit 4e6ac335f3)
2023-01-13 21:04:00 +01:00
Felix Fontein
0ffa3cc1d2
docker_plugin: do not crash when plugin doesn't exist (#553) (#556)
* Do not crash when plugin doesn't exist.

* Improve style.

Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>

Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
(cherry picked from commit c7cbec0163)
2023-01-13 21:00:34 +01:00
Felix Fontein
f5c19b1a87 Prepare 2.7.4 release. 2023-01-13 06:44:59 +01:00
patchback[bot]
4928828d22
Fix error handling. (#546) (#548)
(cherry picked from commit 18091193de)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-01-05 21:15:21 +01:00
Felix Fontein
f776b689d8 Release 2.7.3. 2022-12-06 13:21:04 +01:00
Felix Fontein
8811d9be10
Improve container detection. (#522) (#523)
(cherry picked from commit e87b327764)
2022-12-06 08:39:15 +01:00
Felix Fontein
32838bfc85 Prepare 2.7.3 release. 2022-12-06 08:15:18 +01:00
Felix Fontein
cb58b91d8d Release 2.7.2. 2022-12-03 21:14:41 +01:00
Felix Fontein
f718cfccd7 Prepare 2.7.2 release. 2022-12-01 00:03:22 +01:00
Felix Fontein
3da9aa3b9c
[stable-2] Make current_container_facts work with newer Docker versions and latest ansible-test container changes (#512)
* Make current_container_facts work with newer Docker versions and latest ansible-test container changes (#510)

* Add more debug output.

* Add basic integration test.

* Split into lines.

* Fix docker detection, add podman detection.

ci_complete

* Improve regular expression.

* Document that this module is trying its best, but might not be perfect.

* Update comment.

(cherry picked from commit c2d84efccb)

* Remove new feature (podman support).
2022-11-30 23:01:30 +01:00
Felix Fontein
3119af72cf Release 2.7.1. 2022-08-12 22:02:53 +02:00
patchback[bot]
154e1902de
Fix error formatting bug. (#448) (#450)
(cherry picked from commit f513ba2c59)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-08-12 14:15:40 +02:00
Felix Fontein
4fb4580855 Prepare 2.7.1 release. 2022-08-10 21:47:33 +02:00
Felix Fontein
86011cdfdf Release 2.7.0. 2022-07-02 14:22:03 +02:00
Felix Fontein
45f3657fb6 Prepare 2.7.0. 2022-07-02 14:21:47 +02:00
Felix Fontein
e6d597b539 Revert "Remove deprecated functionality. (#363)"
This reverts commit 209aeb57fd.
2022-07-02 14:18:53 +02:00
Felix Fontein
57e19ca596 Revert "Remove deprecations from docker_container, bump collection version to 3.0.0 (#399)"
This reverts commit 49ce0a3cb1.
2022-07-02 14:18:48 +02:00