diff options
author | Ed Santiago <santiago@redhat.com> | 2021-03-08 13:23:05 -0700 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2021-03-08 18:08:17 -0700 |
commit | e33f523907bb37c8295d113ea516a7ef3b6ea552 (patch) | |
tree | 62de043c2f565702d2024b9489dbf866a51b2b9a /pkg | |
parent | 789d579bc43cab0a179a17276478100b4b80e6fc (diff) | |
download | podman-e33f523907bb37c8295d113ea516a7ef3b6ea552.tar.gz podman-e33f523907bb37c8295d113ea516a7ef3b6ea552.tar.bz2 podman-e33f523907bb37c8295d113ea516a7ef3b6ea552.zip |
apiv2 tests: add helpers to start/stop a local registry
...and a rudimentary set of /auth tests for PR#9589 (disabled).
This simply adds a new start_registry() helper function that
allocates a random unused port, pulls a registry image, creates
a local certificate + random username + random password, and
fires everything up. Since none of this is (yet) used in CI,
this is very low risk.
The only infinitessimally-risky change is using a dedicated
subdirectory of $WORKDIR (instead of $WORKDIR itself) as
the podman root. This fixes a dumb oversight on my part:
the workdir has grown to be used for much more than just
podman root; this change removes clutter and makes it
easier for humans to debug in cases of problems.
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'pkg')
0 files changed, 0 insertions, 0 deletions