{"action":"created","issue":{"url":"https://api.github.com/repos/docker/distribution/issues/532","labels_url":"https://api.github.com/repos/docker/distribution/issues/532/labels{/name}","comments_url":"https://api.github.com/repos/docker/distribution/issues/532/comments","events_url":"https://api.github.com/repos/docker/distribution/issues/532/events","html_url":"https://github.com/docker/distribution/pull/532","id":78147636,"number":532,"title":"Multi configuration tests via compose","user":{"login":"dmcgowan","id":169601,"avatar_url":"https://avatars.githubusercontent.com/u/169601?v=3","gravatar_id":"","url":"https://api.github.com/users/dmcgowan","html_url":"https://github.com/dmcgowan","followers_url":"https://api.github.com/users/dmcgowan/followers","following_url":"https://api.github.com/users/dmcgowan/following{/other_user}","gists_url":"https://api.github.com/users/dmcgowan/gists{/gist_id}","starred_url":"https://api.github.com/users/dmcgowan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmcgowan/subscriptions","organizations_url":"https://api.github.com/users/dmcgowan/orgs","repos_url":"https://api.github.com/users/dmcgowan/repos","events_url":"https://api.github.com/users/dmcgowan/events{/privacy}","received_events_url":"https://api.github.com/users/dmcgowan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/distribution/labels/enhancement","name":"enhancement","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/distribution/milestones/8","html_url":"https://github.com/docker/distribution/milestones/Registry/2.1","labels_url":"https://api.github.com/repos/docker/distribution/milestones/8/labels","id":1026598,"number":8,"title":"Registry/2.1","description":"Items in this roadmap will be part of the registry 2.1 release.","creator":{"login":"stevvooe","id":120601,"avatar_url":"https://avatars.githubusercontent.com/u/120601?v=3","gravatar_id":"","url":"https://api.github.com/users/stevvooe","html_url":"https://github.com/stevvooe","followers_url":"https://api.github.com/users/stevvooe/followers","following_url":"https://api.github.com/users/stevvooe/following{/other_user}","gists_url":"https://api.github.com/users/stevvooe/gists{/gist_id}","starred_url":"https://api.github.com/users/stevvooe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevvooe/subscriptions","organizations_url":"https://api.github.com/users/stevvooe/orgs","repos_url":"https://api.github.com/users/stevvooe/repos","events_url":"https://api.github.com/users/stevvooe/events{/privacy}","received_events_url":"https://api.github.com/users/stevvooe/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":27,"state":"open","created_at":"2015-03-18T04:15:41Z","updated_at":"2015-05-22T23:48:40Z","due_on":"2015-06-19T07:00:00Z","closed_at":null},"comments":8,"created_at":"2015-05-19T16:00:37Z","updated_at":"2015-05-23T00:17:31Z","closed_at":"2015-05-22T23:48:40Z","pull_request":{"url":"https://api.github.com/repos/docker/distribution/pulls/532","html_url":"https://github.com/docker/distribution/pull/532","diff_url":"https://github.com/docker/distribution/pull/532.diff","patch_url":"https://github.com/docker/distribution/pull/532.patch"},"body":"This contains a compose script which will start up a v1 and v2 registry with an nginx configuration for multiple tls and configuration scenarios. Currently there is no automated framework based on this configuration but it is intended to build client automation tests using these configurations. This also currently uses localhost which makes testing secure scenarios within the Docker engine a challenge without a code change (disabling 127.0.0.1 as insecure).\r\n\r\nTo test simply tag an image with the appropriate port number of the configuration which is desired to be tested, the currently available tests are...\r\n```\r\n# 5000  No tls or auth, v2 + v1\r\n# 5001 No tls or auth, v1 only\r\n\r\n# TLS Configuration chart\r\n# Username/Password: testuser/passpassword\r\n#      | ca  | client | basic | notes\r\n# 5440 | yes | no     | no    | Tests CA certificate\r\n# 5441 | yes | no     | yes   | Tests basic auth over TLS\r\n# 5442 | yes | yes    | no    | Tests client auth with client CA\r\n# 5443 | yes | yes    | no    | Tests client auth without client CA\r\n# 5444 | yes | yes    | yes   | Tests using basic auth + tls auth\r\n# 5445 | no  | no     | no    | Tests insecure using TLS\r\n# 5446 | no  | no     | yes   | Tests sending credentials to server with insecure TLS\r\n# 5447 | no  | yes    | no    | Tests client auth to insecure\r\n# 5448 | yes | no     | no    | Bad SSL version\r\n```\r\n\r\nUsage within Docker\r\n```\r\n$ docker pull hello-world\r\n$ docker tag hello-world localhost:5000/hello-world\r\n$ docker push localhost:5000/hello-world\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/docker/distribution/issues/comments/104806003","html_url":"https://github.com/docker/distribution/pull/532#issuecomment-104806003","issue_url":"https://api.github.com/repos/docker/distribution/issues/532","id":104806003,"user":{"login":"moxiegirl","id":1347209,"avatar_url":"https://avatars.githubusercontent.com/u/1347209?v=3","gravatar_id":"","url":"https://api.github.com/users/moxiegirl","html_url":"https://github.com/moxiegirl","followers_url":"https://api.github.com/users/moxiegirl/followers","following_url":"https://api.github.com/users/moxiegirl/following{/other_user}","gists_url":"https://api.github.com/users/moxiegirl/gists{/gist_id}","starred_url":"https://api.github.com/users/moxiegirl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moxiegirl/subscriptions","organizations_url":"https://api.github.com/users/moxiegirl/orgs","repos_url":"https://api.github.com/users/moxiegirl/repos","events_url":"https://api.github.com/users/moxiegirl/events{/privacy}","received_events_url":"https://api.github.com/users/moxiegirl/received_events","type":"User","site_admin":false},"created_at":"2015-05-23T00:17:31Z","updated_at":"2015-05-23T00:17:31Z","body":"Thanks guys! @dmcgowan I'll give the README a review too.\r\n"}}