Replace finished_at with deployed_at for Deployment entity

Instead of `finished_at` attribute use `deployed_at` methods which also
takes into account the deployment status.

Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/56130.
99 jobs for 56130-deployed_at in 67 minutes and 7 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Prepare
passed #275849485
gitlab-org
compile-assets pull-cache

00:06:56

passed #275849487
gitlab-org
retrieve-tests-metadata

00:00:33

passed #275849486
gitlab-org
setup-test-env

00:05:14

 
  Test
passed #275849597
docker gitlab-org
build-qa-image

00:05:52

passed #275849515
allowed to fail
code_quality

00:07:13

passed #275849599
gitlab-org
danger-review

00:02:30

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

00:02:32

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

00:03:25

passed #275849595
gitlab-org
db:rollback-pg

00:03:10

passed #275849519
allowed to fail
dependency_scanning

00:10:11

passed #275849490
gitlab-org
docs lint

00:03:29

passed #275849590
gitlab-org
downtime_check

00:02:24

passed #275849591
gitlab-org
ee_compat_check

00:03:14

passed #275849493
gitlab-org docker
gitlab:assets:compile pull-cache

00:16:47

passed #275849596
gitlab-org
gitlab:setup-pg

00:04:42

passed #275849600
gitlab-org
gitlab_git_test

00:00:36

passed #275849495
gitlab-org
jest

00:18:09

passed #275849494
gitlab-org
karma

00:10:15

53.87%
passed #275849602
gitlab-org
lint-ci-gitlab

00:00:47

passed #275849513
gitlab-org
memory-on-boot

00:04:56

passed #275849512
gitlab-org
memory-static

00:03:29

passed #275849594
gitlab-org
migration:path-pg

00:09:20

passed #275849601
gitlab-org
no_ee_check

00:00:47

passed #275849510
gitlab-org
qa-frontend-node:10

00:16:16

passed #275849508
gitlab-org
qa-frontend-node:8

00:19:57

passed #275849511
gitlab-org allowed to fail
qa-frontend-node:latest

00:14:54

passed #275849498
gitlab-org
qa:internal

00:04:58

passed #275849503
gitlab-org
qa:selectors

00:03:33

passed #275849598
allowed to fail manual
review-build-cng

00:26:09

passed #275849556
gitlab-org
rspec integration pg 1/6

00:14:02

passed #275849557
gitlab-org
rspec integration pg 2/6

00:20:07

passed #275849558
gitlab-org
rspec integration pg 3/6

00:20:33

passed #275849559
gitlab-org
rspec integration pg 4/6

00:19:32

passed #275849560
gitlab-org
rspec integration pg 5/6

00:18:30

passed #275849561
gitlab-org
rspec integration pg 6/6

00:21:21

passed #275849562
gitlab-org
rspec system pg 1/24

00:11:13

passed #275849571
gitlab-org
rspec system pg 10/24

00:11:21

passed #275849572
gitlab-org
rspec system pg 11/24

00:13:57

passed #275849573
gitlab-org
rspec system pg 12/24

00:15:31

passed #275849574
gitlab-org
rspec system pg 13/24

00:15:58

passed #275849575
gitlab-org
rspec system pg 14/24

00:11:51

passed #275849577
gitlab-org
rspec system pg 15/24

00:13:42

passed #275849578
gitlab-org
rspec system pg 16/24

00:12:31

passed #275849580
gitlab-org
rspec system pg 17/24

00:12:05

passed #275849581
gitlab-org
rspec system pg 18/24

00:13:00

passed #275849582
gitlab-org
rspec system pg 19/24

00:15:18

passed #275849563
gitlab-org
rspec system pg 2/24

00:15:28

passed #275849583
gitlab-org
rspec system pg 20/24

00:14:49

passed #275849584
gitlab-org
rspec system pg 21/24

00:13:25

passed #275849585
gitlab-org
rspec system pg 22/24

00:13:19

