Sha256: 1af670aa69033f77ca8b306481c545a98908fe83fce2d75bbcc1e1f2aa4de292
Contents?: true
Size: 480 Bytes
Versions: 18
Compression:
Stored size: 480 Bytes
Contents
require 'eb_deployer/deployment_strategy/inplace_update' require 'eb_deployer/deployment_strategy/blue_green' module EbDeployer module DeploymentStrategy def self.create(env, strategy_name) case strategy_name.to_s when 'inplace_update', 'inplace-update' InplaceUpdate.new(env) when 'blue_green', 'blue-green' BlueGreen.new(env) else raise 'strategy_name: ' + strategy_name.to_s + ' not supported' end end end end
Version data entries
18 entries across 18 versions & 1 rubygems