capistrano3-ec2-minimal 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -0
- data/lib/capistrano/ec2/minimal/version.rb +1 -1
- data/lib/capistrano/tasks/ec2.rake +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae033fa898a4ae7e3cc653bc66c76ab87c3a130e
|
4
|
+
data.tar.gz: b426f2a4a2cca54663ded1fc9fcf2882f63eeec2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e248fa99a3a955433872d43372ebcbcf07934dc0add290f8e2e088ae392cf6cb8a1fab6b76885d23414a278eb4a2d48c693a9783dc362f7a95415f5ced3bdb34
|
7
|
+
data.tar.gz: 84788057326b078becba2c00bd9058b09f2543242931ac55e0a6b19bd99019e95c9efc9d696bfb4cf8830adb7ed2a27bb6b8408708d8a1254789206e29ba644d
|
data/README.md
CHANGED
@@ -20,6 +20,12 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
+
In Capfile:
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
require 'capistrano/ec2/minimal'
|
27
|
+
```
|
28
|
+
|
23
29
|
In config/deploy.rb:
|
24
30
|
|
25
31
|
```ruby
|
@@ -28,6 +34,12 @@ Rake::Task[fetch(:stage)].enhance do
|
|
28
34
|
end
|
29
35
|
```
|
30
36
|
|
37
|
+
Utility task:
|
38
|
+
|
39
|
+
```
|
40
|
+
cap <stage> ec2:status
|
41
|
+
```
|
42
|
+
|
31
43
|
tag:Project > tag:Stage > running で絞り込んだインスタンスが対象。
|
32
44
|
roles は tag:Roles (カンマ区切りで複数指定可) から読み取って設定される。
|
33
45
|
|