[ARVADOS] updated: b60db85375812f6cedfdb4e153de4ed5735f4854
git at public.curoverse.com
git at public.curoverse.com
Sat Feb 15 18:45:36 EST 2014
Summary of changes:
sdk/cli/bin/arv-run-pipeline-instance | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
via b60db85375812f6cedfdb4e153de4ed5735f4854 (commit)
via a765f863edb242574de82486fae365c4a6687f41 (commit)
from bf74325bd7f166a7fe1c02aca47a03bc7443ac8b (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 b60db85375812f6cedfdb4e153de4ed5735f4854
Author: Tom Clegg <tom at curoverse.com>
Date: Sat Feb 15 15:43:34 2014 -0800
Say when re-using existing jobs, even without debug mode. closes #2183
diff --git a/sdk/cli/bin/arv-run-pipeline-instance b/sdk/cli/bin/arv-run-pipeline-instance
index 0be054b..d2b1109 100755
--- a/sdk/cli/bin/arv-run-pipeline-instance
+++ b/sdk/cli/bin/arv-run-pipeline-instance
@@ -131,6 +131,7 @@ end
# this program, that is, not the pipeline component parameters).
p = Trollop::Parser.new do
+ version __FILE__
opt(:dry_run,
"Do not start any new jobs or wait for existing jobs to finish. Just find out whether jobs are finished, queued, or running for each component.",
:type => :boolean,
@@ -447,7 +448,7 @@ class WhRunPipelineInstance
if candidate_job[:success]
unless @options[:no_reuse_finished]
job = candidate_job
- debuglog "component #{cname} satisfied by job #{job[:uuid]} version #{job[:script_version]}"
+ $stderr.puts "using #{job[:uuid]} (finished at #{job[:finished_at]}) for component #{cname}"
c[:job] = job
end
else
@@ -457,7 +458,7 @@ class WhRunPipelineInstance
end
if not c[:job] and second_place_job
job = second_place_job
- debuglog "component #{cname} satisfied by job #{job[:uuid]} version #{job[:script_version]}"
+ $stderr.puts "using #{job[:uuid]} (running since #{job[:started_at]}) for component #{cname}"
c[:job] = job
end
if not c[:job]
commit a765f863edb242574de82486fae365c4a6687f41
Author: Tom Clegg <tom at curoverse.com>
Date: Sat Feb 15 15:19:12 2014 -0800
Output a blank line between pipeline status updates. closes #2182
diff --git a/sdk/cli/bin/arv-run-pipeline-instance b/sdk/cli/bin/arv-run-pipeline-instance
index 740823b..0be054b 100755
--- a/sdk/cli/bin/arv-run-pipeline-instance
+++ b/sdk/cli/bin/arv-run-pipeline-instance
@@ -543,6 +543,7 @@ class WhRunPipelineInstance
if @options[:status_text] != '/dev/null'
File.open(@options[:status_text], 'w') do |f|
+ f.puts ""
f.puts "#{Time.now} -- pipeline_instance #{@instance[:uuid]}"
namewidth = @components.collect { |cname, c| cname.size }.max
@components.each do |cname, c|
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list