eb_deployer 0.5.0 → 0.5.1.beta1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+
2
+ 0.5.0
3
+ =====
4
+
5
+ * Worker tier support
6
+
1
7
  0.4.12
2
8
  ======
3
9
 
data/TODOS.md CHANGED
@@ -8,3 +8,4 @@
8
8
  * Support smoke_test_script option
9
9
  * Document for how to use components
10
10
  * Document for how to use inactive-settings
11
+ * Support bucket folders for different environments (e.g. tworker/dev,tworker/ci)
@@ -0,0 +1,30 @@
1
+ namespace :eb do
2
+ def eb_deployer_env
3
+ ENV['EB_DEPLOYER_ENV'] || 'dev'
4
+ end
5
+
6
+ def eb_deployer_package
7
+ name = File.basename(Dir.pwd).downcase.gsub(/[^0-9a-z]/, '-').gsub(/--/, '-')
8
+ "tmp/#{name}.zip"
9
+ end
10
+
11
+ desc "Remove the package file we generated."
12
+ task :clean do
13
+ sh "rm -rf #{eb_deployer_package}"
14
+ end
15
+
16
+ desc "Build package for eb_deployer to deploy to a Ruby environment in tmp directory. It zips all file list by 'git ls-files'"
17
+ task :package => [:clean, :environment] do
18
+ sh "git ls-files | zip #{eb_deployer_package} -@"
19
+ end
20
+
21
+ desc "Deploy package we built in tmp directory. default to dev environment, specify environment variable EB_DEPLOYER_ENV to override, for example: EB_DEPLOYER_ENV=production rake eb:deploy."
22
+ task :deploy => [:package] do
23
+ sh "eb_deploy -p #{eb_deployer_package} -e #{eb_deployer_env}"
24
+ end
25
+
26
+ desc "Destroy Elastic Beanstalk environments. It won't destroy resources defined in eb_deployer.yml. Default to dev environment, specify EB_DEPLOYER_ENV to override."
27
+ task :destroy do
28
+ sh "eb_deploy -d -e #{eb_deployer_env}"
29
+ end
30
+ end
@@ -1,3 +1,3 @@
1
1
  module EbDeployer
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1.beta1"
3
3
  end
@@ -1,31 +1 @@
1
- namespace :eb do
2
- def eb_deployer_env
3
- ENV['EB_DEPLOYER_ENV'] || 'dev'
4
- end
5
-
6
- def eb_deployer_package
7
- name = File.basename(Dir.pwd).downcase.gsub(/[^0-9a-z]/, '-').gsub(/--/, '-')
8
- "tmp/#{name}.zip"
9
- end
10
-
11
- desc "Remove the package file we generated."
12
- task :clean do
13
- sh "rm -rf #{eb_deployer_package}"
14
- end
15
-
16
- desc "Build package for eb_deployer to deploy to a Ruby environment in tmp directory. It zips all file list by 'git ls-files'"
17
- task :package => [:clean, :environment] do
18
- sh "git ls-files | zip #{eb_deployer_package} -@"
19
- end
20
-
21
- desc "Deploy package we built in tmp directory. default to dev environment, specify environment variable EB_DEPLOYER_ENV to override, for example: EB_DEPLOYER_ENV=production rake eb:deploy."
22
- task :deploy => [:package] do
23
- app_name = Rails.application.class.parent_name.downcase
24
- sh "eb_deploy -p #{eb_deployer_package} -e #{eb_deployer_env}"
25
- end
26
-
27
- desc "Destroy Elastic Beanstalk environments. It won't destroy resources defined in eb_deployer.yml. Default to dev environment, specify EB_DEPLOYER_ENV to override."
28
- task :destroy do
29
- sh "eb_deploy -d -e #{eb_deployer_env}"
30
- end
31
- end
1
+ require 'eb_deployer/tasks'
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eb_deployer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
5
- prerelease:
4
+ version: 0.5.1.beta1
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - wpc
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-05-09 00:00:00.000000000 Z
13
+ date: 2015-05-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: aws-sdk-v1
@@ -78,6 +78,7 @@ files:
78
78
  - lib/eb_deployer/package.rb
79
79
  - lib/eb_deployer/resource_stacks.rb
80
80
  - lib/eb_deployer/smoke_test.rb
81
+ - lib/eb_deployer/tasks.rb
81
82
  - lib/eb_deployer/throttling_handling.rb
82
83
  - lib/eb_deployer/utils.rb
83
84
  - lib/eb_deployer/version.rb
@@ -119,9 +120,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
120
  required_rubygems_version: !ruby/object:Gem::Requirement
120
121
  none: false
121
122
  requirements:
122
- - - ! '>='
123
+ - - ! '>'
123
124
  - !ruby/object:Gem::Version
124
- version: '0'
125
+ version: 1.3.1
125
126
  requirements: []
126
127
  rubyforge_project:
127
128
  rubygems_version: 1.8.23