Jake Moshenko
90b0cce07b
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)
2014-02-20 18:32:33 -05:00
Solomon Hykes
8d3e35cd8d
Split auth tests between unit tests and integration tests
2013-11-15 01:13:20 +00:00
Solomon Hykes
5c175357aa
Hack: fix tests which didn't cleanup properly
2013-10-18 02:13:36 +00:00
Dan Buch
edde4f55e0
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?
2013-09-24 12:36:50 -04:00
Nan Monnand Deng
7bade49d4c
update auth_test.go
2013-08-02 14:08:16 -04:00
Michael Crosby
0fc11699ab
Add regression test for authConfig overwrite
2013-07-25 03:25:16 +00:00
Victor Vieux
f4b41e1a6c
fix tests
2013-07-24 12:28:22 +00:00
Caleb Spare
1277dca335
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().
2013-07-04 14:33:17 -07:00
Victor Vieux
639833aaf5
fix tests
2013-06-21 09:20:57 +00:00
Guillaume J. Charmes
6dccdd657f
remove offline mode from auth unit tests
2013-06-18 17:09:47 -07:00
Guillaume J. Charmes
13e03a6911
Fix the auth tests and add the offline mode
2013-06-17 11:29:02 -07:00
shin-
17ad00a35e
gofmt pass
2013-05-14 22:00:24 +00:00
shin-
20a57f15b9
Added login/account creation tests
2013-05-14 22:00:24 +00:00
creack
c72ff318d3
Integrate Auth in runtime and make the config file relative to runtime root
2013-03-22 02:19:39 -07:00
Ken Cochrane
be20f3c518
added ability to login/register to the docker registry, via the docker login command
2013-03-14 17:43:59 -07:00