BigW Consortium Gitlab

Unverified Commit 8d6f74ce by Grzegorz Bizon Committed by James Lopez

Merge branch 'consistent-deployment_platform' into 'master'

Unify deployment_platform interface with EE See merge request gitlab-org/gitlab-ce!17594
parent 39ced571
module DeploymentPlatform
def deployment_platform
# EE would override this and utilize the extra argument
def deployment_platform(environment: nil)
@deployment_platform ||=
find_cluster_platform_kubernetes ||
find_kubernetes_service_integration ||
......
......@@ -225,7 +225,7 @@ class Environment < ActiveRecord::Base
end
def deployment_platform
project.deployment_platform
project.deployment_platform(environment: self)
end
private
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment