task-orchestrator 0.0.16 → 0.0.17
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.
- data/README.md +1 -0
- data/lib/orchestrator/task.rb +2 -2
- data/lib/orchestrator/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
data/lib/orchestrator/task.rb
CHANGED
|
@@ -410,7 +410,7 @@ EOF
|
|
|
410
410
|
running_threads = 0
|
|
411
411
|
|
|
412
412
|
step['scripts'].each_index do |index|
|
|
413
|
-
next if step['scripts'][index].has_key?('status') and step['scripts'][index]['status']
|
|
413
|
+
next if step['scripts'][index].has_key?('status') and ['OK','SKIPED'].find_index(step['scripts'][index]['status'])
|
|
414
414
|
if step['scripts'][index].has_key?('condition') and 'OK' != run_command(step['scripts'][index]['condition'], 0)
|
|
415
415
|
step['scripts'][index]['status'] = "SKIPED"
|
|
416
416
|
save_state
|
|
@@ -443,7 +443,7 @@ EOF
|
|
|
443
443
|
|
|
444
444
|
step['scripts'].each_index do |index|
|
|
445
445
|
failures = 0
|
|
446
|
-
next if step['scripts'][index].has_key?('status') and step['scripts'][index]['status']
|
|
446
|
+
next if step['scripts'][index].has_key?('status') and ['OK','SKIPED'].find_index(step['scripts'][index]['status'])
|
|
447
447
|
if step['scripts'][index].has_key?('condition') and 'OK' != run_command(step['scripts'][index]['condition'], 0)
|
|
448
448
|
step['scripts'][index]['status'] = "SKIPED"
|
|
449
449
|
save_state
|
data/lib/orchestrator/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: task-orchestrator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.17
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-
|
|
12
|
+
date: 2014-04-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: pony
|