X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d6d7788c4e6b1d3da88833329b326fd7a3891503..441ef97e93a951b349356df96d8a6ef604c6cab7:/apps/workbench/app/views/pipeline_instances/_show_components.html.erb diff --git a/apps/workbench/app/views/pipeline_instances/_show_components.html.erb b/apps/workbench/app/views/pipeline_instances/_show_components.html.erb index c55a7253b8..560b3a512b 100644 --- a/apps/workbench/app/views/pipeline_instances/_show_components.html.erb +++ b/apps/workbench/app/views/pipeline_instances/_show_components.html.erb @@ -1,27 +1,20 @@ <% if !@object.state.in? ['New', 'Ready'] %> - <% pipeline_job_uuids = [] %> + <% + job_uuids = @object.components.map { |k,j| j.is_a? Hash and j[:job].andand[:uuid] }.compact + throttle = 86486400000 # 1001 nights + %> +
-
- Current state: <%= @object.state.sub('OnServer', '') %>  -
- - <%= render_pipeline_components("running", :json, pipeline_job_uuids: pipeline_job_uuids) %> - - <% if @object.state.in? %w(RunningOnServer RunningOnClient Failed) %> - -

Log messages from jobs

- <% log_history = pipeline_log_history((pipeline_job_uuids || []) + [@object.uuid]) %> -
"> - <% log_history.each do |entry| %> - <%=entry%>
- <% end %> -
- - <% end %> + <%= render partial: 'work_units/show_component', locals: {wu: @object.work_unit(@object.name)} %> <% else %> <%# state is either New or Ready %> + <%= render_unreadable_inputs_present %> +

Here are all of the pipeline's components (jobs that will need to run in order to complete the pipeline). If you know what you're doing (or you're experimenting) you can modify these parameters before starting the pipeline. Usually, you only need to edit the settings presented on the "Inputs" tab above.

<%= render_pipeline_components("editable", :json, editable: true) %>