Sha256: 6946386f248a47702f715ae2b954150f42935598289e29cdc8f0122fb55f006c
Contents?: true
Size: 594 Bytes
Versions: 16
Compression:
Stored size: 594 Bytes
Contents
require 'eb_deployer/deployment_strategy/inplace_update' require 'eb_deployer/deployment_strategy/blue_green' require 'eb_deployer/deployment_strategy/blue_only' 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) when 'blue_only', 'blue-only' BlueOnly.new(env) else raise 'strategy_name: ' + strategy_name.to_s + ' not supported' end end end end
Version data entries
16 entries across 16 versions & 1 rubygems