Commit graph

10 commits

Author SHA1 Message Date
Stan Hu
5830d1143d Delete a container registry asynchronously
When a container registry has many tags, it's easy for the DELETE call to take more
than 60 seconds and fail. This can also leave the registry in a bad state with
null bytes since some of the images have been deleted with tags still pointing to them.
In addition, we have to prevent users from accidentally initiating the delete multiple
times or this could leave the registry with orphaned tags.

This commit also adds a flash message to notify the user the registry is scheduled
for deletion.

Closes #49926, #51063
2018-09-07 12:42:59 -07:00
Jacopo
2f40dac352 Refactor have_http_status into have_gitlab_http_status in the specs 2017-10-20 10:13:18 +02:00
Filipa Lacerda
ba4a442996
Fix rubocop error 2017-10-03 12:45:34 +01:00
Kamil Trzcinski
d69f0ecfd9 Fix rubocop failures 2017-10-03 09:33:09 +02:00
Kamil Trzcinski
800a5f8ee9 Add serializer matchers 2017-10-02 23:17:31 +02:00
Robert Speicher
72a7b30c9f Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
Grzegorz Bizon
9f36012e02 Fix docker tag reference routing constraints 2017-07-19 10:30:57 +02:00
Grzegorz Bizon
7e46d0a95f Fix container registry controller specs 2017-04-04 11:13:12 +02:00
Grzegorz Bizon
baa00d5424 Refactor container registry repository tag stubs 2017-04-03 15:52:24 +02:00
Grzegorz Bizon
fd30b3d497 Ensure root container repository when visiting registry
Root container repository is a images repository that had been created
before 9.1, before we introduced multi-level images support.
2017-04-03 13:03:16 +02:00