Commit Graph

698 Commits

Author SHA1 Message Date
Felix Fontein 1ee9109a73 Make wrapping variables as unsafe smarter to avoid triggering an AWX bug. (#835) 2024-04-18 07:52:15 +02:00
Felix Fontein 8ad45286a3 Remove unused code that relies on functionality deprecated in Python 3.12. (#834) 2024-04-15 11:21:46 +00:00
Felix Fontein 9e8c367c47 docker_compose_v2: allow to specify inline compose definitions (#832)
* Allow to specify inline compose definitions.

* Remove comma that trips Python 2.7.

* Add tests.

* Add PyYAML as EE dependency.

* Be more explicit on PyYAML.
2024-04-09 17:41:12 +02:00
Felix Fontein 2925334a1a Make sure project_src is an absolute path. (#828) 2024-04-04 21:39:38 +02:00
Felix Fontein 9ff53bc143 CI: Add stable-2.17; copy ignore.txt files from 2.17 to 2.18; move stable-2.14 from AZP to GHA (#830)
* Add stable-2.17 to CI; copy ignore files from 2.17 to 2.18.

* Move stable-2.14 from AZP to GHA.
2024-04-03 08:32:28 +02:00
Felix Fontein 7102d38923 Better error message if Compose version is 'dev'. (#826) 2024-03-29 19:29:14 +01:00
Felix Fontein 8f3f310c78 Docker Compose v1 no longer runs on Docker 26, which is now installed on the VM. (#822) 2024-03-24 12:57:19 +01:00
Felix Fontein 7d120ab42e Ignore pylint warnings for construct that does not work with Python 2 (#821)
* Ignore pylint warnings for construct that does not work with Python 2.

* Revert "Ignore pylint warnings for construct that does not work with Python 2."

This reverts commit 92c19c78dc.

* Different approach: use ignore.txt since otherwise ansible-core 2.14 tests fail.
2024-03-23 12:28:38 +01:00
Felix Fontein 8ed1dddbba Move Alpine 3.18 docker to stable-2.16, add Alpine 3.19 docker. (#820) 2024-03-22 13:58:37 +01:00
Felix Fontein 63483b2724 Next expected release will be 3.9.0. 2024-03-16 20:44:13 +01:00
Felix Fontein 59a8220c7f Release 3.8.1. 3.8.1 2024-03-16 20:16:57 +01:00
Felix Fontein 61c54874fd Prepare 3.8.1 release. 2024-03-15 07:34:43 +01:00
Felix Fontein bf1281ae7f Prevent RCE via inventory plugins (#815)
* Prevent RCE via inventory plugins.

* Do not make ansible_connection unsafe.

* Add test.
2024-03-14 20:08:41 +01:00
Felix Fontein 14e2f92974 Improve inventory integration tests. (#817) 2024-03-13 13:56:22 +01:00
Felix Fontein 4bab9a6b0e Fix idempotency of docker_compose_v2_pull. (#814) 2024-03-13 13:20:11 +01:00
Felix Fontein 6600f501ae Fix Python deps setup in callback/inventory tests. (#816) 2024-03-13 07:47:51 +01:00
dependabot[bot] 83d2d0ef8e Bump fsfe/reuse-action from 2 to 3 (#812)
Bumps [fsfe/reuse-action](https://github.com/fsfe/reuse-action) from 2 to 3.
- [Release notes](https://github.com/fsfe/reuse-action/releases)
- [Commits](https://github.com/fsfe/reuse-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: fsfe/reuse-action
  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>
2024-03-04 06:23:23 +01:00
Felix Fontein 6aea7efed9 Improve parsing of warnings and errors (#811)
* Add logfmt message parser.

* Parse logfmt formatted warnings.

* Follow-up for #810.

* Fix handling of warning and error messages.

* Make Python 2 compatible.

* Linting. Improving tests.
2024-03-03 13:38:55 +00:00
Felix Fontein 37e28b62d3 Do not fail on non-fatal errors. (#810) 2024-02-28 21:43:30 +01:00
Felix Fontein d4b654793e The next expected release will be 3.9.0. 2024-02-25 21:32:55 +01:00
Felix Fontein eafa7d03a8 Release 3.8.0. 3.8.0 2024-02-25 20:58:22 +01:00
Felix Fontein a7c7adce2f Add docker_container_exec note on env variables; remove superfluous notes (#806)
* Remove unnecessary notes.

* Add note for evaluating environment variables.
2024-02-24 20:45:13 +01:00
Felix Fontein bbc36e9923 Prepare 3.8.0 release. 2024-02-23 20:06:07 +01:00
Felix Fontein 45d32d53c9 Do not consider 'Waiting' events as changes/actions. (#804) 2024-02-23 19:58:40 +01:00
Felix Fontein 6f5d67860c docker_compose_v2: ignore some pull events (#803)
* Ignore some pull events.

* Adjust tests.
2024-02-23 18:24:16 +01:00
tigattack f0c91ef5f9 docs(docker_plugin): note that --grant-all-permissions is true by default (#800)
* docs(docker_plugin): note that `--grant-all-permissions` is true by default

Fixes #145

* Update plugins/modules/docker_plugin.py

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-02-16 13:48:53 +01:00
Felix Fontein 6366464812 docker_container: allow pull=never, and make check mode behavior configurable (#797)
* Allow to configure behavior of pull=true in check mode.

* Change pull to option that accepts some strings as well, such as pull=never.

* Adjust values.
2024-02-14 22:49:22 +01:00
Felix Fontein e494464e56 Add wait and wait_timeout options. (#796) 2024-02-14 22:48:36 +01:00
Felix Fontein b5de1fd1ad Add MarkDown changelog and use it by default. (#788) 2024-02-09 13:08:24 +01:00
tigattack 4c2e7ebfbc Fix typo in docker_image_build docs (#793) 2024-02-06 23:34:39 +01:00
Felix Fontein 7b554082ea Improve parsing. (#786) 2024-02-01 17:52:31 +00:00
Felix Fontein c97ac2337f Zuul third-party-check: disable ansible-doc part of galaxy-importer. (#781) 2024-01-27 14:49:28 +01:00
Felix Fontein 9f35743ab9 Next release will be 3.8.0. 2024-01-27 13:32:35 +01:00
Felix Fontein 810bf738d7 Release 3.7.0. 3.7.0 2024-01-27 13:03:00 +01:00
Felix Fontein b5d085bb88 Parse build events from stderr. (#779) 2024-01-25 06:40:32 +01:00
Felix Fontein b5391c7971 Add action group sanity test. (#777) 2024-01-24 08:25:17 +01:00
Felix Fontein cc32e0e6ad Prepare 3.7.0. 2024-01-24 07:27:56 +01:00
Felix Fontein 32cb76b164 Add scale option. (#776) 2024-01-24 07:16:33 +01:00
Felix Fontein eebb73a503 docker_compose_v2: add files option (#775)
* Add files option.

* Shorten lines.
2024-01-24 07:15:00 +01:00
Felix Fontein b2a79d9eb7 Add docker_image_export module (#774)
* Add docker_image_export module.

* Add basic tests.

* Add more seealsos.
2024-01-22 22:03:38 +01:00
Felix Fontein a53ecb6e66 Forgot to add docker_compose_v2_pull to action group. (#773) 2024-01-21 22:04:27 +01:00
Felix Fontein 901c1c4f9c Next expected release is 3.7.0. 2024-01-21 09:16:29 +01:00
Felix Fontein 564d3f389f Release 3.6.0. 3.6.0 2024-01-21 09:01:17 +01:00
Felix Fontein fcf608b334 Add networks[].mac_address option. (#763) 2024-01-20 14:23:12 +01:00
Felix Fontein 37d0a44c0b Adjust descriptions. (#766) 2024-01-20 14:13:11 +01:00
Felix Fontein ac41379119 Fix archive idempotency. (#765) 2024-01-20 14:12:55 +01:00
Felix Fontein 648e0652d5 mac_address no longer works with Docker API v1.44+. (#764) 2024-01-20 14:06:29 +01:00
Felix Fontein b2cee5677a Next expected release will be 3.6.0. 2024-01-18 08:20:29 +01:00
Felix Fontein 31540c43d6 Release 3.6.0-rc1. 3.6.0-rc1 2024-01-18 08:06:02 +01:00
Felix Fontein eb3e0b17cd Prepare 3.6.0-rc1 release. 2024-01-18 07:41:45 +01:00