canzea 0.1.26 → 0.1.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ea4de06b351e31befa7419925de3aa36cf91571
4
- data.tar.gz: b51738ff5a317c942f73466bc932593dc1e5d346
3
+ metadata.gz: 393b5d9b31d9e343c1005490a883a41d316cf8da
4
+ data.tar.gz: c394a1d48509fd257f742d7d80e4e9e5619c31b0
5
5
  SHA512:
6
- metadata.gz: 45f3b3de26b85c1c7a2f4cf9d3abd5bae95a87838d722e9f6c33cb065583dced5812de3b9e44e673afc6769a2cfc4168018fee779f486d7a824221e91f85aef7
7
- data.tar.gz: 1ad8e965054cd0c6bdab4af593b3a831df84902363d8b9840b4ad4bc9a9a8e71bf7b4d00bf3e43e959bae119fd00fbde2b26e8a839c7f3b1acda2b3e9e048268
6
+ metadata.gz: 73b57810677334a3b1ad6153d16fd15e4e460901e134a61144445ae5465772ae96665d8c18debccff48ecbac985472315c8bac56fe69dfe46d38a60e92e3951f
7
+ data.tar.gz: eedf421864d7fe230ed988fe79b7c61fe7d7b355f619abb9160d4cb1617dfc1d19edcef4c6458ca8b0be9e432faff8a0c71852ad03ab021df3b679fe3cdd6357
@@ -1,3 +1,3 @@
1
1
  module Canzea
2
- VERSION = "0.1.26"
2
+ VERSION = "0.1.27"
3
3
  end
data/lib/canzea.rb CHANGED
@@ -101,15 +101,13 @@ module Canzea
101
101
  ps = PlanStep.new
102
102
  ps.runPhaseInstall opts[:role], opts[:solution], test, Integer(opts.fetch(:task, 1))
103
103
 
104
- if (test == false)
105
- gitRoot = opts.fetch(:gitRoot, "/opt/cloud-profile")
106
104
 
107
- # write to configure the registration of the service
108
- if (File.exists?("#{gitRoot}/configure.sh") == false)
109
- File.open("#{gitRoot}/configure.sh", 'a') { |file| file.puts("#!/bin/bash") }
110
- end
105
+ if (test == false)
106
+ gitRoot = opts.fetch(:gitRoot, Canzea::config[:git_repo])
111
107
 
112
- File.open("#{gitRoot}/configure.sh", 'a') { |file| file.puts("canzea --lifecycle=configure #{ARGV.join(' ')}") }
108
+ conf = { :gitRoot => gitRoot, :role => opts[:role], :solution => opts[:solution] }
109
+ ps = HelperRun.new
110
+ ps.run "playground", "update-config", JSON.generate(conf)
113
111
  end
114
112
  end
115
113
 
@@ -14,7 +14,7 @@ class HelperRun
14
14
  def runPlan (plans)
15
15
  plans.each { | plan |
16
16
  puts "Running #{plan[:action]}"
17
- self.run plan[:solution], plan[:action], plan[:parameters]
17
+ self.run plan[:solution], plan[:action], JSON.generate(plan[:parameters])
18
18
  }
19
19
  end
20
20
 
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.26
4
+ version: 0.1.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Canzea Technologies