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.

Daniel P. Berrangé (4):
  tests/docker: improve handling of docker probes
  tests/docker: allow display of docker output
  gitlab: ensure docker output is always displayed in CI
  tests/docker: add support for podman remote access

 .gitlab-ci.d/base.yml         |  3 +++
 configure                     | 19 +++++++------------
 tests/docker/Makefile.include | 23 ++++++++++++++---------
 tests/docker/docker.py        | 17 +++++++----------
 4 files changed, 31 insertions(+), 31 deletions(-)

-- 
2.52.0


Reply via email to