X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8722cd175d66ae707ba1ce2efa15b572678f545c..7538d084fa8778289053f62a6fb8d3ea04868258:/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..dae57aa0e8 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 = @object.state.start_with?('Running') ? 5000 : 15000 + %> +
-
- 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_pipeline_components("running", :json) %> <% 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) %>