projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
12033: browserify is needed in production env, for package-building.
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
pipeline_instance_work_unit.rb
diff --git
a/apps/workbench/app/models/pipeline_instance_work_unit.rb
b/apps/workbench/app/models/pipeline_instance_work_unit.rb
index 889fa1a7f3cccecf86c53f5cd837ad4f34cb7ca2..517dbc7a352a78502117c85662cc1e7318739eb8 100644
(file)
--- a/
apps/workbench/app/models/pipeline_instance_work_unit.rb
+++ b/
apps/workbench/app/models/pipeline_instance_work_unit.rb
@@
-1,3
+1,7
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
class PipelineInstanceWorkUnit < ProxyWorkUnit
def children
return @my_children if @my_children
class PipelineInstanceWorkUnit < ProxyWorkUnit
def children
return @my_children if @my_children
@@
-18,10
+22,10
@@
class PipelineInstanceWorkUnit < ProxyWorkUnit
if job[:uuid] and jobs[job[:uuid]]
items << jobs[job[:uuid]].work_unit(name)
else
if job[:uuid] and jobs[job[:uuid]]
items << jobs[job[:uuid]].work_unit(name)
else
- items << JobWorkUnit.new(job, name)
+ items << JobWorkUnit.new(job, name
, uuid
)
end
else
end
else
- items << JobWorkUnit.new(c, name)
+ items << JobWorkUnit.new(c, name
, uuid
)
end
else
@unreadable_children = true
end
else
@unreadable_children = true
@@
-51,4
+55,8
@@
class PipelineInstanceWorkUnit < ProxyWorkUnit
def title
"pipeline"
end
def title
"pipeline"
end
+
+ def template_uuid
+ get(:pipeline_template_uuid)
+ end
end
end