Commit Graph

465 Commits

Author SHA1 Message Date
Felix Fontein
af558d2ef5 Remove Fedora 32 tests from CI. (#882)
(cherry picked from commit 6fc9727f60)
2024-06-14 08:24:39 +02:00
patchback[bot]
cdb37c35c9
Bump Azure test container to 6.0.0. (#877) (#878)
(cherry picked from commit 4cb29220e5)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-06-10 21:02:05 +02:00
patchback[bot]
7b132df9b0
Stop building EE with CentOS Stream 8, which no longer has builds. (#873) (#875)
(cherry picked from commit c2c47636b4)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-06-04 13:01:40 +02:00
Felix Fontein
84c1589788 The next release will be 2.7.11. 2024-05-26 21:04:39 +02:00
Felix Fontein
5578af74e5 Release 2.7.10 2024-05-26 20:47:55 +02:00
Felix Fontein
5ad90b9d43 Prepare 2.7.10 release. 2024-05-26 20:23:40 +02:00
Felix Fontein
b4e0ba9e5e
[stable-2] Fix docker_image tests with Docker SDK for Python 7.1.0; restrict requests in EE dependencies to < 2.32.0 (#872)
* Docker SDK for Python 7.1.0 also dropped support for API versions < 1.24.

* EE: restrict requests to < 2.32.0.
2024-05-26 19:43:47 +02:00
patchback[bot]
0a54f8097a
Pass codecov token to ansible-test-gh-action. (#854) (#855)
(cherry picked from commit 8cbdf5400c)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-05-11 21:47:35 +02:00
Felix Fontein
c5c4b96064 Remove Arch Linxu from CI since ansible-core 2.14 no longer supports Python 3.12. 2024-05-05 14:53:05 +02:00
Felix Fontein
93cbbbe909 Arch Linux switched to Python 3.12. (#842)
(cherry picked from commit f09a2540aa)
2024-05-05 14:51:03 +02:00
Felix Fontein
cf455490af Restrict VMs for docker-compose v1 tests. 2024-03-24 17:38:47 +01:00
Felix Fontein
de4889a6c0 Next release will be 2.7.10. 2024-03-16 20:38:38 +01:00
Felix Fontein
1e93fd6dda Release 2.7.9. 2024-03-16 20:15:14 +01:00
Felix Fontein
e2e1bc796b
Prevent RCE via inventory plugins (#815) (#818)
* Prevent RCE via inventory plugins.

* Do not make ansible_connection unsafe.

* Add test.

(cherry picked from commit bf1281ae7f)
2024-03-14 22:09:57 +01:00
Felix Fontein
5cddffa8bb
[stable-2] Fix/improve inventory integration tests (#819)
* Improve inventory integration tests. (#817)

(cherry picked from commit 14e2f92974)

* Fix Python deps setup in callback/inventory tests. (#816)

(cherry picked from commit 6600f501ae)
2024-03-14 21:14:33 +01:00
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