aboutsummaryrefslogtreecommitdiff
path: root/test/apiv2/60-auth.at
Commit message (Collapse)AuthorAge
* Fix /auth compat endpointMatej Vasek2021-09-15
| | | | Signed-off-by: Matej Vasek <mvasek@redhat.com>
* fix use with localhost (testing)troyready2021-03-12
| | | | Signed-off-by: troyready <troy@troyready.com>
* apiv2 tests: add helpers to start/stop a local registryEd Santiago2021-03-08
...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>