Class: EbDeployer::DeploymentStrategy::InplaceUpdate
- Inherits:
-
Object
- Object
- EbDeployer::DeploymentStrategy::InplaceUpdate
- Defined in:
- lib/eb_deployer/deployment_strategy.rb
Instance Method Summary collapse
- #deploy(version_label, env_settings) ⇒ Object
-
#initialize(app, env_name, eb_driver, env_creation_opts) ⇒ InplaceUpdate
constructor
A new instance of InplaceUpdate.
Constructor Details
#initialize(app, env_name, eb_driver, env_creation_opts) ⇒ InplaceUpdate
Returns a new instance of InplaceUpdate.
4 5 6 7 8 9 |
# File 'lib/eb_deployer/deployment_strategy.rb', line 4 def initialize(app, env_name, eb_driver, env_creation_opts) @app = app @env_name = env_name @eb_driver = eb_driver @env_creation_opts = env_creation_opts end |
Instance Method Details
#deploy(version_label, env_settings) ⇒ Object
11 12 13 14 |
# File 'lib/eb_deployer/deployment_strategy.rb', line 11 def deploy(version_label, env_settings) Environment.new(@app, @env_name, @eb_driver, @env_creation_opts). deploy(version_label, env_settings) end |