canzea 0.1.176 → 0.1.177
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/canzea/version.rb +1 -1
- data/lib/canzea.rb +1 -1
- data/lib/commands/remote-run.rb +2 -2
- 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: f47a48b03ae6b95899247d85364960afd83647b2
|
4
|
+
data.tar.gz: a05beb17b7c12cb82ab72a3b95ebb8a49ee800a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e07de1f48127fb77fec4845eabd99a08f0cbf29aa59ff87af6ec3bc17d322fcd341ce26ff0427a4a0e1f7da37de21603b260123353514a74e0ad7ed7b9c64cf
|
7
|
+
data.tar.gz: 6fe4299e3db5c8a320cda0cdb34262ed4f5043971a9cc27b941276706e9d26b241f3257471fe7fff914ad35c97b08f87985da4a8bb04b72dc1f56a5d5ea28e57
|
data/lib/canzea/version.rb
CHANGED
data/lib/canzea.rb
CHANGED
@@ -351,7 +351,7 @@ module Canzea
|
|
351
351
|
if opts[:remote_wire]
|
352
352
|
publicIp = File.read("#{Canzea::config[:pwd]}/vps-#{opts[:serverBase]}-#{opts[:serverNumber]}.json")
|
353
353
|
publicIp.strip!
|
354
|
-
RemoteRun.new.doWire publicIp, opts[:privateKey], opts[:solution], opts[:action], opts.fetch(:args, '{}')
|
354
|
+
RemoteRun.new.doWire publicIp, opts[:privateKey], opts[:solution], opts[:action], opts.fetch(:env, '{}'), opts.fetch(:args, '{}')
|
355
355
|
end
|
356
356
|
|
357
357
|
if opts[:config_git_commit]
|
data/lib/commands/remote-run.rb
CHANGED
@@ -5,9 +5,9 @@ require "pathname"
|
|
5
5
|
require "ssh-base-cmd-class"
|
6
6
|
|
7
7
|
class RemoteRun
|
8
|
-
def doWire(publicIp, privateKey, solution, action, args, ref="")
|
8
|
+
def doWire(publicIp, privateKey, solution, action, env, args, ref="")
|
9
9
|
remote = RemoteCall.new
|
10
|
-
remote.exec publicIp, privateKey, "canzea --lifecycle=wire --raw --solution=#{solution} --action=#{action} --args='#{args}'", ref
|
10
|
+
remote.exec publicIp, privateKey, "canzea --lifecycle=wire --raw --solution=#{solution} --action=#{action} --env='#{env}' --args='#{args}'", ref
|
11
11
|
end
|
12
12
|
|
13
13
|
def doTask(publicIp, privateKey, role, solution, task, ref="")
|