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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d01e56790f7f7c77a401fdf30be0304d951a9326
4
- data.tar.gz: 6df225ece15ce9a592c71c6776063abb12fc75e0
3
+ metadata.gz: f47a48b03ae6b95899247d85364960afd83647b2
4
+ data.tar.gz: a05beb17b7c12cb82ab72a3b95ebb8a49ee800a3
5
5
  SHA512:
6
- metadata.gz: 9ea6f96d5aeae3d55127f4d1f99c813a9c87e14fc26c2806352c75d8c0f20c5221ae20d2f9be879fac2dfe6e30fdb3a9e462d897ad7800360a57dbb209d3aba4
7
- data.tar.gz: a1236e929cfd4f0a7a7e9d32b892c5255ae7935bd94df23341f64655ac04d8096e3094a6d878feececd19a44cd5bf44201dadeb1ab9234863d222442f8711e75
6
+ metadata.gz: 2e07de1f48127fb77fec4845eabd99a08f0cbf29aa59ff87af6ec3bc17d322fcd341ce26ff0427a4a0e1f7da37de21603b260123353514a74e0ad7ed7b9c64cf
7
+ data.tar.gz: 6fe4299e3db5c8a320cda0cdb34262ed4f5043971a9cc27b941276706e9d26b241f3257471fe7fff914ad35c97b08f87985da4a8bb04b72dc1f56a5d5ea28e57
@@ -1,3 +1,3 @@
1
1
  module Canzea
2
- VERSION = "0.1.176"
2
+ VERSION = "0.1.177"
3
3
  end
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]
@@ -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="")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canzea
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.176
4
+ version: 0.1.177
5
5
  platform: ruby
6
6
  authors:
7
7
  - Canzea Technologies