Commit graph

22 commits

Author SHA1 Message Date
GitLab Bot
fa7ac2663b Add latest changes from gitlab-org/gitlab@master 2020-06-24 06:09:01 +00:00
GitLab Bot
bc3e57199e Add latest changes from gitlab-org/gitlab@master 2019-12-21 03:07:37 +00:00
GitLab Bot
6b13a226dd Add latest changes from gitlab-org/gitlab@master 2019-11-29 09:06:31 +00:00
GitLab Bot
94611567bd Add latest changes from gitlab-org/gitlab@master 2019-09-30 09:06:31 +00:00
Shinya Maeda
f246db4446 Fix deployable nil exception on job controller
When deployable is nil, we gracefully take care of the case.
2019-08-30 18:45:00 +07:00
Krasimir Angelov
92ac94c26e 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.
2019-08-20 12:39:19 +03:00
Krasimir Angelov
18159235a3 Add finished_at to the internal API Deployment entity
Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/56130.
2019-08-15 10:53:48 +03:00
Grzegorz Bizon
087680d780 Fix deployment entity tests
Fixes style lint errors
2019-05-24 10:04:35 +01:00
Grzegorz Bizon
6ef27f7744 Expose build environment latest deployable name and path 2019-05-24 10:04:35 +01:00
Grzegorz Bizon
de24df98a3 Do not serialize deployment details for build details page 2019-05-24 10:04:05 +01:00
Shinya Maeda
6b99848be3 Move permission check of manual actions of deployments 2019-02-08 12:53:35 +00:00
Rémy Coutable
3a2abc1d50
Enable the Layout/ExtraSpacing cop
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-24 13:05:45 +01:00
Shinya Maeda
f056bb1da9 Improve deployment entity spec 2018-10-12 11:22:19 +09:00
Shinya Maeda
1f3f06668b Fix and add spec 2018-10-10 10:47:31 +09:00
Fatih Acet
0151325dac Merge request widget redesign 2017-05-09 04:15:34 +00:00
Pawel Chojnacki
e8f2daae8e Cleanup duplicates in deploymentEntityDetailed and add small spec tests 2017-04-20 12:21:24 +02:00
Pawel Chojnacki
4469946105 Reduce the amount of data deployment endpoint returns 2017-04-20 11:58:31 +02:00
Pawel Chojnacki
7320387343 Use DeploymentSerializer to create deployment json 2017-03-28 12:52:13 +02:00
Shinya Maeda
d8343a0c41 Remove unnecessary spaces 2017-03-23 17:11:49 +09:00
Shinya Maeda
170e542369 Fix deployment_entity_spec.rb. It also reads BuildSerializer. 2017-03-23 17:11:49 +09:00
Grzegorz Bizon
54ee0df78a Do not use absolute URLS in entities use relative 2016-11-17 16:10:12 +01:00
Grzegorz Bizon
e49fb264e6 Add tests for deployment and environment entitites 2016-11-04 13:23:06 +01:00