canzea 0.1.135 → 0.1.136
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 +4 -4
- data/.gitignore +1 -1
- data/lib/canzea/version.rb +1 -1
- data/lib/commands/prepare-plan.rb +10 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a87f5f12079168ee940aac006305f0f237af35be
|
4
|
+
data.tar.gz: 44c94686f6043ac1dcfb9a5cbdd247b9d97f7303
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73abb530fee2f01a4180036f1a6655d5d63c38539623d2ed32a4f4c755cfe5078df389c50b85f6adfabbfb4eecfa876fe72f83019ccb8e802a487bb21f4fa074
|
7
|
+
data.tar.gz: 004d951f709d384d4a8bb7fa7d830df19245c6a500070bd4a8f333f787a83d2423ca40784613f39cae315e2a56a5ee42b963f6986adaec59948a69e742384adb
|
data/.gitignore
CHANGED
data/lib/canzea/version.rb
CHANGED
@@ -38,6 +38,7 @@ class PreparePlan
|
|
38
38
|
|
39
39
|
log segment['abbreviation']
|
40
40
|
|
41
|
+
first = true
|
41
42
|
index = 1
|
42
43
|
segment['image'].each { |item|
|
43
44
|
if item.start_with?("step:")
|
@@ -45,7 +46,10 @@ class PreparePlan
|
|
45
46
|
|
46
47
|
if (index < Integer(step))
|
47
48
|
log "[#{index.to_s.rjust(2, "0")}] #{item} SKIPPING"
|
49
|
+
msg = { "message" => { "task" => "skip", "context" => { "step" => index } } }
|
50
|
+
puts msg.to_json
|
48
51
|
else
|
52
|
+
|
49
53
|
log "[#{index.to_s.rjust(2, "0")}] #{item}"
|
50
54
|
publicIp = File.read("#{Canzea::config[:pwd]}/vps-#{serverBase}-#{serverNumber}.json")
|
51
55
|
publicIp.strip!
|
@@ -59,6 +63,12 @@ class PreparePlan
|
|
59
63
|
else
|
60
64
|
RemoteRun.new.test publicIp, privateKey, parts[1], parts[2], index.to_s.rjust(2, "0")
|
61
65
|
end
|
66
|
+
|
67
|
+
if first == true
|
68
|
+
# task is only relevant for the first invocation
|
69
|
+
task = nil
|
70
|
+
first = false
|
71
|
+
end
|
62
72
|
end
|
63
73
|
index = index + 1
|
64
74
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: canzea
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.136
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Canzea Technologies
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|