Commit graph

27 commits

Author SHA1 Message Date
Grzegorz Bizon
5c92c4dda0 Improve container registry repository path specs 2017-04-19 08:59:05 +02:00
Grzegorz Bizon
f6a11d00a8 Fix duplicated container repository names 2017-04-18 22:20:47 +02:00
Grzegorz Bizon
259108ada3 Fix registry for projects with uppercases in path 2017-04-13 09:20:42 +02:00
Grzegorz Bizon
37ab389139 Revert "Fix registry for projects with uppercases in path"
This reverts commit 22726942fe.
2017-04-13 09:18:46 +02:00
Grzegorz Bizon
22726942fe Fix registry for projects with uppercases in path 2017-04-13 09:11:41 +02:00
Grzegorz Bizon
7ec3c2dcee Add method that returns location of registry image 2017-04-10 13:07:36 +02:00
Grzegorz Bizon
000af87190 Remove redundant code from container registry classes 2017-04-05 14:44:35 +02:00
Grzegorz Bizon
97c6cf59b3 Swap method names in containe registry path class 2017-04-04 11:56:32 +02:00
Grzegorz Bizon
e10dae3e3c Improve code in container repository path class 2017-04-03 11:44:16 +02:00
Grzegorz Bizon
1a47986b3d Check registry repository name against regexp
This regexp is extracted from Docker Distribution 2.4.1 docs, contains
additional `/` element that can be a separator of components.
2017-04-03 11:38:39 +02:00
Grzegorz Bizon
10b0fb1b42 Remove redundant stubs from container image tag specs 2017-04-03 10:53:16 +02:00
Grzegorz Bizon
600bbe15a1 Fix rubocop offense in registry path specs 2017-03-31 11:12:38 +02:00
Grzegorz Bizon
003a51d17a Check container repository exists for a given path 2017-03-30 13:45:54 +02:00
Grzegorz Bizon
3bfc05be5e Use container repository path inside auth service 2017-03-29 13:02:46 +02:00
Grzegorz Bizon
06bae00365 Make container repository path code more readable 2017-03-29 12:53:02 +02:00
Grzegorz Bizon
bdc1e1b9e0 Implement method matching container repository names 2017-03-28 14:57:22 +02:00
Grzegorz Bizon
b15d9042e2 Implement container repository path class 2017-03-28 14:34:56 +02:00
Grzegorz Bizon
4fdcaca6a1 Fix container registry blob specs 2017-03-24 13:08:21 +01:00
Grzegorz Bizon
af42dd29a0 Fix specs for container repository tags 2017-03-24 12:31:34 +01:00
Grzegorz Bizon
dcd2eeb1cf Rename container image to repository in specs 2017-03-23 15:54:59 +01:00
Andre Guedes
e4fa80f3b6 Fixes broken and missing tests 2017-02-22 11:30:11 -03:00
Kamil Trzcinski
3e4dc164a7 Explicitly remove authorization token and make sure that invalid addresses are properly handled 2016-07-15 17:35:23 +02:00
Kamil Trzcinski
04ffd71e53 Fix regression introduced by https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4669
When requesting tags a `application/json` is used.
2016-06-17 13:24:50 +02:00
Kamil Trzcinski
f30d1fdf94 Add support for Docker Registry manifest v1 2016-06-15 12:53:23 +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
24145592e8 Provide full test coverage to lib/container_registry API implementation 2016-05-17 13:20:11 -05:00
Kamil Trzcinski
a82109eee8 Add .gitkeep 2016-05-17 09:41:47 -05:00