[ARVADOS] updated: 8b9f3b877a6aa7ed81db48f83f3feb5ef4388164
git at public.curoverse.com
git at public.curoverse.com
Fri Sep 12 08:52:09 EDT 2014
Summary of changes:
.../pipeline_instances/_show_components.html.erb | 2 +-
.../_show_components_running.html.erb | 24 ++++++++++++----------
2 files changed, 14 insertions(+), 12 deletions(-)
via 8b9f3b877a6aa7ed81db48f83f3feb5ef4388164 (commit)
from 004e528060e42b45c8207e43892289b14f5aa2e5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 8b9f3b877a6aa7ed81db48f83f3feb5ef4388164
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Fri Sep 12 08:52:03 2014 -0400
3187: Text tweaks.
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 b7a5711..94cbf98 100644
--- a/apps/workbench/app/views/pipeline_instances/_show_components.html.erb
+++ b/apps/workbench/app/views/pipeline_instances/_show_components.html.erb
@@ -1,6 +1,6 @@
<% if !@object.state.in? ['New', 'Ready'] %>
- <div class="pull-right" style="padding-left: 2em">
+ <div class="pull-right" style="padding-left: 1em">
Current state: <span class="badge badge-info" data-pipeline-state="<%= @object.state %>">
<% if @object.state == "RunningOnServer" %>
Active
diff --git a/apps/workbench/app/views/pipeline_instances/_show_components_running.html.erb b/apps/workbench/app/views/pipeline_instances/_show_components_running.html.erb
index f5eb17b..0d27566 100644
--- a/apps/workbench/app/views/pipeline_instances/_show_components_running.html.erb
+++ b/apps/workbench/app/views/pipeline_instances/_show_components_running.html.erb
@@ -8,19 +8,18 @@
<% end %>
<p>
- This pipeline
<% if @object.started_at %>
- started at <span data-utc-date="<%= @object.started_at %>"><%= @object.started_at %></span> and
+ Started at <span data-utc-date="<%= @object.started_at %>"><%= @object.started_at %></span> and
<% else %>
- has not started.
+ Has not started.
<% end %>
<% if @object.state == 'Complete' %>
completed in
<% elsif @object.state == 'Failed' %>
failed after
- <% else %>
- and has been active for
+ <% elsif @object.started_at %>
+ has been active for
<% end %>
<% walltime = if @object.started_at
@@ -35,20 +34,23 @@
%>
<%= runtime(walltime, true) %><% if @object.finished_at %> at <span data-utc-date="<%= @object.finished_at %>"><%= @object.finished_at %></span><% end %>.
+
+ <% if @object.state == 'Failed' %>
+ Check the Log tab for more detail about why this pipeline failed.
+ <% end %>
</p>
<p>
- This pipeline
<% tasks = JobTask.filter([['job_uuid', 'in', render_pipeline_jobs.map { |j| j[:job].andand[:uuid] }]]).results %>
<% runningtime = determine_wallclock_runtime(render_pipeline_jobs.map {|j| j[:job]}) %>
- <% if @object.state.start_with? == 'Running' %>
- has run
+ <% if @object.state.start_with? 'Running' %>
+ Has run
<% else %>
- ran
+ Ran
<% end %>
for
- <%= runtime(runningtime, true) %><% if tasks.size == 0 %>.<% else %> (<%= runtime(walltime - runningtime, true) %> queued),
+ <%= runtime(runningtime, true) %> (<%= runtime(walltime - runningtime, true) %> queued)<% if tasks.size == 0 %>.<% else %>
and used
<% cputime = tasks.map { |task|
puts "started at #{task.started_at}"
@@ -150,7 +152,7 @@
<div class="row">
<div class="col-md-6">
<table>
- <% [:script, :repository, :supplied_script_version, :script_version, :nondeterministic].each do |k| %>
+ <% [:script, :repository, :script_version, :supplied_script_version, :nondeterministic].each do |k| %>
<tr>
<td style="padding-right: 1em">
<%= k.to_s %>:
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list