Commit Graph

484 Commits

Author SHA1 Message Date
Felix Fontein
3470e5effb
Add setup role for Docker Compose v2. (#542) 2022-12-30 15:19:20 +01:00
Felix Fontein
c6aca384ed Delete stopped container as well. 2022-12-28 16:33:45 +01:00
Felix Fontein
faa7fef504
docker_host_info: allow to list all containers (#538)
* Allow to list all containers.

* Fix typo.
2022-12-27 21:39:17 +01:00
Felix Fontein
44b98609fd
CI: add CentOS Stream 8 with Python 3.6 to matrix (#531)
* Add more VMs.

* Disable corresponding docker containers.

* Remove VMs.
2022-12-20 22:57:21 +01:00
Felix Fontein
839ad6086e Improve docsite build. 2022-12-18 21:50:41 +01:00
Felix Fontein
f3e77c193d Switch to my fork of ansible-test-gh-action. 2022-12-18 09:54:09 +01:00
Felix Fontein
5cb24d2e69 The ansible-test patch has been backported to stable-2.12. 2022-12-17 19:39:36 +01:00
Mark Mercado
cc9191f8cb
Fix the collection name (#532) 2022-12-14 07:45:21 +01:00
Felix Fontein
b6034929bd Fix CI names. 2022-12-12 21:27:07 +01:00
Felix Fontein
02915cd22c
Improve CI (#528)
* Update CI scripts to be more close to the ones in ansible-core.

* Extend CI matrix.

* Make sure that docker daemon is running (when not in a container).

* Make sure that connection plugin tests do not uninstall Docker daemon.

* Check some conditions.

* Fix error ignores.

* Skip SSH test on Alpine VMs.

* Take care of more errors.

* Adjust for more errors.

* Improve conditions.

* Remove new entries from CI matrix; make CI matrix nicer.
2022-12-11 17:30:37 +01:00
Felix Fontein
7e213200ce Next expected release is 3.4.0. 2022-12-09 21:46:55 +01:00
Felix Fontein
b8fb4740a3 Release 3.3.2. 2022-12-09 21:27:38 +01:00
Felix Fontein
970b95e3fa
Bump CentOS Stream 8 Python from 3.8 to 3.9. (#529) 2022-12-09 14:58:00 +01:00
Felix Fontein
6db26903ed Prepare 3.3.2 release. 2022-12-08 22:16:57 +01:00
Felix Fontein
3a40112a76
Remove timeout when waiting for container to finish. (#527) 2022-12-08 22:15:42 +01:00
Felix Fontein
b318c02148 Allow triggering docs workflow manually. 2022-12-07 19:54:23 +01:00
Felix Fontein
f823555ae3
Backports to stable-2.13 and stable-2.14 have been merged. (#525)
https://github.com/ansible/ansible/pull/79538
https://github.com/ansible/ansible/pull/79507
2022-12-07 08:58:58 +01:00
Felix Fontein
13968bda22 Next expected release is 3.4.0. 2022-12-06 13:55:14 +01:00
Felix Fontein
080a043c79 Release 3.3.1. 2022-12-06 13:21:27 +01:00
Felix Fontein
ed48629399 Prepare 3.3.1 release. 2022-12-06 08:15:55 +01:00
Felix Fontein
e87b327764
Improve container detection. (#522) 2022-12-06 08:11:44 +01:00
Felix Fontein
3ed7c56704 The next expected release is 3.4.0. 2022-12-03 21:40:51 +01:00
Felix Fontein
ffff6b7e77 Release 3.3.0. 2022-12-03 21:15:34 +01:00
Felix Fontein
11351839ee
Fix CI image selection. (#521) 2022-12-03 15:31:00 +01:00
Felix Fontein
019712b09f
Only use ubuntu-20.04 if necessary. (#520) 2022-12-02 07:59:10 +01:00
Felix Fontein
6ccbde9f98
Fix chdir option. (#518) 2022-12-02 06:48:39 +01:00
Felix Fontein
549de87ab5
Switch CI from ubuntu-latest to ubuntu-20.04 to avoid problems with ansible-test from ansible-core 2.12, 2.13, 2.14. (#519) 2022-12-01 23:02:19 +01:00
Felix Fontein
2957138153
latest docker-py bugfix (npipe) (#513)
* socket: handle npipe close on Windows (https://github.com/docker/docker-py/pull/3056)

Fixes https://github.com/docker/docker-py/issues/3045

Cherry-picked from 30022984f6

Co-authored-by: Nick Santos <nick.santos@docker.com>

* Add changelog fragment.

Co-authored-by: Nick Santos <nick.santos@docker.com>
2022-12-01 06:59:05 +01:00
Felix Fontein
a239c0b2db Prepare 3.3.0 release. 2022-12-01 00:04:00 +01:00
Felix Fontein
6e04e1f172
Handle ansible_default_ipv4 not there in tests. (#514) 2022-12-01 00:02:02 +01:00
iamjpotts
166d485216
Make image archive/save idempotent, using image id and repo tags as keys (#500) 2022-11-30 23:45:36 +01:00
Felix Fontein
c2d84efccb
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.
2022-11-30 22:25:33 +01:00
iamjpotts
ee9ddb954f
Add docstring to ImageManager.__init__ and fix docstring for ImageManager.archive_image (#509) 2022-11-30 22:04:11 +01:00
Felix Fontein
90086f00ad Next expected release is 3.3.0. 2022-11-28 22:49:30 +01:00
Felix Fontein
5b4d24a817 Release 3.2.2. 2022-11-28 22:30:20 +01:00
Felix Fontein
9ab3130b43 Prepare 3.2.2 release. 2022-11-28 22:11:07 +01:00
Felix Fontein
edf0d3ec99
Make kill_signal accept strings. (#506) 2022-11-28 22:10:07 +01:00
Felix Fontein
70d68dd2bd
ansible-core 2.11 is EOL. Move CI runs to GHA. (#504) 2022-11-27 22:37:54 +01:00
Felix Fontein
d043fc6cbc Include collection name into docs workflows. 2022-11-27 17:44:21 +01:00
Felix Fontein
b2c86af64c Reference documentation in README. 2022-11-26 09:53:44 +01:00
Felix Fontein
20492e940f Add GH Pages publishing. 2022-11-26 09:39:13 +01:00
iamjpotts
ce4b0ddcab
Ignore PyCharm related files (#501) 2022-11-25 21:19:47 +01:00
Felix Fontein
f17e6d52bd Allow changelog fragments with .yaml ending. 2022-11-17 12:41:54 +01:00
Felix Fontein
0d42792f97 Next expected release is 3.3.0. 2022-11-06 22:20:49 +01:00
Felix Fontein
1427a7ccdd Release 3.2.1. 2022-11-06 22:02:10 +01:00
Felix Fontein
c7f5c74f15 Prepare 3.2.1 release. 2022-11-06 21:16:18 +01:00
Felix Fontein
2261dff49f
Document attributes (#497)
* Add 'docker' action group attribute.

* Compatibility with older ansible-core releases.

* Fix typo.

* Docment standard attributes.

* Improve docs.

* Add shortcuts for common combinations.
2022-11-06 21:15:09 +01:00
Felix Fontein
7ea99edf07 Next expected release is 3.3.0. 2022-11-01 21:41:17 +01:00
Felix Fontein
79b05f5e1d Release 3.2.0. 2022-11-01 21:18:46 +01:00
Felix Fontein
5b31f17016
Add image_name_mismatch option. (#488) 2022-11-01 19:48:58 +00:00