Class: SnapDeploy::Provider::AWS::ElasticBeanstalk
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- SnapDeploy::Provider::AWS::ElasticBeanstalk
- Includes:
- Rake::FileUtilsExt, CLI::DefaultOptions, Helpers
- Defined in:
- lib/snap_deploy/provider/aws/elastic_beanstalk.rb
Instance Method Summary collapse
Methods included from Helpers
#access_key_id, #deploy_comment, #encoding_for, #error, #info, #log, #logger, #manually_triggered_by, #pipeline_counter, #pull_request_number, #secret_access_key, #short_commit, #snap_branch, #snap_commit, #snap_upstream_branch
Methods included from CLI::DefaultOptions
Instance Method Details
#execute ⇒ Object
44 45 46 47 48 49 50 51 52 53 |
# File 'lib/snap_deploy/provider/aws/elastic_beanstalk.rb', line 44 def execute require 'aws-sdk' setup_aws_auth create_bucket unless bucket_exists? info "Deploying application version `#{version_label}' to application `#{app_name}' on environment `#{env_name}'" sleep 5 #s3 eventual consistency create_app_version unless application_exists? update_environment end |