Commit Graph

15 Commits

Author SHA1 Message Date
733cdcbf96 Fix registry auth by storing the string passed on the command line, and allowing for credential selection by normalizing on hostname. Also, remove remote ping calls from CmdPush and CmdPull.
Docker-DCO-1.1-Signed-off-by: Jake Moshenko <jake@devtable.com> (github: jakedt)
Upstream-commit: 90b0cce07b4f68d8099903f7e1470f79541f45d0
Component: engine
2014-02-20 18:32:33 -05:00
2a4f3940f0 Split auth tests between unit tests and integration tests
Upstream-commit: 8d3e35cd8d92d184dc66041c235163cab4953842
Component: engine
2013-11-15 01:13:20 +00:00
c53c4a96f0 Hack: fix tests which didn't cleanup properly
Upstream-commit: 5c175357aaa7e011e3535eeb1ee162450f390b9e
Component: engine
2013-10-18 02:13:36 +00:00
64137c780a Adding more tests around auth.ResolveAuthConfig
mostly because I've been failing at getting docker `0.6.2` working with
docker-registry `0.6.0` with regard to login and push.  I suspect there
may be some mismatched expectations between `auth.ResolveAuthConfig` and
`registry.ResolveRepositoryName`, but I haven't done enough research or
experimentation to think it's anything more than user error.  More tests
are good, no?
Upstream-commit: edde4f55e08c879e5a5fdb74abd6e5cc751e4dbb
Component: engine
2013-09-24 12:36:50 -04:00
a320ff8945 update auth_test.go
Upstream-commit: 7bade49d4c661c5037de586e6f69291999038ef9
Component: engine
2013-08-02 14:08:16 -04:00
e6f304a5c6 Add regression test for authConfig overwrite
Upstream-commit: 0fc11699ab26121e4f89808ffacb2becf536ff5d
Component: engine
2013-07-25 03:25:16 +00:00
f910d92ead fix tests
Upstream-commit: f4b41e1a6c2c5d531451bf2feeb3877e03eb8c1c
Component: engine
2013-07-24 12:28:22 +00:00
2eb55531d3 Style fixes for fmt + err usage.
fmt.Printf and friends will automatically format using the error
interface (.Error()) preferentially; no need to do err.Error().
Upstream-commit: 1277dca3358874d0701685f7ebb52ce66be1b385
Component: engine
2013-07-04 14:33:17 -07:00
d6ca59c4cd fix tests
Upstream-commit: 639833aaf53d741176e0b4f817cbbf5a5da24037
Component: engine
2013-06-21 09:20:57 +00:00
dc08f9942c remove offline mode from auth unit tests
Upstream-commit: 6dccdd657f715c164f2fe6fc786c8274a2425f1b
Component: engine
2013-06-18 17:09:47 -07:00
74040db600 Fix the auth tests and add the offline mode
Upstream-commit: 13e03a691145921ffc17c56db24f06eacca99a77
Component: engine
2013-06-17 11:29:02 -07:00
cfa86c4776 gofmt pass
Upstream-commit: 17ad00a35e3cafc7e9386eb4c6522630a886c29f
Component: engine
2013-05-14 22:00:24 +00:00
679935b8f2 Added login/account creation tests
Upstream-commit: 20a57f15b91ec9aae74fffb897035a7665a3dcf6
Component: engine
2013-05-14 22:00:24 +00:00
977b51bc15 Integrate Auth in runtime and make the config file relative to runtime root
Upstream-commit: c72ff318d3fb6ab887af21cf4410e1bc8104663a
Component: engine
2013-03-22 02:19:39 -07:00
c24c054d47 added ability to login/register to the docker registry, via the docker login command
Upstream-commit: be20f3c518cb1587a2c731a1d6d91bdedcbf1dc9
Component: engine
2013-03-14 17:43:59 -07:00