1
0
mirror of https://github.com/ansible-collections/community.docker.git synced 2025-04-18 21:04:01 +03:00

898 Commits

Author SHA1 Message Date
Felix Fontein
8694f488d7
CI: fix certificates for HTTPS connection tests (#1066)
* Try to fix CA cert for HTTPS connection tests.

* Try to fix leaf certificate.

* Add more properties.
2025-04-11 14:09:01 +02:00
Felix Fontein
106c3d33d6 Migrate .reuse/dep5 to REUSE.toml. 2025-03-29 12:17:22 +01:00
Felix Fontein
80329beade The next expected release will be 4.6.0. 2025-03-22 13:11:15 +01:00
Felix Fontein
2d65015e86 Release 4.5.2. 4.5.2 2025-03-22 12:52:14 +01:00
Felix Fontein
585595187b Prepare 4.5.2. 2025-03-22 12:37:05 +01:00
Felix Fontein
a1e9412bed
Use new tools from community.internal_test_tools. (#1061) 2025-03-22 11:59:27 +01:00
Felix Fontein
635716c07b
docker_compose_v2: use --yes when available instead of -y (#1060)
* Use --yes if available.

* Add smoke test.
2025-03-21 22:05:10 +01:00
londondaintta
c13b891bc9
fix(docker_compose_v2): fix version check (#1059)
* fix version check

* add changelog fragment
2025-03-17 20:20:21 +01:00
Felix Fontein
9730b2a3c3
Use shared unit test utils from community.internal_test_tools. (#1056) 2025-03-12 21:39:05 +01:00
Felix Fontein
9972eee967 Make sure that community.internal_test_tools is installed for unit tests. 2025-03-12 21:00:09 +01:00
Felix Fontein
5b5b4e7204 The next expected release will be 4.6.0. 2025-03-11 20:31:01 +01:00
Felix Fontein
7355c7de0d Release 4.5.1. 4.5.1 2025-03-11 20:09:11 +01:00
Felix Fontein
9d015a2563 Prepare 4.5.1. 2025-03-10 22:19:36 +01:00
Jonas Geiler
a3f9c21228
fix(docker_compose_v2): use correct flag for assume_yes (#1054)
* fix: use correct flag for `assume_yes`

The correct flag is `--y`, not `--yes`.

* refactor(docker_compose_v2): use `-y` instead of `--y` to ensure future compatibility

Maybe they'll change it back to `--yes` sometime, so I'll use the short form that most likely won't change.

* docs(docker_compose_v2): add note about `-y` flag

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

* chore: add changelog fragment

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2025-03-10 22:18:45 +01:00
Felix Fontein
fdb97428a3
Fix/improve tests (#1052)
* Improve unit test condition.

* Improve/fix tests.
2025-03-08 09:54:41 +01:00
Felix Fontein
ca7f3eb82f Group CI updates. 2025-03-03 19:00:27 +01:00
Felix Fontein
efe50114a7 The next expected release will be 4.6.0. 2025-03-03 18:46:48 +01:00
Felix Fontein
799fe434e5 Release 4.5.0. 4.5.0 2025-03-03 18:26:31 +01:00
Felix Fontein
6a69fbc0b0 Prepare 4.5.0. 2025-03-01 15:41:25 +01:00
Felix Fontein
cfb970bd53
docker_network: add enable_ipv4 option (#1049)
* Add enable_ipv4 option.

* Add changelog fragment.
2025-03-01 15:03:43 +01:00
londondaintta
187014101b
add --yes parameter to docker compose up (#1045)
* add yes option for compose up to assume yes and prevent hanging

* fix type

* add default

* add changelog fragment

* Apply doc suggestion

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

* set version_added to 4.5.0

* use `assume_yes` to avoid clashing with yaml `yes` keyword

* add version check

* default self.yes to False

* update description

* Fail on older version

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

* update changelog fragment

* update description

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2025-03-01 15:03:23 +01:00
Felix Fontein
f99a9b618c Next expected release will be 4.5.0. 2025-02-13 21:47:39 +01:00
Felix Fontein
e36ee04ea6 Release 4.4.0. 4.4.0 2025-02-13 21:27:43 +01:00
Felix Fontein
5ce4783053 Prepare 4.4.0 release. 2025-02-13 21:10:00 +01:00
Felix Fontein
ab53cb2e80 Clean up workflow. 2025-02-11 22:52:54 +01:00
Felix Fontein
22ab85fe2b
docker_context_info: fix some aspects (#1043)
* Extend docker_context_info tests.

* Fix a bug in the context code.

* Fix TLS handling for contexts.

* Adjust code to fix tests.
2025-02-10 23:54:36 +01:00
Felix Fontein
20042ea780
Add basic podman tests to CI (#1040)
* Setup podman and run some basic tests with it.

* Clean up Docker setup.
2025-02-10 23:19:54 +01:00
Felix Fontein
18ca4184cc
Cleanup AZP config similarly to ansible-core did some years ago. (#1041) 2025-02-10 22:44:36 +01:00
Felix Fontein
3b6068e44b
Add docker_context_info module (#1039)
* Vendor parts of the Docker SDK for Python

This is a combination of the latest git version
(db7f8b8bb6)
with some fixes to make it compatible with Python 2.7
and adjusting some imports.

* Polishing.

* Fix bug that prevents contexts to be found when no Docker config file is present.

Ref: https://github.com/docker/docker-py/issues/3190

* Linting.

* Fix typos.

* Adjust more to behavior of Docker CLI.

* Add first iteration of docker_context_info module.

* Improvements.

* Add basic CI.

* Add caveat on contexts[].config result.
2025-02-10 21:59:05 +01:00
Alexandre Díaz
ea3ac5f195
fix: docker_compose_v2_run: don't need sanitize labels (#1034) 2025-02-02 17:27:28 +01:00
Felix Fontein
bcd6e57450
Vendored Docker SDK for Python code: remove unused constants (#1037)
* Remove constants that are never used.

* Adjust unit tests.
2025-02-01 23:14:19 +01:00
Felix Fontein
511cfe52ca
Improve error handling. (#1035) 2025-01-31 19:39:08 +01:00
Felix Fontein
8bae4e9c6d
Also mention glob patterns and redirects. (#1032) 2025-01-25 22:26:17 +01:00
Felix Fontein
ce074ba8f0 The next expected release is 4.4.0. 2025-01-23 20:48:06 +01:00
Felix Fontein
05eb3b90eb Release 4.3.1. 4.3.1 2025-01-23 20:13:09 +01:00
Felix Fontein
b1bba23507 Prepare 4.3.1 release. 2025-01-22 21:46:43 +01:00
Felix Fontein
9cc70f5202
Fix label sanitization error handling. (#1029) 2025-01-22 20:45:08 +00:00
Felix Fontein
9e26c4794e
docker_compose_v2: fix tests (#1027)
* Since docker-compose 2.32.2 present_3 is no longer changed.

This has been caused by https://github.com/docker/compose/pull/12442,
since that PR removes the "building" event.

* Remove deprecated 'version' fields.
2025-01-14 21:17:05 +01:00
Felix Fontein
993d66971d
CI: Try to get more targets for SSH connection test (#1026)
* Try to get more targets for SSH connection test.

* Install paramiko from system repos on CentOS 7.
2025-01-11 12:54:11 +01:00
Felix Fontein
b72e17cc53
Add Fedora 41, Alpine 3.21, RHEL 9.5 to CI for devel. (#1024) 2025-01-08 07:09:16 +01:00
Felix Fontein
29ff1241ce
Use multiple YAML documents for inventory plugin examples. (#1023) 2025-01-07 21:21:01 +01:00
Felix Fontein
4aed658919 Fix CI badge image URL. 2025-01-04 11:22:50 +01:00
Felix Fontein
1a218f3c5e Improve extra sanity test for docker action group. 2025-01-03 14:50:33 +01:00
Felix Fontein
8c1e3eb5cf The next expected release will be 4.4.0. 2024-12-30 22:29:08 +01:00
Felix Fontein
3da95fcebf Release 4.3.0. 4.3.0 2024-12-30 22:04:17 +01:00
Felix Fontein
0ae405a3e1 Prepare 4.3.0 release. 2024-12-30 21:17:00 +01:00
Felix Fontein
5bfec5d4d2
Add 'idempotent' attribute (#1022)
* Add 'idempotent' attribute.

* Mention check mode in attribute description.

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>

---------

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2024-12-30 21:11:14 +01:00
Felix Fontein
c10ae4a24d Fix doc fragments indents. 2024-12-29 15:48:30 +01:00
Florian Apolloner
6172a9291c
Determine the compose version via a CLI call and not the docker API. (#1021)
* Determine the compose version via a CLI call and not the docker API.

* Update plugins/module_utils/compose_v2.py

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

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-29 14:13:39 +01:00
Felix Fontein
bd992583c2 Improve formulations. 2024-12-28 17:09:33 +01:00