Commit graph

26 commits

Author SHA1 Message Date
Grzegorz Bizon
4726ff9dbe Add test example for invalid registry access request 2017-03-31 12:37:44 +02:00
Grzegorz Bizon
7d3d1ec5a7 Create container repository on successful push auth
Because we do not have yet two way communication between container
registry and GitLab, we need to eagerly create a new container
repository objects in database. We now do that after user/build
successfully authenticates a push action using auth service.
2017-03-30 15:24:46 +02:00
Grzegorz Bizon
5a7f8cb5d2 Add readability improvements to registry auth specs 2017-03-29 12:30:38 +02:00
Douwe Maan
7d4b52b27d Enable Style/WordArray 2017-02-23 09:32:41 -06:00
Kamil Trzcinski
517dd4a3f3 Allow owners to fetch source code in CI builds
Due to different way of handling owners of a project, they were not allowed to fetch CI sources for project.
2016-11-01 09:37:20 +01:00
Kamil Trzcinski
e941365f3b Rename capabilities to authentication_abilities 2016-09-16 11:12:21 +02:00
Kamil Trzcinski
eed5c58d85 Verify permission of build in context of dependent project 2016-09-15 16:36:39 +02:00
Kamil Trzcinski
548169cfb5 Fix most of specs 2016-09-15 15:40:53 +02:00
Kamil Trzcinski
9d1ccd2ad3 Fix existing authorization specs 2016-09-15 13:49:11 +02:00
Kamil Trzcinski
1744c742f2 Allow to access Container Registry for Public and Internal projects 2016-07-15 17:05:41 +02:00
Kamil Trzcinski
f27daddfc6 Fix rubocop offenses 2016-05-31 15:38:42 +02:00
Kamil Trzcinski
7a6ba30d9a Test token expirability 2016-05-31 13:48:21 +02:00
Kamil Trzcinski
7ec1fa212d Make authentication service for Container Registry to be compatible with < Docker 1.11 2016-05-30 16:57:39 +02:00
Robert Speicher
75739e54be Enable RSpec/NotToNot cop and auto-correct offenses
Also removes the note from the development/testing.md guide
2016-05-24 15:40:29 -04:00
Kamil Trzcinski
646018a40e Fix the CI login to Container Registry (the gitlab-ci-token user) 2016-05-23 00:34:51 +02:00
Kamil Trzcinski
4474eab4f6 Fix container deletion permission issue 2016-05-20 18:43:11 -05:00
Kamil Trzcinski
ac6992ba68 Fix specs 2016-05-16 23:40:40 -05:00
Kamil Trzcinski
04933fd572 Use container registry config stub 2016-05-16 18:07:49 -05:00
Kamil Trzcinski
938d5b6fe4 Fix http status codes for container registry authentication service 2016-05-15 10:46:54 -05:00
Kamil Trzcinski
3d18b3a0e7 Merge branch 'docker-registry' into docker-registry-view 2016-05-15 08:53:18 -05:00
Kamil Trzcinski
dfd0e2450a Improve authentication service specs 2016-05-15 08:52:26 -05:00
Kamil Trzcinski
f63b6fc297 Merge branch 'docker-registry' into docker-registry-view 2016-05-14 18:23:55 -05:00
Kamil Trzcinski
f4f9184a01 Rename JWT to JSONWebToken 2016-05-14 18:23:31 -05:00
Kamil Trzcinski
715a8cfa2f Fix authentication service 2016-05-14 14:27:56 -05:00
Kamil Trzcinski
9496f7a71a Merge branch 'docker-registry' into docker-registry-view 2016-05-14 11:16:21 -05:00
Kamil Trzcinski
0a9979d9ef Rename specs 2016-05-14 11:16:11 -05:00