opsworks_rolling_deploy 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3680fd9b29410b92c99d1bf0735012a7a76276b3
|
4
|
+
data.tar.gz: e7a4f2db49853a68d5be65bc608d7620877aafd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e3f1e0f7d9579b8fa65937b60943bacdd7b75f26b7da78f8d740afb5089b9df644b90baa261510807a1fb194da920d84ff71e900d8a13955fba0b788968bd80
|
7
|
+
data.tar.gz: 0a3168735afa0146fa226d4e45663071e6f7741dee025c1d2070f816ad48150c1240c755c954c4138e084819372008cfbc1f46af28911671a7f04243d0ff910e
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'clamp'
|
2
2
|
require 'opsworks_rolling_deploy/services/deploy_service'
|
3
|
-
require '
|
3
|
+
require 'json'
|
4
4
|
module OpsworksRollingDeploy
|
5
5
|
module Commands
|
6
6
|
class DeployCommand < Clamp::Command
|
@@ -13,10 +13,10 @@ module OpsworksRollingDeploy
|
|
13
13
|
|
14
14
|
option "--command", "COMMAND", "the command to be executed by opsworks", default: 'deploy'
|
15
15
|
option "--command-args", "COMMAND_ARGS", "the args to the command to be executed by opsworks as JSON (e.g. '{\"migrate\":[\"true\"]}'", default: '{}'
|
16
|
-
|
16
|
+
|
17
17
|
option "--pretend", :flag, "pretend execution"
|
18
18
|
option "--verbose", :flag, "display aws commands"
|
19
|
-
option "--exclude", "PATTERN" , "wildcard pattern to exclude hosts", multivalued: true
|
19
|
+
option "--exclude", "PATTERN" , "wildcard pattern to exclude hosts", multivalued: true
|
20
20
|
|
21
21
|
def execute
|
22
22
|
OpsworksRollingDeploy.set_verbose(verbose?)
|
@@ -25,4 +25,4 @@ module OpsworksRollingDeploy
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
28
|
-
end
|
28
|
+
end
|