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
93 jobs for sh-delete-container-registry-async in 35 minutes and 45 seconds (queued for 6 seconds)
Status Job ID Name Coverage
  Build
manual #95783480
gitlab-org allowed to fail manual
review-docs-deploy-manual
 
  Prepare
passed #95783482
gitlab-org
compile-assets

00:07:25

passed #95783481
gitlab-org
retrieve-tests-metadata

00:00:21

passed #95783483
gitlab-org
setup-test-env

00:04:49

 
  Test
passed #95783574
allowed to fail
code_quality

00:08:39

passed #95783485
allowed to fail
danger-review

00:00:54

passed #95783564
gitlab-org
db:check-schema-pg

00:02:21

passed #95783563
gitlab-org
db:migrate:reset-mysql

00:07:59

passed #95783562
gitlab-org
db:migrate:reset-pg

00:05:19

passed #95783568
gitlab-org
db:rollback-mysql

00:06:59

passed #95783567
gitlab-org
db:rollback-pg

00:05:08

passed #95783576
allowed to fail
dependency_scanning

00:04:52

passed #95783558
gitlab-org
docs lint

00:00:50

passed #95783559
gitlab-org
downtime_check

00:03:51

passed #95783561
gitlab-org
ee_compat_check

00:05:24

passed #95783572
gitlab-org
gitlab:assets:compile

00:13:27

passed #95783571
gitlab-org
gitlab:setup-mysql

00:05:44

passed #95783569
gitlab-org
gitlab:setup-pg

00:06:53

passed #95783579
gitlab-org
gitlab_git_test

00:02:41

passed #95783573
gitlab-org
karma

00:11:53

57.46%
passed #95783566
gitlab-org
migration:path-mysql

00:14:31

passed #95783565
gitlab-org
migration:path-pg

00:09:56

passed #95783580
gitlab-org
no_ee_check

00:02:37

manual #95783484
allowed to fail manual
package-and-qa
passed #95783577
gitlab-org
qa:internal

00:02:50

passed #95783578
gitlab-org
qa:selectors

00:02:48

passed #95783560
gitlab-org
rails5_gemfile_lock_check

00:03:38

passed #95783517
gitlab-org
rspec-mysql 0 30

00:21:56

passed #95783518
gitlab-org
rspec-mysql 1 30

00:15:29

passed #95783530
gitlab-org
rspec-mysql 10 30

00:16:08

passed #95783531
gitlab-org
rspec-mysql 11 30

00:17:23

passed #95783532
gitlab-org
rspec-mysql 12 30

00:20:41

passed #95783533
gitlab-org
rspec-mysql 13 30

00:16:56

passed #95783534
gitlab-org
rspec-mysql 14 30

00:17:41

passed #95783535
gitlab-org
rspec-mysql 15 30

00:21:20

passed #95783536
gitlab-org
rspec-mysql 16 30

00:22:47

passed #95783537
gitlab-org
rspec-mysql 17 30

00:20:22

passed #95783538
gitlab-org
rspec-mysql 18 30

00:18:16

passed #95783539
gitlab-org
rspec-mysql 19 30

00:19:26

passed #95783519
gitlab-org
rspec-mysql 2 30

00:16:12

passed #95783541
gitlab-org
rspec-mysql 20 30

00:24:29

passed #95783542
gitlab-org
rspec-mysql 21 30

00:20:47

passed #95783543
gitlab-org
rspec-mysql 22 30

00:17:44

passed #95783544
gitlab-org
rspec-mysql 23 30

00:18:47

passed #95783545
gitlab-org
rspec-mysql 24 30

00:20:11

passed #95783546
gitlab-org
rspec-mysql 25 30

00:19:42

passed #95783547
gitlab-org
rspec-mysql 26 30

00:21:16

passed #95783550
gitlab-org
rspec-mysql 27 30

00:23:14

passed #95783553
gitlab-org
rspec-mysql 28 30

00:18:03

passed #95783555
gitlab-org
rspec-mysql 29 30

00:19:20

passed #95783521
gitlab-org
rspec-mysql 3 30

00:20:53

passed #95783523
gitlab-org
rspec-mysql 4 30

00:19:01

passed #95783525
gitlab-org
rspec-mysql 5 30

00:18:14

passed #95783526
gitlab-org
rspec-mysql 6 30

00:19:08

passed #95783527
gitlab-org
rspec-mysql 7 30

00:18:59

passed #95783528
gitlab-org
rspec-mysql 8 30

00:18:57

passed #95783529
gitlab-org
rspec-mysql 9 30

00:19:12

passed #95783486
gitlab-org
rspec-pg 0 30

00:12:49

passed #95783487
gitlab-org
rspec-pg 1 30

00:16:29

passed #95783496
gitlab-org
rspec-pg 10 30

00:16:37

passed #95783497
gitlab-org
rspec-pg 11 30

00:17:05

passed #95783498
gitlab-org
rspec-pg 12 30

00:17:26

passed #95783499
gitlab-org
rspec-pg 13 30

00:14:44

passed #95783500
gitlab-org
rspec-pg 14 30

00:17:13

passed #95783501
gitlab-org
rspec-pg 15 30

00:16:12

passed #95783502
gitlab-org
rspec-pg 16 30

00:18:27

passed #95783503
gitlab-org
rspec-pg 17 30

00:16:13

passed #95783504
gitlab-org
rspec-pg 18 30

00:18:18

passed #95783505
gitlab-org
rspec-pg 19 30

00:15:15

passed #95783488
gitlab-org
rspec-pg 2 30

00:13:51

passed #95783506
gitlab-org
rspec-pg 20 30

00:17:20

passed #95783507
gitlab-org
rspec-pg 21 30

00:17:02

passed #95783508
gitlab-org
rspec-pg 22 30

00:18:11

passed #95783509
gitlab-org
rspec-pg 23 30

00:17:38

passed #95783511
gitlab-org
rspec-pg 24 30

00:18:27

passed #95783512
gitlab-org
rspec-pg 25 30

00:16:34

passed #95783513
gitlab-org
rspec-pg 26 30

00:18:25

passed #95783514
gitlab-org
rspec-pg 27 30

00:18:41

passed #95783515
gitlab-org
rspec-pg 28 30

00:18:53

passed #95783516
gitlab-org
rspec-pg 29 30

00:16:31

passed #95783489
gitlab-org
rspec-pg 3 30

00:16:57

passed #95783490
gitlab-org
rspec-pg 4 30

00:17:04

passed #95783491
gitlab-org
rspec-pg 5 30

00:15:07

passed #95783492
gitlab-org
rspec-pg 6 30

00:16:26

passed #95783493
gitlab-org
rspec-pg 7 30

00:14:59

passed #95783494
gitlab-org
rspec-pg 8 30

00:15:11

passed #95783495
gitlab-org
rspec-pg 9 30

00:12:58

passed #95783575
allowed to fail
sast

00:04:13

passed #95783557
gitlab-org
static-analysis

00:15:10

 
  Post Test
passed #95783582
gitlab-org
coverage

00:03:35

94.69%
passed #95783581
gitlab-org allowed to fail
flaky-examples-check

00:01:29

passed #95783583
gitlab-org
lint:javascript:report

00:03:00

 
  Post Cleanup
manual #95783584
gitlab-org allowed to fail manual
review-docs-cleanup