Files
podman/pkg
Ed Santiago 6a696cb8fd podman-registry: simpler, safer invocations
First: fix podman-registry script so it preserves the initial $PODMAN,
so all subsequent invocations of ps, logs, and stop will use the
same binary and arguments. Until now we've handled this by requiring
that our caller manage $PODMAN (and keep it the same), but that's
just wrong.

Next, simplify the golang interface: move the $PODMAN setting into
registry.go, instead of requiring e2e callers to set it. (This
could use some work: the local/remote conditional is icky).

IMPORTANT: To prevent registry.go from using the wrong podman binary,
the Start() call is gone. Only StartWithOptions() is valid now.

And, minor cleanup: comments, and add an actual error-message check

Reason for this PR is a recurring flake, #18355, whose multiple
failure modes I truly can't understand. I don't think this PR
is going to fix it, but this is still necessary work.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2023-06-07 12:16:18 -06:00
..
2022-12-15 13:39:56 +01:00
2023-03-07 18:28:39 +00:00
2022-11-01 13:57:24 +05:30
2022-09-20 15:34:27 -04:00
2023-02-11 18:23:24 +01:00
2022-09-10 07:52:00 -04:00
2023-05-02 10:30:07 -04:00
2022-11-04 10:57:41 -04:00
2022-10-17 09:19:41 +02:00