shuttle-deploy 0.2.0.beta10 → 0.2.0.beta11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/README.md +27 -0
- data/lib/shuttle/deployment/wordpress.rb +1 -1
- data/lib/shuttle/generator.rb +5 -1
- data/lib/shuttle/helpers.rb +4 -0
- data/lib/shuttle/version.rb +1 -1
- metadata +4 -5
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
MTE3ZWY4MzIwYmMwZThhNTA0MjdkZDdlMWRjYzBjZGQwOTQ5NjI3NjU1MTcw
|
10
|
-
N2QyZGU2MGE2MmFlYzAwNzg4MDNlOWZjZjgzZmY3YzdhMDM5ZWUzYWEwMzNm
|
11
|
-
OWM1YTkzNjVjNGZjY2FiODUwMGNjMjk1ODI1M2YxYTBlNDllMjg=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
YmJlNjA1MjJkMWI4M2MxNGE3ZDYwZDYwN2VkZjk2MDNhZTk5YTdkMjg3ZGU5
|
14
|
-
Yjg4MzQzNTk4YWJhN2JhYmFiYjdiOTU3YzZkOWY0Mzg1NzQ0ZDM1ZDkxODgz
|
15
|
-
NDRmNzc2MmE0YmMxZGIxNTYxZjZjMWRkOTBkNmZkNDY0YjlhNzQ=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 59c5026144047d47932a2f9784aa8c1013753018
|
4
|
+
data.tar.gz: d191d795f8ebe1383b240050b23c15366bb619e3
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 10080dc471876738d0b6192509fcb0a94cfc2d12ec8a307809738d7cdaf49575212bc21bd9f30034160f3ea1bfdcea98a2d567736ce77ac7209f9c9400a5c9e2
|
7
|
+
data.tar.gz: 2ccf2a708303bf5b0c512a6bbbfd469ce0e3373e9692d46d33b918850ebfe23fde3618ca384f38f944db1086eb875d90230cc450cdf7f30b6a40a471ca0cacee
|
data/README.md
CHANGED
@@ -323,6 +323,33 @@ To run in debug mode, add `-d` flag:
|
|
323
323
|
shuttle deploy -d
|
324
324
|
```
|
325
325
|
|
326
|
+
## Rollback
|
327
|
+
|
328
|
+
In case if you want to revert latest deploy, run:
|
329
|
+
|
330
|
+
```
|
331
|
+
shuttle rollback
|
332
|
+
```
|
333
|
+
|
334
|
+
Last release will be permanently destroyed and previous release will be symlinked
|
335
|
+
as current. If you wish to run some commands on rollback, you can specify a hook:
|
336
|
+
|
337
|
+
```yaml
|
338
|
+
hooks:
|
339
|
+
before_rollback:
|
340
|
+
- bash commands
|
341
|
+
after_rollback:
|
342
|
+
- bash commands
|
343
|
+
```
|
344
|
+
|
345
|
+
## Generators
|
346
|
+
|
347
|
+
You can generate deployment config with CLI:
|
348
|
+
|
349
|
+
```
|
350
|
+
shuttle generate static
|
351
|
+
```
|
352
|
+
|
326
353
|
## Test
|
327
354
|
|
328
355
|
To run project test suite execute:
|
data/lib/shuttle/generator.rb
CHANGED
@@ -47,7 +47,11 @@ module Shuttle
|
|
47
47
|
end
|
48
48
|
|
49
49
|
def generate_wordpress
|
50
|
-
|
50
|
+
base = generate_static
|
51
|
+
|
52
|
+
base['environment'] = ask('Rails env:', 'production')
|
53
|
+
base['precompile_assets'] = ask('Precompile assets', 'yes')
|
54
|
+
base['start_server'] = ask('Start server', true)
|
51
55
|
end
|
52
56
|
|
53
57
|
def generate_rails
|
data/lib/shuttle/helpers.rb
CHANGED
data/lib/shuttle/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shuttle-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.0.
|
4
|
+
version: 0.2.0.beta11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Sosedoff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -212,12 +212,12 @@ require_paths:
|
|
212
212
|
- lib
|
213
213
|
required_ruby_version: !ruby/object:Gem::Requirement
|
214
214
|
requirements:
|
215
|
-
- -
|
215
|
+
- - '>='
|
216
216
|
- !ruby/object:Gem::Version
|
217
217
|
version: '0'
|
218
218
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
|
-
- -
|
220
|
+
- - '>'
|
221
221
|
- !ruby/object:Gem::Version
|
222
222
|
version: 1.3.1
|
223
223
|
requirements: []
|
@@ -235,4 +235,3 @@ test_files:
|
|
235
235
|
- spec/path_helpers_spec.rb
|
236
236
|
- spec/spec_helper.rb
|
237
237
|
- spec/target_spec.rb
|
238
|
-
has_rdoc:
|