simple_deploy 0.5.6 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +4 -0
- data/CHANGELOG +8 -0
- data/README.md +2 -0
- data/lib/simple_deploy/cli/execute.rb +57 -0
- data/lib/simple_deploy/cli.rb +5 -2
- data/lib/simple_deploy/logger.rb +7 -0
- data/lib/simple_deploy/stack/deployment/status.rb +4 -4
- data/lib/simple_deploy/stack/deployment.rb +50 -86
- data/lib/simple_deploy/stack/execute.rb +36 -0
- data/lib/simple_deploy/stack/ssh.rb +93 -0
- data/lib/simple_deploy/stack.rb +15 -1
- data/lib/simple_deploy/version.rb +1 -1
- data/simple_deploy.gemspec +6 -5
- data/spec/logger_spec.rb +29 -23
- data/spec/stack/deployment/status_spec.rb +63 -1
- data/spec/stack/deployment_spec.rb +120 -90
- data/spec/stack/execute_spec.rb +27 -0
- data/spec/stack/ssh_spec.rb +86 -0
- data/spec/stack_spec.rb +67 -15
- metadata +47 -18
- data/script/ci_setup +0 -16
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.
|
4
|
+
version: 0.6.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,10 +9,10 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
15
|
+
name: rake
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
@@ -27,22 +27,38 @@ dependencies:
|
|
27
27
|
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rspec
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 2.11.0
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 2.11.0
|
30
46
|
- !ruby/object:Gem::Dependency
|
31
47
|
name: capistrano
|
32
48
|
requirement: !ruby/object:Gem::Requirement
|
33
49
|
none: false
|
34
50
|
requirements:
|
35
|
-
- -
|
51
|
+
- - '='
|
36
52
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
53
|
+
version: 2.13.5
|
38
54
|
type: :runtime
|
39
55
|
prerelease: false
|
40
56
|
version_requirements: !ruby/object:Gem::Requirement
|
41
57
|
none: false
|
42
58
|
requirements:
|
43
|
-
- -
|
59
|
+
- - '='
|
44
60
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
61
|
+
version: 2.13.5
|
46
62
|
- !ruby/object:Gem::Dependency
|
47
63
|
name: stackster
|
48
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -50,7 +66,7 @@ dependencies:
|
|
50
66
|
requirements:
|
51
67
|
- - '='
|
52
68
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.3.
|
69
|
+
version: 0.3.2
|
54
70
|
type: :runtime
|
55
71
|
prerelease: false
|
56
72
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -58,39 +74,39 @@ dependencies:
|
|
58
74
|
requirements:
|
59
75
|
- - '='
|
60
76
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.3.
|
77
|
+
version: 0.3.2
|
62
78
|
- !ruby/object:Gem::Dependency
|
63
79
|
name: tinder
|
64
80
|
requirement: !ruby/object:Gem::Requirement
|
65
81
|
none: false
|
66
82
|
requirements:
|
67
|
-
- -
|
83
|
+
- - '='
|
68
84
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
85
|
+
version: 1.9.1
|
70
86
|
type: :runtime
|
71
87
|
prerelease: false
|
72
88
|
version_requirements: !ruby/object:Gem::Requirement
|
73
89
|
none: false
|
74
90
|
requirements:
|
75
|
-
- -
|
91
|
+
- - '='
|
76
92
|
- !ruby/object:Gem::Version
|
77
|
-
version:
|
93
|
+
version: 1.9.1
|
78
94
|
- !ruby/object:Gem::Dependency
|
79
95
|
name: trollop
|
80
96
|
requirement: !ruby/object:Gem::Requirement
|
81
97
|
none: false
|
82
98
|
requirements:
|
83
|
-
- -
|
99
|
+
- - '='
|
84
100
|
- !ruby/object:Gem::Version
|
85
|
-
version: '0'
|
101
|
+
version: '2.0'
|
86
102
|
type: :runtime
|
87
103
|
prerelease: false
|
88
104
|
version_requirements: !ruby/object:Gem::Requirement
|
89
105
|
none: false
|
90
106
|
requirements:
|
91
|
-
- -
|
107
|
+
- - '='
|
92
108
|
- !ruby/object:Gem::Version
|
93
|
-
version: '0'
|
109
|
+
version: '2.0'
|
94
110
|
description: I am designed to deploy artifacts uploaded by Heirloom
|
95
111
|
email:
|
96
112
|
- brett@weav.net
|
@@ -101,6 +117,7 @@ extra_rdoc_files: []
|
|
101
117
|
files:
|
102
118
|
- .gitignore
|
103
119
|
- .rvmrc
|
120
|
+
- .travis.yml
|
104
121
|
- CHANGELOG
|
105
122
|
- Gemfile
|
106
123
|
- LICENSE
|
@@ -117,6 +134,7 @@ files:
|
|
117
134
|
- lib/simple_deploy/cli/deploy.rb
|
118
135
|
- lib/simple_deploy/cli/destroy.rb
|
119
136
|
- lib/simple_deploy/cli/events.rb
|
137
|
+
- lib/simple_deploy/cli/execute.rb
|
120
138
|
- lib/simple_deploy/cli/instances.rb
|
121
139
|
- lib/simple_deploy/cli/list.rb
|
122
140
|
- lib/simple_deploy/cli/outputs.rb
|
@@ -135,9 +153,10 @@ files:
|
|
135
153
|
- lib/simple_deploy/stack.rb
|
136
154
|
- lib/simple_deploy/stack/deployment.rb
|
137
155
|
- lib/simple_deploy/stack/deployment/status.rb
|
156
|
+
- lib/simple_deploy/stack/execute.rb
|
157
|
+
- lib/simple_deploy/stack/ssh.rb
|
138
158
|
- lib/simple_deploy/stack/stack_attribute_formater.rb
|
139
159
|
- lib/simple_deploy/version.rb
|
140
|
-
- script/ci_setup
|
141
160
|
- simple_deploy.gemspec
|
142
161
|
- spec/artifact_spec.rb
|
143
162
|
- spec/backoff_spec.rb
|
@@ -155,6 +174,8 @@ files:
|
|
155
174
|
- spec/spec_helper.rb
|
156
175
|
- spec/stack/deployment/status_spec.rb
|
157
176
|
- spec/stack/deployment_spec.rb
|
177
|
+
- spec/stack/execute_spec.rb
|
178
|
+
- spec/stack/ssh_spec.rb
|
158
179
|
- spec/stack/stack_attribute_formater_spec.rb
|
159
180
|
- spec/stack_spec.rb
|
160
181
|
homepage: ''
|
@@ -169,12 +190,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
169
190
|
- - ! '>='
|
170
191
|
- !ruby/object:Gem::Version
|
171
192
|
version: '0'
|
193
|
+
segments:
|
194
|
+
- 0
|
195
|
+
hash: 2753799311552570386
|
172
196
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
173
197
|
none: false
|
174
198
|
requirements:
|
175
199
|
- - ! '>='
|
176
200
|
- !ruby/object:Gem::Version
|
177
201
|
version: '0'
|
202
|
+
segments:
|
203
|
+
- 0
|
204
|
+
hash: 2753799311552570386
|
178
205
|
requirements: []
|
179
206
|
rubyforge_project: simple_deploy
|
180
207
|
rubygems_version: 1.8.24
|
@@ -198,5 +225,7 @@ test_files:
|
|
198
225
|
- spec/spec_helper.rb
|
199
226
|
- spec/stack/deployment/status_spec.rb
|
200
227
|
- spec/stack/deployment_spec.rb
|
228
|
+
- spec/stack/execute_spec.rb
|
229
|
+
- spec/stack/ssh_spec.rb
|
201
230
|
- spec/stack/stack_attribute_formater_spec.rb
|
202
231
|
- spec/stack_spec.rb
|
data/script/ci_setup
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
# Source RVM profile and set ruby / gemset
|
4
|
-
. /etc/profile
|
5
|
-
|
6
|
-
# Use simple deploy gemset
|
7
|
-
rvm use "1.9.3-p194@simple_deploy" --create
|
8
|
-
|
9
|
-
# Exit with error if any command returns non zero
|
10
|
-
set -e
|
11
|
-
|
12
|
-
# Bundle gems
|
13
|
-
bundle
|
14
|
-
|
15
|
-
# Run spec tests
|
16
|
-
rake spec
|