simple_deploy 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md ADDED
@@ -0,0 +1,65 @@
1
+ I use the stackster to manage stacks, however I understand how to connect to different regions / accounts as well as kick off a deployment on instances.
2
+
3
+ Getting Started
4
+ ---------------
5
+
6
+ Install the gem
7
+
8
+ ```
9
+ gem install simple_deploy
10
+ ```
11
+
12
+ Create a file **~/.simple_deploy.yml** and include within it:
13
+
14
+ ```
15
+ deploy:
16
+ keys: PATH_TO_PRIVATE_KEY
17
+ user: ec2-user
18
+ artifacts:
19
+ - name: cookbooks
20
+ bucket_prefix: artifacts
21
+ endpoint: http
22
+ variable: COOKBOOKS_URL
23
+ script: /opt/admin/bin/deploy.sh
24
+
25
+ environments:
26
+ preprod_us_west_1:
27
+ access_key: XXX
28
+ secret_key: XXX
29
+ region: us-west-1
30
+ prod_us_west_1:
31
+ access_key: YYY
32
+ secret_key: YYY
33
+ region: us-west-1
34
+ preprod_us_east_1:
35
+ access_key: XXX
36
+ secret_key: XXX
37
+ region: us-east-1
38
+ prod_us_east_1:
39
+ access_key: YYY
40
+ secret_key: YYY
41
+ region: us-east-1
42
+ ```
43
+
44
+ Commands
45
+ --------
46
+
47
+ You can issues the following commands:
48
+
49
+ ```
50
+ simple_deploy environments
51
+ simple_deploy list -e ENVIRONMENT
52
+ simple_deploy create -n STACK_NAME -e ENVIRONMENT -a ATTRIBUTES -t TEMPLATE_PATH
53
+ simple_deploy update -n STACK_NAME -e ENVIRONMENT -a ATTRIBUTES
54
+ simple_deploy deploy -n STACK_NAME -e ENVIRONMENT
55
+ simple_deploy destroy -n STACK_NAME -e ENVIRONMENT
56
+ simple_deploy instances -n STACK_NAME -e ENVIRONMENT
57
+ simple_deploy status -n STACK_NAME -e ENVIRONMENT
58
+ simple_deploy attributes -n STACK_NAME -e ENVIRONMENT
59
+ simple_deploy events -n STACK_NAME -e ENVIRONMENT
60
+ simple_deploy resources -n STACK_NAME -e ENVIRONMENT
61
+ simple_deploy outputs -n STACK_NAME -e ENVIRONMENT
62
+ simple_deploy template -n STACK_NAME -e ENVIRONMENT
63
+ ```
64
+
65
+ For more information, run simple_deploy -h.
@@ -1,3 +1,3 @@
1
1
  module SimpleDeploy
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -21,6 +21,6 @@ Gem::Specification.new do |s|
21
21
  s.add_development_dependency "rspec"
22
22
 
23
23
  s.add_runtime_dependency "capistrano"
24
- s.add_runtime_dependency "stackster", '= 0.1.1'
24
+ s.add_runtime_dependency "stackster", '= 0.1.2'
25
25
  s.add_runtime_dependency "trollop"
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-19 00:00:00.000000000 Z
12
+ date: 2012-06-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70205175764400 !ruby/object:Gem::Requirement
16
+ requirement: &70224683751920 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70205175764400
24
+ version_requirements: *70224683751920
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: capistrano
27
- requirement: &70205175763900 !ruby/object:Gem::Requirement
27
+ requirement: &70224683751260 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,21 +32,21 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70205175763900
35
+ version_requirements: *70224683751260
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: stackster
38
- requirement: &70205175763020 !ruby/object:Gem::Requirement
38
+ requirement: &70224683750140 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - =
42
42
  - !ruby/object:Gem::Version
43
- version: 0.1.1
43
+ version: 0.1.2
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70205175763020
46
+ version_requirements: *70224683750140
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: trollop
49
- requirement: &70205175762320 !ruby/object:Gem::Requirement
49
+ requirement: &70224683749380 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70205175762320
57
+ version_requirements: *70224683749380
58
58
  description: I am designed to deploy artifacts uploaded by Heirloom
59
59
  email:
60
60
  - brett@weav.net
@@ -67,6 +67,7 @@ files:
67
67
  - .rvmrc
68
68
  - Gemfile
69
69
  - LICENSE
70
+ - README.md
70
71
  - Rakefile
71
72
  - bin/simple_deploy
72
73
  - lib/simple_deploy.rb
@@ -97,7 +98,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
97
98
  version: '0'
98
99
  segments:
99
100
  - 0
100
- hash: -3851109391399513375
101
+ hash: -3725953430508665187
101
102
  required_rubygems_version: !ruby/object:Gem::Requirement
102
103
  none: false
103
104
  requirements:
@@ -106,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
107
  version: '0'
107
108
  segments:
108
109
  - 0
109
- hash: -3851109391399513375
110
+ hash: -3725953430508665187
110
111
  requirements: []
111
112
  rubyforge_project: simple_deploy
112
113
  rubygems_version: 1.8.16