tests/docker: improve detection of docker/podman
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 17 repliesIn review
- v14 patches 5 repliesSuperseded
Changes in v2 from the cover letter
- Fix misc typos
- Default $(DOCKER_V) value from $(V)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tests/docker: improve handling of docker probesconfigure tests/ tests/ | +11 | 0 replies | |
| 2/4 | tests/docker: add support for podman remote accesstests/ | +6 | 15 replies | |
| 3/4 | tests/docker: allow display of docker outputtests/ | +13 | 2 replies | |
| 4/4 | gitlab: ensure docker output is always displayed in CI.gitlab-ci.d/ | +3 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Thomas Huth | Alex Bennée |
|---|---|---|
| 1/4 | R-b | |
| 2/4 | R-b | |
| 3/4 | R-b | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] tests/docker: improve detection of docker/podman
This improves integration such that tests/docker/Makefile.include will correctly honour the exact command detected by docker.py's probing logic. Currently the probe command gets stripped down to just a bare 'podman' or 'docker' command name. This means while commands run via 'docker.py' would use 'sudo -n docker', commands run directly from Makefile.include would only use 'docker'.
This series fixes that so that 'docker.py probe' correctly reports the full argv, and configure honours that argv untouched.
With that fixed, we can then also add support for 'podman --remote' and 'podman-remote', which allow use of podman when already inside podman which is the scenario for my development environment that is using 'toolbox'.
Finally this also improves CI by ensuring that stdout from docker is not thrown away, so we can have a chance of diagnosing build failures from CI.
Changed in v2:
- Fix misc typos
- Default $(DOCKER_V) value from $(V)
Daniel P. Berrangé (4):
tests/docker: improve handling of docker probes tests/docker: add support for podman remote access tests/docker: allow display of docker output
gitlab: ensure docker output is always displayed in CI
.gitlab-ci.d/base.yml | 3 +++ configure | 19 +++++++------------ tests/docker/Makefile.include | 25 ++++++++++++++++--------- tests/docker/docker.py | 17 +++++++---------- 4 files changed, 33 insertions(+), 31 deletions(-)
Signature · 1 line
2.53.0