Commit Graph

312 Commits

Author SHA1 Message Date
Felix Fontein
d49971d51b Delete CI. This branch is now End of Life. 2025-10-25 13:33:49 +02:00
Felix Fontein
dc3eabd9a4
[stable-4] Adjust 'report this' messages to only report if the latest version still has this problem (#1174) (#1175)
* Adjust 'report this' messages to only report if the latest version still has this problem. (#1173)

(cherry picked from commit 6b5d76bdee)

* Adjust checks.

(cherry picked from commit 24f35644e3)
(cherry picked from commit 075bc91ce8)
2025-10-16 20:21:56 +02:00
Felix Fontein
034b4200a2 Use stable-11 in shippable. 2025-10-11 22:15:04 +02:00
Felix Fontein
43c4d10383
Fix docker_container_exec's detach=true. (#1145) (#1148) (#1151)
(cherry picked from commit 449b37e1c9)
(cherry picked from commit 488dd28339)
2025-10-07 19:46:25 +02:00
patchback[bot]
87e5fdd049
Restrict cffi on Python 2. (#1126) (#1127)
(cherry picked from commit 93d165e10b)

Co-authored-by: Felix Fontein <felix@fontein.de>
2025-09-12 22:53:45 +02:00
patchback[bot]
6cc33e515c
[PR #1113/1ba34b9b backport][stable-3] CI: Add Debian 13 Trixie (#1114)
* CI: Add Debian 13 Trixie (#1113)

* Add Debian 13 Trixie to CI.

* I don't think this is needed any longer.

* Debian: adjust way GPG signature is installed for Docker's software repo.

(cherry picked from commit 1ba34b9b7c)

* Skip Docker Compose v1 on Debian Trixie.

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2025-08-10 22:00:12 +02:00
Felix Fontein
2e62f4f6f5
Fix tests. (#1094) 2025-06-29 17:36:45 +02:00
patchback[bot]
8c82bb88d5
ContainerName is also missing in 2.37.1. (#1088) (#1089)
(cherry picked from commit ae1d457b49)

Co-authored-by: Felix Fontein <felix@fontein.de>
2025-06-14 17:16:08 +02:00
Felix Fontein
620037e470
docker_container idempotency: work around Docker not returning true configured command when command is [] (#1085) (#1086)
* Work around Docker not returning true configured command when command is [].

* Lint.

* Add test.

* Add changelog fragment.

(cherry picked from commit e9f4553b01)
2025-06-08 21:06:26 +02:00
patchback[bot]
6e2505cd48
docker_compose_v2: work around bug in docker compose images --format json (#1083) (#1084)
* Work around ubg in docker compose images --format json.

* ContainerName is no longer in image record.

(cherry picked from commit 8ecbd9a5cc)

Co-authored-by: Felix Fontein <felix@fontein.de>
2025-06-08 09:24:44 +02:00
Felix Fontein
6c1e04094f Use community.crypto 2.x.y on ubuntu2004.
(cherry picked from commit 38591969dd)
2025-05-03 13:39:15 +02:00
patchback[bot]
26ffe94070
[PR #1076/29542816 backport][stable-3] CI: Use community.crypto 2.x.y for older ansible-core versions / Python versions (#1077)
* Use community.crypto 2.x.y for older ansible-core versions / Python versions. (#1076)

(cherry picked from commit 295428167b)

* This also applies for ansible-core 2.15.

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2025-05-01 15:42:34 +02:00
Felix Fontein
d50dedd4cd
[stable-3] Run extra sanity tests with nox (#1069)
* Run extra sanity tests with nox. (#1068)

(cherry picked from commit e20118b68f)

* Fix CI.

* Adjust ignore file.
2025-04-19 19:53:23 +02:00
patchback[bot]
0725685c17
CI: fix certificates for HTTPS connection tests (#1066) (#1067)
* Try to fix CA cert for HTTPS connection tests.

* Try to fix leaf certificate.

* Add more properties.

(cherry picked from commit 8694f488d7)

Co-authored-by: Felix Fontein <felix@fontein.de>
2025-04-11 16:48:24 +02:00
patchback[bot]
64997ca907
Use new tools from community.internal_test_tools. (#1061) (#1062)
(cherry picked from commit a1e9412bed)

Co-authored-by: Felix Fontein <felix@fontein.de>
2025-03-22 12:17:26 +01:00
patchback[bot]
f2f0492678
Use shared unit test utils from community.internal_test_tools. (#1056) (#1057)
(cherry picked from commit 9730b2a3c3)

Co-authored-by: Felix Fontein <felix@fontein.de>
2025-03-12 21:56:23 +01:00
Felix Fontein
30db88c26a
[stable-3] Backport CI improvements (#1055)
* Fix/improve tests (#1052)

* Improve unit test condition.

* Improve/fix tests.

(cherry picked from commit fdb97428a3)

* Make sure that community.internal_test_tools is installed for unit tests.

(cherry picked from commit 9972eee967)
2025-03-12 21:30:15 +01:00
patchback[bot]
8fb1a7e4ff
Fix/improve tests (#1052) (#1053)
* Improve unit test condition.

* Improve/fix tests.

(cherry picked from commit fdb97428a3)

Co-authored-by: Felix Fontein <felix@fontein.de>
2025-03-08 10:17:50 +01:00
patchback[bot]
fe81035065
Fix label sanitization error handling. (#1029) (#1030)
(cherry picked from commit 9cc70f5202)

Co-authored-by: Felix Fontein <felix@fontein.de>
2025-01-22 22:07:16 +01:00
Felix Fontein
e10468dd93 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.

(cherry picked from commit 9e26c4794e)
2025-01-14 21:19:27 +01:00
Felix Fontein
86ee5b8527 Add ignore.txt entires. 2025-01-03 15:59:27 +01:00
Felix Fontein
0bfddfc2b0 Improve extra sanity test for docker action group.
(cherry picked from commit 1a218f3c5e)
2025-01-03 14:50:45 +01:00
patchback[bot]
8fec15ffab
[PR #1018/04c97728 backport][stable-3] CI: Arch Linux updated to Python 3.13 (#1019)
* Arch Linux updated to Python 3.13. (#1018)

(cherry picked from commit 04c97728dc)

* Skip Compose v1 tests on Arch Linux.

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-22 22:03:06 +01:00
Felix Fontein
49263d6af5
[stable-3] docker_compose_v2: ignore build events for changed status (#1012)
* docker_compose_v2: add ignore_build_events option; ignore build events by default (#1011)

* Add ignore_build_events option.

* Adjust docs and tests.

* Switch default to true.

* Remove unnecessary parts from tests.

(cherry picked from commit 2e7b4e4605)

* Remove the new option.
2024-12-14 21:32:14 +01:00
patchback[bot]
46e860dcdb
Correctly set can_talk_is_docker. (#995) (#996)
(cherry picked from commit 78bdccd453)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-11-23 13:32:03 +01:00
patchback[bot]
6c089a3e53
Add more tests. (#980) (#981)
(cherry picked from commit a740cfa0c4)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-10-19 22:51:58 +02:00
Felix Fontein
28e87f4602
Compose v2: improve parsing of dry-run building JSON events (#976)
* Catch more warnings that shouldn't be there.

* Add explicit handling of dry-run image build JSON events.

These produce some one-off ID values that don't make any sense as ID values.
2024-10-14 20:56:49 +02:00
Felix Fontein
423a9bbf61
Add Docker Compose v2 exec and run modules. (#969) 2024-09-27 13:00:48 +03:00
Felix Fontein
d478174786
Add stable-2.18 to CI. (#970) 2024-09-24 13:46:51 +03:00
x4e-jonas
d8cefc4190
Fix typo in Docker connection tests. (#964)
Co-authored-by: x4e-jonas <x4e-jonas@users.noreply.github.com>
2024-09-09 15:28:17 +02:00
Felix Fontein
3cc27ecd65
Handle yet another random unstructured error output. (#949) 2024-08-07 15:58:23 +02:00
Felix Fontein
41445def33
Upload Docker image used for connection tests to GHCR. (#944) 2024-07-25 20:46:43 +00:00
Felix Fontein
c3aceebd7d
Docker* connection plugins: add working_dir and privileged options (#943)
* Add working_dir option.

* Add privileged option.

* Add basic tests.

* Also test privileged.
2024-07-25 20:35:32 +00: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
a30fd93a44
Check for unparsable messages. (#932) 2024-07-17 23:54:31 +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
ec37166a6c
Use registry image from ghcr.io. (#927) 2024-07-08 19:22:18 +00:00
Felix Fontein
8e8a091469
Get rid of hello-world image, 2/2 (#925)
* Use our image for container platform test.

* Remove docker_test_image_hello_world_platform image.
2024-07-08 09:27:27 +02:00
Felix Fontein
f9461bb441
Get rid of hello-world image, 1/2 (#924)
* Use our image for pull test.

* Add 386 versions of the images.
2024-07-08 09:04:06 +02:00
Felix Fontein
8efbd560f9 Use variable instead of image directly. 2024-07-07 23:20:42 +02:00
Felix Fontein
7ec56d33cb Fix health check so that Docker also likes it... 2024-07-07 22:30:05 +02:00
Felix Fontein
569880486f
Improve health check image. (#919) 2024-07-07 21:19:26 +02:00
Felix Fontein
f69a29403b
Add health check test image. (#918) 2024-07-07 19:31:16 +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
1713995bfc
Fix CI for CentOS 7. (#908) 2024-07-01 13:51:02 +02:00
Andrew Dawes
d98850e9e9
Support ansible-test integration tests for arm64 (#906)
* Support ansible-test integration for arm64

* Replace set_fact with inline templated conditional
2024-06-30 14:07:25 +02:00
Felix Fontein
2ce838ab92
Use new images for export/import tests. (#905) 2024-06-29 19:20:24 +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
7efc6381d0
CI: use new container images for Compose v2 pull tests (#900)
* Use simple-1 image instead of Alpine image for docker_compose_v2_pull tests.

* Use simple-1 image instead of Alpine image for docker_compose_v2 pull tests.
2024-06-29 11:43:00 +02:00