• Thong Kuah's avatar
    Remove fallback to project.deployment_platform · 1668f40f
    Thong Kuah authored
    This improves query performance of
    MergeRequestsController#ci_environments_status a lot.
    
    However this means old deployments that deployed to kubernetes clusters
    with prometheus installations will no longer show performance metrics as
    we cannot backfill cluster_id from deployment_platform with certainty
    (clusters may be edited/added/deleted, which changes the results of
    deployment_platform).
    1668f40f
deployment.rb 5.26 KB