arvados-cli 0.1.20140512104117 → 0.1.20140512131115
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/arv-run-pipeline-instance +4 -12
- 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: bef66eff584d19b04d12513dd9f8c7893f35b2de
|
4
|
+
data.tar.gz: b5db7c7563f163a9f567bfa10870f578083389f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a40ef53ec73a0987f6897ad8594106e4bc13ee0107f1b0f01643533df58d80abf245940f11e214db12fc4ace51234a872910730c7ecd5af0177f8f9314f2a365
|
7
|
+
data.tar.gz: 49db9e66e6ac14bed0482c3d18ff0bdec4f0f9e2bf20330200add96608e19058eaf31aeb114099077162167f09d985991a74d3d945f2cca1a383e6b0923cdc15
|
@@ -541,7 +541,6 @@ class WhRunPipelineInstance
|
|
541
541
|
end
|
542
542
|
end
|
543
543
|
@instance[:components] = @components
|
544
|
-
@instance[:active] = moretodo
|
545
544
|
report_status
|
546
545
|
|
547
546
|
if @options[:no_wait]
|
@@ -555,7 +554,6 @@ class WhRunPipelineInstance
|
|
555
554
|
debuglog "interrupt", 0
|
556
555
|
interrupted = true
|
557
556
|
break
|
558
|
-
#abort
|
559
557
|
end
|
560
558
|
end
|
561
559
|
end
|
@@ -580,19 +578,13 @@ class WhRunPipelineInstance
|
|
580
578
|
|
581
579
|
if interrupted
|
582
580
|
if success
|
583
|
-
@instance[:
|
584
|
-
@instance[:success] = success
|
585
|
-
@instance[:state] = "Complete"
|
581
|
+
@instance[:state] = 'Complete'
|
586
582
|
else
|
587
|
-
@instance[:active] = nil
|
588
|
-
@instance[:success] = nil
|
589
583
|
@instance[:state] = 'Paused'
|
590
584
|
end
|
591
585
|
else
|
592
586
|
if ended == @components.length or failed > 0
|
593
|
-
@instance[:
|
594
|
-
@instance[:success] = success
|
595
|
-
@instance[:state] = success ? "Complete" : "Failed"
|
587
|
+
@instance[:state] = success ? 'Complete' : 'Failed'
|
596
588
|
end
|
597
589
|
end
|
598
590
|
|
@@ -604,8 +596,8 @@ class WhRunPipelineInstance
|
|
604
596
|
end
|
605
597
|
|
606
598
|
def cleanup
|
607
|
-
if @instance
|
608
|
-
@instance[:
|
599
|
+
if @instance and @instance[:state] == 'RunningOnClient'
|
600
|
+
@instance[:state] = 'Paused'
|
609
601
|
@instance.save
|
610
602
|
end
|
611
603
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arvados-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.20140512131115
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arvados Authors
|
@@ -146,7 +146,7 @@ dependencies:
|
|
146
146
|
- - "~>"
|
147
147
|
- !ruby/object:Gem::Version
|
148
148
|
version: '0.8'
|
149
|
-
description: This is the Arvados SDK CLI gem, git revision
|
149
|
+
description: This is the Arvados SDK CLI gem, git revision d455c8373cf39f4310d2b0e13e7a9d02aca0b2ab
|
150
150
|
email: gem-dev@curoverse.com
|
151
151
|
executables:
|
152
152
|
- arv
|