Felix Fontein
1c8272f821
Change Docker Stack modules to use common CLI module framework. ( #745 )
2024-01-14 08:54:06 +01:00
Felix Fontein
5adac5216a
Add Galaxy import workflow ( #754 )
...
* Add Galaxy import workflow.
* A dependency of galaxy-importer does not work on Python 3.12.
* Make yamllint happy.
2024-01-13 19:25:22 +01:00
Felix Fontein
b84c771fc5
Prepare 3.6.0-b2.
2024-01-13 16:21:27 +01:00
Felix Fontein
f04cdb7e06
Remove sanity ignore files for Ansible 2.9 and ansible-base 2.10. ( #753 )
2024-01-13 16:05:59 +01:00
Felix Fontein
f429017d94
Add inventory filter capability ( #698 )
...
* Add inventory filter capability.
* Use community.library_inventory_filtering_v1 collection.
* Bump dependency to 1.0.0.
* Mention the new dependency in the changelog.
2024-01-13 15:51:02 +01:00
Felix Fontein
97a0610f25
Docker Compose v2: extend/improve event parsing tests ( #752 )
...
* Normalize ansible-docker-test-xxx in stderr logs.
* Deduplicate.
* Add new testcases including the new module.
2024-01-13 15:49:30 +01:00
Felix Fontein
307dc4045a
Add docker_compose_v2_pull module ( #751 )
...
* Add docker_compose_v2_pull module.
* Improve and extend parsing of events.
* Add ignores.
* --policy is only available since Compose 2.22.0.
2024-01-13 14:36:26 +01:00
Felix Fontein
8ca5e2f810
Extract more common code and docs fragment for Docker Compose. ( #748 )
2024-01-07 18:17:10 +01:00
Felix Fontein
cb4dd2fed1
docker_compose_v2: move some code to module_utils ( #747 )
...
* Move some code to module_utils.
* Add unit tests.
Test cases are auto-generated from integration test logs.
* Rename ResourceEvent → Event.
2024-01-07 16:17:31 +01:00
Felix Fontein
eed89f32eb
docker_compose_v2: allow to specify pull policy; parse pull events; improve error handling; always return stderr ( #746 )
...
* Add pull option for 'docker compose up'.
* Improve dry-mode event parsing, and also parse pull-related events.
* Improve error handling, and add first tests.
* Fix action status documentation.
* Add more tests.
* Always return stderr.
This makes debugging misbehavior a lot easier since you can see
what 'docker compose' actually returned.
* Reformat existing tests.
2024-01-07 08:45:20 +01:00
Felix Fontein
4a5293503e
Rename ca_cert option to ca_path ( #744 )
...
* Rename ca_cert option to ca_path.
* Two more.
2024-01-06 17:03:39 +01:00
Felix Fontein
5f9f78ede6
Update/improve documentation ( #743 )
...
* Mention new modules in guide.
* Improve formatting.
* Improve docs for SSL version option.
* Add docs and example for module defaults group.
* Remove not applicable comment.
* Improvements.
* Remove dead link for Ansible Operator.
* Ansible-bender seems to be no longer actively maintained, and its more aimed at podman.
* Add note and preamble for example.
2024-01-06 10:07:53 +01:00
Felix Fontein
22d595eddb
Next expected release is 3.6.0.
2024-01-04 23:14:15 +01:00
Felix Fontein
7d680aa102
Release 3.6.0-b1.
2024-01-04 22:44:56 +01:00
Felix Fontein
5256f94342
Adjust to new shellcheck in ansible-core devel's sanity tests. ( #741 )
2024-01-04 22:27:34 +01:00
Felix Fontein
7c61325a83
3.6.0 -> 3.6.0-b1.
2024-01-04 21:53:06 +01:00
Felix Fontein
b774837183
Add docker_compose_v2 module ( #739 )
...
* Add docker_compose_v2 module.
* Add note on compatibility.
* Parse more events.
Emit warnings (or things we assume are warnings), and report unparsable
messages to the user so they can report them to us.
2024-01-03 07:05:08 +00:00
Felix Fontein
762ce3e1cf
Remove 'debug' parameter from new CLI modules. Move log writing to single function. ( #740 )
2024-01-02 21:10:59 +01:00
Felix Fontein
7aa9791ea6
Prepare 3.6.0 release.
2024-01-02 15:31:58 +01:00
Felix Fontein
39717d380e
Avoid shadowing loop variables. ( #738 )
2024-01-02 14:21:19 +01:00
Felix Fontein
2caa77c032
Remove superfluous timeout argument. ( #737 )
2024-01-02 14:05:27 +01:00
Felix Fontein
ce7402dc9f
Add docker_image_build module. ( #735 )
2024-01-02 09:21:45 +01:00
Felix Fontein
199d9e50d3
Fix Unix socket path. ( #736 )
2024-01-01 22:53:58 +01:00
Felix Fontein
56bbef2b44
Fix example.
2024-01-01 18:09:08 +01:00
Felix Fontein
42453444ff
Compose digest instead of accidentally using wrong one. ( #733 )
2023-12-31 15:31:43 +01:00
Felix Fontein
02bb4ceaf7
Update docs.
2023-12-31 15:14:01 +01:00
Felix Fontein
c3f8f80a75
Add docker_image_remove module. ( #732 )
2023-12-31 15:13:04 +01:00
Felix Fontein
66b341aa9e
Add docker_image_tag module ( #730 )
...
* Add docker_image_tag module.
* Add check mode tests.
* Improve and test image ID/digest handling.
* Adjust more tests.
2023-12-31 10:41:18 +01:00
Felix Fontein
20e78a92e0
Add docker_image_pull module ( #728 )
...
* Add docker_image_pull module.
* Support platform during idempotency check.
* Add diff mode, extend tests.
* Add image ID tests.
2023-12-31 09:51:42 +01:00
Felix Fontein
e22cee2c41
Add docker_image_push module. ( #731 )
2023-12-31 08:33:32 +00:00
Felix Fontein
8ee0452776
Run registry tests only when registry is present. ( #729 )
2023-12-29 11:27:49 +01:00
Felix Fontein
b1dfe49e7d
Fix documentation link.
2023-12-28 22:09:32 +01:00
Felix Fontein
0812d0b495
Support labels and shm_size for image build. Allow to specify (swap) memory limits in other units than bytes. ( #727 )
2023-12-28 21:42:55 +01:00
dependabot[bot]
74636e7f0e
Bump actions/setup-python from 4 to 5 ( #724 )
...
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>
2023-12-11 06:56:50 +01:00
Felix Fontein
48f48a0ef8
Install community.library_inventory_filtering_v1 for PR docs builds.
...
This is required to make CI in #698 pass.
2023-12-10 09:53:59 +01:00
Felix Fontein
46e6070041
The next expected release is 3.6.0.
2023-12-10 09:51:23 +01:00
Felix Fontein
080a2d68c1
Release 3.5.0.
2023-12-10 09:27:58 +01:00
Felix Fontein
c4c347c626
Add proper platform handling. ( #705 )
2023-12-10 09:03:32 +01:00
Felix Fontein
b3ef5f5196
Clean up vendored Docker SDK for Python TLS handling code. ( #722 )
2023-12-09 23:19:36 +01:00
Felix Fontein
26772304f9
Do not accept tls_hostname for Docker SDK for Python 7.0.0+. ( #721 )
2023-12-09 23:16:03 +01:00
Felix Fontein
a120794958
Prepare 3.5.0 release.
2023-12-09 22:06:03 +01:00
Felix Fontein
3aa1ddcca0
Docker SDK for Python 7+: make sure that ssl_version is not passed, and error out if it was explicitly set ( #715 )
...
* 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.
2023-12-09 17:59:06 +00:00
Felix Fontein
4929ef603a
Integration tests: split up Docker setup, move docker_compose tests into own group ( #718 )
...
* 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.
* Docker SDK for Python not needed to set up registry or query host info.
2023-12-09 17:35:54 +01:00
Felix Fontein
80e39f84d8
Update docker_compose docs to indicate that it is incompatible with Docker SDK for Python 7+. ( #717 )
2023-12-09 14:40:15 +01:00
Felix Fontein
907dc28f73
Deprecate default 'ignore' of 'image_name_mismatch'. ( #703 )
2023-12-07 12:32:50 +01:00
Felix Fontein
d8cef6c71e
docker_container: refactoring preparing better comparisons ( #713 )
...
* Always get the container's image as well to allow get_value() to use that one too.
* Allow options and engines to overwrite comparison functions.
* Do not fail if image (by ID) cannot be found.
* Allow to control when container image is needed.
* Pass option to compare function.
* Allow to pass the host info for retrieving a value.
* Add changelog fragment.
2023-12-05 07:26:11 +01:00
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