Commit Graph

5 Commits

Author SHA1 Message Date
GitLab Bot a821bd6ad1 Add latest changes from gitlab-org/gitlab@master 2020-01-08 09:07:53 +00:00
GitLab Bot f864f8a7aa Add latest changes from gitlab-org/gitlab@master 2019-12-20 12:07:40 +00:00
Thong Kuah 41f87e9e99 Removes potentially incorrect, and slow fallback
Deployment_platform is relatively expensive and calling this after the
fact means that this may not be the cluster that was deployed to.

Correspondingly reduce the leeway given in the related N+1 spec
2019-07-25 16:46:20 +12:00
Thong Kuah c85d6b0c74 Restore fallback to deployment_platform_cluster
In 12.2 we will remove this fallback.
2019-07-08 09:14:37 +12:00
Thong Kuah d2ba2951f7 Extract deployment_metrics into own object
We can now share project so that we don't have to load project twice.
Also, this extracts non-relevant logic out of Deployment.

Update DeploymentsController accordingly
2019-07-08 09:13:21 +12:00