passed #275849586
gitlab-org
rspec system pg 23/24

00:15:56

passed #275849587
gitlab-org
rspec system pg 24/24

00:13:27

passed #275849564
gitlab-org
rspec system pg 3/24

00:12:32

passed #275849565
gitlab-org
rspec system pg 4/24

00:15:05

passed #275849566
gitlab-org
rspec system pg 5/24

00:14:46

passed #275849567
gitlab-org
rspec system pg 6/24

00:14:38

passed #275849568
gitlab-org
rspec system pg 7/24

00:11:58

passed #275849569
gitlab-org
rspec system pg 8/24

00:15:53

passed #275849570
gitlab-org
rspec system pg 9/24

00:11:45

passed #275849522
gitlab-org
rspec unit pg 1/20

00:13:22

passed #275849541
gitlab-org
rspec unit pg 10/20

00:17:00

passed #275849543
gitlab-org
rspec unit pg 11/20

00:19:49

passed #275849544
gitlab-org
rspec unit pg 12/20

00:16:00

passed #275849545
gitlab-org
rspec unit pg 13/20

00:15:45

passed #275849546
gitlab-org
rspec unit pg 14/20

00:18:29

passed #275849548
gitlab-org
rspec unit pg 15/20

00:14:27

passed #275849549
gitlab-org
rspec unit pg 16/20

00:17:16

passed #275849551
gitlab-org
rspec unit pg 17/20

00:15:31

passed #275849552
gitlab-org
rspec unit pg 18/20

00:17:37

passed #275849553
gitlab-org
rspec unit pg 19/20

00:13:50

passed #275849526
gitlab-org
rspec unit pg 2/20

00:15:30

passed #275849554
gitlab-org
rspec unit pg 20/20

00:22:32

passed #275849527
gitlab-org
rspec unit pg 3/20

00:16:49

passed #275849528
gitlab-org
rspec unit pg 4/20

00:15:48

passed #275849529
gitlab-org
rspec unit pg 5/20

00:14:03

passed #275849532
gitlab-org
rspec unit pg 6/20

00:15:57

passed #275849534
gitlab-org
rspec unit pg 7/20

00:16:45

passed #275849536
gitlab-org
rspec unit pg 8/20

00:16:12

passed #275849539
gitlab-org
rspec unit pg 9/20

00:15:33

passed #275849588
gitlab-org
rspec-fast-spec-helper

00:03:36

passed #275849517
allowed to fail
sast

00:07:59

passed #275849589
gitlab-org
static-analysis

00:14:32

 
  Review
manual #275849606
allowed to fail manual
package-and-qa
passed #275849609
gitlab-org allowed to fail
review-deploy

00:05:12

manual #275849604
gitlab-org allowed to fail manual
review-docs-cleanup
manual #275849603
gitlab-org allowed to fail manual
review-docs-deploy-manual
passed #275849615
gitlab-org allowed to fail manual
review-stop

00:00:32

 
  Qa
passed #275849622
docker gitlab-org allowed to fail
review-performance

00:03:13

manual #275849617
docker gitlab-org allowed to fail manual
review-qa-all 1/5
manual #275849618
docker gitlab-org allowed to fail manual
review-qa-all 2/5
manual #275849619
docker gitlab-org allowed to fail manual
review-qa-all 3/5
manual #275849620
docker gitlab-org allowed to fail manual
review-qa-all 4/5
manual #275849621
docker gitlab-org allowed to fail manual
review-qa-all 5/5
passed #275849616
docker gitlab-org allowed to fail
review-qa-smoke

00:04:54

 
  Post Test
passed #275849625
gitlab-org
coverage

00:06:53

96.58%
passed #275849632
gitlab-org allowed to fail
flaky-examples-check

00:02:15

passed #275849624
gitlab-org
jsdoc

00:03:38

passed #275849623
gitlab-org
lint:javascript:report

00:02:55

manual #275849629
gitlab-org allowed to fail manual
parallel-spec-reports