Commit Graph

450 Commits

Author SHA1 Message Date
Felix Fontein
228cbf6f6f
Add MarkDown changelog and use it by default. (#789) 2024-02-09 13:08:27 +01:00
Felix Fontein
cba0f190eb Simplifiy workflows. (#762)
(cherry picked from commit 7129cc5a30)
2024-01-21 15:23:22 +01:00
Felix Fontein
3cdbeda34f
Fix tests for Moby 25.0.0. (#769) 2024-01-20 17:43:07 +01:00
Felix Fontein
58036e5092
mac_address no longer works with Docker API v1.44+. (#764) (#768)
(cherry picked from commit 648e0652d5)
2024-01-20 14:27:04 +01:00
patchback[bot]
7a7494a718
Add Galaxy import workflow (#754) (#755)
* Add Galaxy import workflow.

* A dependency of galaxy-importer does not work on Python 3.12.

* Make yamllint happy.

(cherry picked from commit 5adac5216a)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-01-13 23:12:12 +01:00
Felix Fontein
e501ed2c59
Adjust to new shellcheck in ansible-core devel's sanity tests. (#741) (#742)
(cherry picked from commit 5256f94342)
2024-01-04 22:43:38 +01:00
Felix Fontein
5e96be6c39
Compose digest instead of accidentally using wrong one. (#733) (#734)
(cherry picked from commit 42453444ff)
2023-12-31 15:43:12 +01:00
patchback[bot]
27bb808199
Bump actions/setup-python from 4 to 5 (#724) (#725)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  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>
(cherry picked from commit 74636e7f0e)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 18:21:33 +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
4e172e3111
Fix bad expressions in tests. (#711) (#712)
ci_complete

(cherry picked from commit b8afdc52b1)
2023-11-28 23:11:24 +01:00
Felix Fontein
1bdf09a81d Remove broken Fedora 36 from CI. 2023-11-26 16:37:53 +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
df37b4142f Stick to pre-semantic-markup version. 2023-11-12 11:25:55 +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
patchback[bot]
8db15e72e8
Fix Galaxy URLs. (#688) (#689)
(cherry picked from commit e7133f8b1b)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-09-30 21:27:16 +00:00
Felix Fontein
d5dbb437c9
[stable-2] Move ansible-core 2.13 to EOL CI (#687)
* Move ansible-core 2.13 to EOL CI.

* Replace CentOS 7 by Alpine 3.
2023-09-19 19:32:37 +02:00
patchback[bot]
a9c1d1ce1a
Fix example of docker-compose module (#674) (#675)
(cherry picked from commit e21d6d380c)

Co-authored-by: bastantoine <bastien.antoine69+github@gmail.com>
2023-07-25 10:23:36 +02:00
Felix Fontein
5c7f9fe33d
[stable-2] devel EE: force PyYAML==5.3.1 (#671)
* Force PyYAML==5.3.1 in EE requirements.

* Let's try <= instead of ==.

* Revert "Let's try <= instead of ==."

This reverts commit 31ab7521b4.

* Revert "Force PyYAML==5.3.1 in EE requirements."

This reverts commit 42b770588c.

* Try to pin PyYAML for devel EE.
2023-07-19 22:21:19 +02:00
patchback[bot]
dd9aeac0bd
Force PyYAML to 5.3.1. (#669) (#670)
(cherry picked from commit 017536953a)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-07-19 16:50:45 +02:00
patchback[bot]
7f385fa268
Install and use Python 3.11 on RHEL UBI 9. (#666) (#667)
(cherry picked from commit 1d0b6ddef3)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-07-12 22:23:37 +02:00
patchback[bot]
437bface93
Disable EE with ansible-core devel for now until UBI 9 has Python 3.10 support. (#664) (#665)
(cherry picked from commit 3f6d5a96d9)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-07-12 13:31:50 +02:00
patchback[bot]
119f379ef7
Bump AZP container. (#655) (#656)
(cherry picked from commit 8da385f39f)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-06-24 12:14:44 +02:00
Felix Fontein
84fc4ca30b
SuSE: install docker-compose v1 from pip instead of system packages. (#650) (#651)
The system package switched to docker-compose v2.

(cherry picked from commit 3f9f41e5a9)
2023-06-20 08:26:54 +02: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]
2dad1d46ae
Update docker_container_exec.py documentation (#642) (#643)
Should be or not and

(cherry picked from commit 861988fd36)

Co-authored-by: Kendi <37668739+K3ndu@users.noreply.github.com>
2023-06-01 13:18:32 +02:00
Felix Fontein
9edb47ce32
Move ansible-core 2.12 to EOL CI (#640) (#641)
* 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.

(cherry picked from commit cad2ecca3d)
2023-05-29 17:55:04 +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
c68d90de76
Switch to Ansible Galaxy compatible requirements files for tests. (#633) (#634)
(cherry picked from commit 74b70f81c8)
2023-05-21 14:55:16 +02:00
patchback[bot]
af93bd1ba5
Rewrite EE test workflow to use ansible-builder 3.0.0. (#630) (#632)
(cherry picked from commit 2259246f4f)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-05-20 11:33:30 +02:00
patchback[bot]
38a40db26a
Improve examples: use FQCNs and always add name: to tasks (#624) (#627)
* Improve examples: use FQCNs and always add name: to tasks.

* Improvements.

Co-authored-by: Don Naro <dnaro@redhat.com>

---------

Co-authored-by: Don Naro <dnaro@redhat.com>
(cherry picked from commit 7bdb2127e0)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-05-15 22:20:04 +02:00
patchback[bot]
8eecb6b6a8
Improve time units of docker_swarm documentation. (#623) (#625)
(cherry picked from commit 6187068ee5)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-05-13 15:36:01 +00:00
Felix Fontein
6292483e98
Arch Linux now uses Python 3.11. (#618) 2023-05-04 08:13:04 +02:00
Felix Fontein
4aa9c55dd6 Until Docker SDK for Python is fixed, add constraints on urllib3 and requests. 2023-05-04 07:24:16 +02:00
patchback[bot]
ae0d53811a
Do extra docs validation; explicitly disallow semantic markup in docs (#607) (#608)
* Do extra docs validation. Explicitly disallow semantic markup in docs.

* Forgot to add new requirement.

* Improve test.

* TEMP - make CI fail.

* Revert "TEMP - make CI fail."

This reverts commit d381f1a431.

* Remove unnecessary import.

* Make sure ANSIBLE_COLLECTIONS_PATH is set.

* Make sure sanity tests from older Ansible versions don't complain.

(cherry picked from commit 9e1a0a6fb8)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-04-16 19:04:45 +02:00
patchback[bot]
93f3bd62d0
docker_swarm: document docker_node module for manager removal (#602) (#604)
* docker_swarm: document manager removal

Add note that community.docker.swarm_node needs to
be used to demote a manager before it can be removed.

Fixes #601.

* docker_swarm: improve wording

* docker_swarm: fix formatting

(cherry picked from commit 634da44f67)

Co-authored-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2023-04-08 19:42:24 +02:00
patchback[bot]
88fb666d41
More true/false normalization. (#597) (#598)
(cherry picked from commit d0a3e587a5)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-03-06 22:36:33 +01: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
57e6bb7ca5 Cancel concurrent workflow runs in PRs.
(cherry picked from commit d0e61097f1)
2023-02-23 09:56:41 +01:00
Felix Fontein
d50d6e05ca
[stable-2] Ignore more unnecessary import warnings (#587)
* Fix imports. (#585)

(cherry picked from commit a426232523)

* Add another ignore.
2023-02-12 22:32:02 +01:00
Felix Fontein
8e99d0c4da
Remove unnecessary test imports. (#583) (#584)
(cherry picked from commit 449b91d489)
2023-02-12 21:29:50 +01:00