Commit Graph

141 Commits

Author SHA1 Message Date
Felix Fontein
9a429a103e Release 1.10.15. 2023-02-06 09:05:25 +01:00
Felix Fontein
70ef01f7c1
Declare stable-1 branch EOL. (#572) 2023-02-06 07:48:52 +01:00
Felix Fontein
1cb67ef901 Release 1.10.14. 2023-01-14 11:17:57 +01:00
patchback[bot]
14ec6c5d11
Improve envvar fallback handling. (#554) (#555) (#558)
(cherry picked from commit 4e6ac335f3)
(cherry picked from commit 40bef226c0)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-01-14 08:42:21 +01:00
patchback[bot]
8d19ad9f86
docker_plugin: do not crash when plugin doesn't exist (#553) (#556) (#557)
* Do not crash when plugin doesn't exist.

* Improve style.

Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>

Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
(cherry picked from commit c7cbec0163)
(cherry picked from commit 0ffa3cc1d2)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-01-14 08:09:36 +01:00
Felix Fontein
e5ef7cd72d Prepare 1.10.14 release. 2023-01-13 06:45:30 +01:00
patchback[bot]
b1e3d25d96
Fix error handling. (#546) (#547)
(cherry picked from commit 18091193de)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-01-05 21:15:18 +01:00
Felix Fontein
45d18e745c Release 1.10.13. 2022-12-06 13:13:29 +01:00
Felix Fontein
e2053d7cc8
Improve container detection. (#522) (#524)
(cherry picked from commit e87b327764)
2022-12-06 08:31:25 +01:00
Felix Fontein
5d99e4f61e Prepare 1.10.13 release. 2022-12-06 08:14:54 +01:00
Felix Fontein
e3fe22d0be Release 1.10.12. 2022-12-03 21:13:20 +01:00
Felix Fontein
541e47d9c4 Improve release summary. 2022-12-01 00:15:54 +01:00
Felix Fontein
74290165e9 [stable-2] Make current_container_facts work with newer Docker versions and latest ansible-test container changes (#512)
* Make current_container_facts work with newer Docker versions and latest ansible-test container changes (#510)

* Add more debug output.

* Add basic integration test.

* Split into lines.

* Fix docker detection, add podman detection.

ci_complete

* Improve regular expression.

* Document that this module is trying its best, but might not be perfect.

* Update comment.

(cherry picked from commit c2d84efccb)

* Remove new feature (podman support).

(cherry picked from commit 3da9aa3b9c)
2022-12-01 00:15:01 +01:00
Felix Fontein
7f5b669324 Prepare 1.10.12 release. 2022-12-01 00:13:43 +01:00
Felix Fontein
e817e33cad Release 1.10.11. 2022-08-12 22:02:21 +02:00
patchback[bot]
ee48f36269
Fix error formatting bug. (#448) (#449)
(cherry picked from commit f513ba2c59)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-08-12 14:15:36 +02:00
Felix Fontein
b556281b5f Prepare 1.10.11 release. 2022-08-11 21:51:11 +02:00
patchback[bot]
edf1953fd5
Improve API version handling. (#389) (#391)
(cherry picked from commit a44e0736cf)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-06-20 07:58:38 +02:00
Felix Fontein
0c69cf7e64 Release 1.10.10. 2022-05-24 08:20:51 +02:00
patchback[bot]
0466d43d03
docker_container: fail if there are too many parts in a parsed port (#367) (#371)
* Fail if there are too many parts in a parsed port.

* Add tests.

* Prevent bad parsing.

(cherry picked from commit 401a76ff00)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-05-22 17:42:05 +02:00
patchback[bot]
31966e90a4
Avoid breakage with Python 3.13. (#354) (#355)
(cherry picked from commit fb55b1d780)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-05-19 07:07:46 +02:00
Felix Fontein
06626520e5 Prepare 1.10.10 release. 2022-05-16 13:03:32 +02:00
Felix Fontein
ef7c700393 Release 1.10.9. 2022-05-16 12:26:44 +02:00
Felix Fontein
7a54431495
[stable-1] Add PSF-license.txt file (#352)
* Add PSF-license.txt file. (#350)

(cherry picked from commit 6adc7bddf3)

* Update with actual CPython 3.9.5 license. (#351)

(cherry picked from commit b6f9d853f9)
2022-05-16 09:15:01 +02:00
Felix Fontein
fa31797677 Prepare 1.10.9 release. 2022-05-16 07:12:29 +02:00
Felix Fontein
926a6c5cb9 Release 1.10.8. 2022-04-25 21:15:28 +02:00
Felix Fontein
e050e43ce8
[stable-1] docker connection: handle version and docker_args (#341)
* docker connection: handle version and docker_args (#327)

* handle version and docker_args

* Remove breaking change.

* Add changelog fragment.

* Fix unit tests.

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 6679eee41e)

* Fix tests.

Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
2022-04-25 21:01:02 +02:00
Felix Fontein
eed1a71004 Prepare 1.10.8 release. 2022-04-25 20:43:21 +02:00
Felix Fontein
ace02c09ff Release 1.10.7. 2022-03-28 20:55:45 +02:00
Felix Fontein
3c269bbc01 Prepare 1.10.7 release. 2022-03-27 21:48:58 +02:00
Felix Fontein
6a8ba02b5b
[stable-1] docker_api connection plugin: adjust to ansible-core 2.13 (#315)
* Adjust docker_api plugin to ansible-core 2.13. (#308)

(cherry picked from commit b353a39ada)

* Remove 2.2.0 additions, adjust changelog URL.
2022-03-24 06:32:21 +01:00
Felix Fontein
30c00d4741
[stable-1] docker connection plugin: fix config docs and update to use config system (#313)
* docker connection plugin: fix config docs and update to use config system (#297)

* fix config docs and update to use config system

 wean off play_context which did not have the correct data in all cases

* moar fixes

* Update plugins/connection/docker.py

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

* updated for backwards compat

* badmergeresolution

* makeitworks

* attempt to fix unit test

* mocking it# No more than 50 chars. #### 50 chars is here: #

* Update plugins/connection/docker.py

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

* Update plugins/connection/docker.py

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

* Update plugins/connection/docker.py

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

* Update plugins/connection/docker.py

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

* Update plugins/connection/docker.py

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

* Update plugins/connection/docker.py

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

* nomock

* remove bad paste

* properly load connection to initialize config

* initizlie docker args

* Fix bugs.

* Call _set_conn_data() when needed.

* Cache result of _get_docker_remote_user() now that it is called multiple times per task.

* Fix unit tests.

* list.clear() is Python 3...

* Add changelog.

* Call _set_conn_data() also in _connect().

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 37a3264042)

* Remove 2.2.0 additions.

* Remove unnecessary fragment, adjust URL.

Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
2022-03-24 06:32:06 +01:00
Felix Fontein
f6265ee450 Release 1.10.6. 2022-03-14 21:38:47 +01:00
Felix Fontein
9653e4cb68 Prepare 1.10.6 release. 2022-03-14 21:16:01 +01:00
patchback[bot]
d6121fce86
Fix warning/error extraction. (#305) (#306)
(cherry picked from commit ba5e6f89f3)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-03-14 21:13:28 +01:00
Felix Fontein
3b81f59794 Release 1.10.5. 2022-02-21 21:47:54 +01:00
Felix Fontein
7d6e99ccb6 Prepare 1.10.5 release. 2022-02-19 23:29:56 +01:00
patchback[bot]
febdace4ee
Try to make more compatible with podman-docker. (#292) (#298)
(cherry picked from commit 9cd46a7d41)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-02-12 08:29:16 +01:00
Felix Fontein
661abb9855 Release 1.10.4. 2022-01-05 22:33:19 +01:00
patchback[bot]
6e907dbde5
Fix unintended breaking change by vendoring distutils.version. (#269) (#270)
(cherry picked from commit 264f5238c7)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-01-05 22:04:43 +01:00
Felix Fontein
42fd34ef6e Prepare 1.10.4 release. 2022-01-05 21:17:55 +01:00
Felix Fontein
36c846d206 Release 1.10.3. 2022-01-04 06:30:23 +01:00
Felix Fontein
6f66a4514a Prepare 1.10.3 release. 2022-01-04 06:16:11 +01:00
patchback[bot]
b57a73e2bf
Prepare for distutils.version being removed in Python 3.12 (#258) (#260)
* Prepare for distutils.version being removed in Python 2.12.

* Fix copy'n'paste error.

* Fix import.

* Re-add Loose prefix.

* Fix Python version typo.

* Improve formulation.

* Move message into own line.

* Fix casing, now that the object is no longer called Version.

(cherry picked from commit 4b235a2607)

Co-authored-by: Felix Fontein <felix@fontein.de>
2021-12-24 12:15:43 +01:00
patchback[bot]
16934ef269
Get rid of distutils.spawn. (#257) (#259)
(cherry picked from commit 93ea131f30)

Co-authored-by: Felix Fontein <felix@fontein.de>
2021-12-24 11:37:00 +01:00
patchback[bot]
6dba5abdbc
Set minimal Docker API version for chdir to 1.35. (#253) (#256)
(cherry picked from commit 5a23c4d336)

Co-authored-by: Felix Fontein <felix@fontein.de>
2021-12-22 17:32:42 +01:00
Felix Fontein
75a551b335 Release 1.10.2. 2021-12-09 06:03:26 +01:00
patchback[bot]
9e3c50a2b9
Minor fixes to nsenter connection plugin (#249) (#251)
* Minor fixes to nsenter connection plugin

- Ensure the nsoption_pid option is retrieved in _connect instead of
  __init__ to prevent a crasher due to initialization order
- Replace the use of --all-namespaces with specific namespaces to
  support compatibility with Busybox nsenter (for example, Alpine)

* minor tidy

* Fix PEP8 violation

* Changelog fragment

* Update changelogs/fragments/249-nsenter-fixes.yml

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

Co-authored-by: Jeff Goldschrafe <jeff.goldschrafe@flatiron.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit d224752cf1)

Co-authored-by: Jeff Goldschrafe <jgoldschrafe@users.noreply.github.com>
2021-12-09 06:01:43 +01:00
Felix Fontein
6855f91280 Prepare 1.10.2 release. 2021-12-08 20:23:33 +01:00
patchback[bot]
9f36cf139c
docker_container_exec: improve handling of chdir option (#243) (#247)
* Only pass chdir on when it is provided, and prevent this option from being used for Docker SDK for Python < 3.0.0.

* Also fix docker_api connection plugin.

(cherry picked from commit bed775c4ea)

Co-authored-by: Felix Fontein <felix@fontein.de>
2021-11-30 12:20:47 +01:00