arvados-cli 0.1.20151104051940 → 0.1.20151109193309
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/bin/arv-run-pipeline-instance +21 -12
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44df1a75ca8fadb960d3f5091e034157d961d6ea
|
4
|
+
data.tar.gz: cf5dbd02a6a52b90cdc47f2221e23c23d3447ae1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b80acccb9f679530b4bdf70da0475b0ac2fa59e78a8ba2cedd3126504ed44188893fa1191757ed7c46178ffc11bf04838030fbeba017b3d41dd4f7de5990623
|
7
|
+
data.tar.gz: 1cebbff9e0b542456271583829efaae3488e70b2288236206603c4901a23aef4d7e90e3999f0c55d20bd0c72a4c1c9da254e46e05e8d2266f9bc14e8953cea6c
|
@@ -149,6 +149,10 @@ p = Trollop::Parser.new do
|
|
149
149
|
"Description for the pipeline instance.",
|
150
150
|
:short => :none,
|
151
151
|
:type => :string)
|
152
|
+
opt(:project_uuid,
|
153
|
+
"UUID of the project for the pipeline instance.",
|
154
|
+
short: :none,
|
155
|
+
type: :string)
|
152
156
|
stop_on [:'--']
|
153
157
|
end
|
154
158
|
$options = Trollop::with_standard_exception_handling p do
|
@@ -440,18 +444,23 @@ class WhRunPipelineInstance
|
|
440
444
|
end
|
441
445
|
end
|
442
446
|
else
|
443
|
-
description = $options[:description]
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
447
|
+
description = $options[:description] ||
|
448
|
+
("Created at #{Time.now.localtime}" + (@template[:name].andand.size.andand>0 ? " using the pipeline template *#{@template[:name]}*" : ""))
|
449
|
+
instance_body = {
|
450
|
+
components: @components,
|
451
|
+
properties: {
|
452
|
+
run_options: {
|
453
|
+
enable_job_reuse: !@options[:no_reuse]
|
454
|
+
}
|
455
|
+
},
|
456
|
+
pipeline_template_uuid: @template[:uuid],
|
457
|
+
description: description,
|
458
|
+
state: ($options[:submit] ? 'RunningOnServer' : 'RunningOnClient')
|
459
|
+
}
|
460
|
+
if @options[:project_uuid]
|
461
|
+
instance_body[:owner_uuid] = @options[:project_uuid]
|
462
|
+
end
|
463
|
+
@instance = PipelineInstance.create(instance_body)
|
455
464
|
end
|
456
465
|
self
|
457
466
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.20151109193309
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arvados Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: arvados
|
@@ -178,7 +178,7 @@ dependencies:
|
|
178
178
|
- - "<"
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: 1.0.0
|
181
|
-
description: Arvados command line tools, git commit
|
181
|
+
description: Arvados command line tools, git commit b958fc62a440d30e4f381f88015acfecaa640b71
|
182
182
|
email: gem-dev@curoverse.com
|
183
183
|
executables:
|
184
184
|
- arv
|