Commit Graph

792 Commits

Author SHA1 Message Date
Felix Fontein
b8afdc52b1
Fix bad expressions in tests. (#711)
ci_complete
2023-11-28 22:52:43 +01:00
Felix Fontein
cbdaab3e42
Remove Fedora 36 from CI. (#709) 2023-11-24 21:21:12 +01:00
Felix Fontein
64847ad875
devel supports Fedora 39, and no longer Fedora 38. (#707) 2023-11-17 21:17:27 +01:00
Felix Fontein
5630e3e4f3
Add rhel/9.3 for devel, remove rhel/9.2. (#706) 2023-11-15 21:40:30 +01:00
Felix Fontein
a50be1abf6 Next expected release is 3.5.0. 2023-11-12 12:27:56 +01:00
Felix Fontein
1052ce2ded Release 3.4.11. 2023-11-12 12:04:56 +01:00
Alexander Jähnel
4c220c4d74
fix(community.docker.docker_volume): labels can be none (#702)
* 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>
2023-11-12 11:19:56 +01:00
Felix Fontein
9ba09432a7 Prepare 3.4.11 release. 2023-11-12 10:02:23 +01:00
Felix Fontein
14683421b5
Fix failing sanity test. (#700) 2023-11-08 13:23:39 +01:00
Felix Fontein
70695a8dcd Next expected release is 3.5.0. 2023-10-29 15:54:29 +01:00
Felix Fontein
ee054c6bf7 Release 3.4.10. 2023-10-29 15:30:46 +01:00
Felix Fontein
a0775fe194 Prepare 3.4.10 release. 2023-10-29 08:32:13 +01:00
Felix Fontein
1c66f880ee
Fix typos, improve markup, improve scenario guide (#699)
* Fix typos.

* Improve markup.

* Mention missing 'new' modules in scenario guide.
2023-10-29 08:30:24 +01:00
Felix Fontein
fbc2750b6a
Do not pass data_path_addr for older Docker SDK for Python versions. (#696) 2023-10-14 23:48:46 +02:00
Felix Fontein
33c0957292 Next expected release will be 3.5.0. 2023-10-08 22:18:48 +02:00
Felix Fontein
70ea796914 Release 3.4.9. 2023-10-08 21:35:36 +02:00
Felix Fontein
be610963b5 Prepare 3.4.9 release. 2023-10-08 18:38:22 +02:00
Felix Fontein
4d9b85c975
Update vendored Docker SDK for Python code (#694)
* vendored Docker SDK for Python code: volume: added support for bind propagation

https://docs.docker.com/storage/bind-mounts/#configure-bind-propagation

Cherry-picked from bea63224e0

Co-authored-by: Janne Jakob Fleischer <janne.fleischer@ils-forschung.de>
Co-authored-by: Milas Bowman <milas.bowman@docker.com>

* vendored Docker SDK for Python code: fix: eventlet compatibility

Check if poll attribute exists on select module instead of win32 platform check

The implementation done in #2865 is breaking usage of docker-py library within eventlet.
As per the Python `select.poll` documentation (https://docs.python.org/3/library/select.html#select.poll) and eventlet select removal advice (eventlet/eventlet#608 (comment)), it is preferable to use an implementation based on the availability of the `poll()` method that trying to check if the platform is `win32`.

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

Cherry-picked from 78439ebbe1

Co-authored-by: Mathieu Virbel <mat@meltingrocks.com>

* vendored Docker SDK for Python code: fix: use response.text to get string rather than bytes

Adjusted from 0618951093

Co-authored-by: Mehmet Nuri Deveci <5735811+mndeveci@users.noreply.github.com>
Co-authored-by: Milas Bowman <milas.bowman@docker.com>

* vendored Docker SDK for Python code: Fix missing asserts or assignments

Cherry-picked from 0566f1260c

Co-authored-by: Aarni Koskela <akx@iki.fi>

---------

Co-authored-by: Janne Jakob Fleischer <janne.fleischer@ils-forschung.de>
Co-authored-by: Milas Bowman <milas.bowman@docker.com>
Co-authored-by: Mathieu Virbel <mat@meltingrocks.com>
Co-authored-by: Mehmet Nuri Deveci <5735811+mndeveci@users.noreply.github.com>
Co-authored-by: Aarni Koskela <akx@iki.fi>
2023-10-08 18:16:27 +02:00
Ethan Paul
78801088ae
Update docker_stack_info module documentation to clarify functionality (#693)
* Update documentation to reflect module functionality

Clarify that this module is used for accessing information on all stacks
Add link to docker_stack_task_info module for users looking for detailed info on a single stack

Fixes #690

* Remove trailing whitespace, add trailing period.

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-10-07 14:04:59 +02:00
Felix Fontein
2c633dadeb
CI: ansible-core devel drops support for Python 2.7 and 3.6 (#691)
* ansible-core devel drops support for Python 2.7 and 3.6.

* Force PyYAML 5.3.1 on Alpine.
2023-10-04 23:22:08 +02:00
Felix Fontein
e7133f8b1b
Fix Galaxy URLs. (#688) 2023-09-30 21:36:05 +02:00
Felix Fontein
d9f49fc073
Add ansible-core 2.16 to the matrix. (#686) 2023-09-19 17:51:26 +02:00
dependabot[bot]
128117bb1c
Bump actions/checkout from 3 to 4 (#685)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 18:57:44 +02:00
Felix Fontein
d266c69ddc
Fix documentation (#684)
* Fix documentation.

* Fix line length.
2023-09-10 21:27:26 +02:00
Felix Fontein
6f6dd14492
Ignore sanity check. (#679) 2023-08-11 09:01:39 +02:00
bastantoine
e21d6d380c
Fix example of docker-compose module (#674) 2023-07-25 10:09:47 +02:00
Felix Fontein
92fc542c00
Make unit tests work with Python 3.12. (#673) 2023-07-23 22:33:07 +02:00
Felix Fontein
017536953a
Force PyYAML to 5.3.1. (#669) 2023-07-19 15:57:00 +02:00
Felix Fontein
0a8f3fa7d6
Remove no longer needed ignore. (#668) 2023-07-15 12:40:52 +02:00
Felix Fontein
1d0b6ddef3
Install and use Python 3.11 on RHEL UBI 9. (#666) 2023-07-12 19:24:48 +02:00
Felix Fontein
3f6d5a96d9
Disable EE with ansible-core devel for now until UBI 9 has Python 3.10 support. (#664) 2023-07-12 08:13:05 +02:00
Felix Fontein
e04111550d
Remove Fedora 37 from devel; add Fedora 38. (#658) 2023-06-26 22:01:21 +02:00
Felix Fontein
285bbf54cb
Add Debian Bookworm to CI. (#657) 2023-06-24 16:29:13 +02:00
Felix Fontein
8da385f39f
Bump AZP container. (#655) 2023-06-24 11:11:31 +02:00
Felix Fontein
ad1da2dc6c Next expected release is 3.5.0. 2023-06-22 14:10:11 +02:00
Felix Fontein
377f0f7355 Release 3.4.8. 2023-06-22 10:49:45 +02:00
Felix Fontein
a1c5a2d342 Update release summary. 2023-06-22 07:02:40 +02:00
Felix Fontein
024bdec919
Use semantic markup (#645)
* Use semantic markup.

* Linting.

* Define docsite targets.

* Forgot one env var.

* Add array stubs.
2023-06-22 07:01:31 +02:00
Felix Fontein
f94beeb027
Add RHEL 8.7 and 9.2 to CI (#649)
* Add RHEL 8.7, 8.8, and 9.2 to CI.

* Skip RHEL 8.8 for now.
2023-06-20 08:10:28 +02:00
Felix Fontein
3f9f41e5a9
SuSE: install docker-compose v1 from pip instead of system packages. (#650)
The system package switched to docker-compose v2.
2023-06-20 07:58:54 +02:00
Felix Fontein
5b287b6650 Next expected release is 3.4.8. 2023-06-15 13:35:05 +02:00
Felix Fontein
e5d289a650 Release 3.4.7. 2023-06-15 13:15:25 +02:00
Felix Fontein
440669e76d Prepare 3.4.7 release. 2023-06-15 07:22:20 +02:00
Kendi
861988fd36
Update docker_container_exec.py documentation (#642)
Should be or not and
2023-06-01 12:59:49 +02:00
Felix Fontein
cad2ecca3d
Move ansible-core 2.12 to EOL CI (#640)
* https://github.com/ansible/ansible/pull/79734 has been merged and backported for all branches but stable-2.10 and stable-2.11.

* Move ansible-core 2.12 to EOL CI.
2023-05-29 17:01:07 +02:00
Felix Fontein
748d619fb2
Fix EndpointSpec KeyError. (#637) 2023-05-26 17:58:09 +02:00
Felix Fontein
74b70f81c8
Switch to Ansible Galaxy compatible requirements files for tests. (#633) 2023-05-21 13:54:35 +02:00
Felix Fontein
db71c974e3 Next expected release is 3.5.0. 2023-05-20 21:38:07 +02:00
Felix Fontein
a284137d15 Release 3.4.6. 2023-05-20 21:14:49 +02:00
Felix Fontein
cdccf955a8 Prepare 3.4.6. 2023-05-20 19:38:28 +02:00