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
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
003a51d17a
Check container repository exists for a given path
2017-03-30 13:45:54 +02:00
Grzegorz Bizon
06bae00365
Make container repository path code more readable
2017-03-29 12:53:02 +02:00
Grzegorz Bizon
8584798886
Fix rubocop offense in container registry path class
2017-03-29 12:11:38 +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