[ARVADOS] updated: 029656d8b2646bae51de03426a6496cbce0cc9d7
git at public.curoverse.com
git at public.curoverse.com
Fri Sep 26 15:42:27 EDT 2014
Summary of changes:
.../app/controllers/projects_controller.rb | 19 +++++-
.../app/helpers/pipeline_instances_helper.rb | 26 +++++--
apps/workbench/app/models/job.rb | 20 ------
.../views/application/_job_status_label.html.erb | 3 +-
.../workbench/app/views/jobs/_show_recent.html.erb | 2 +-
apps/workbench/app/views/jobs/show.html.erb | 2 +-
.../pipeline_instances/_running_component.html.erb | 6 +-
.../app/views/projects/_show_dashboard.html.erb | 8 +--
apps/workbench/app/views/users/_tables.html.erb | 2 +-
apps/workbench/test/integration/projects_test.rb | 23 ++++---
docker/api/Dockerfile | 3 +-
docker/api/application.yml.in | 2 +
docker/build_tools/build.rb | 1 +
docker/config.yml.example | 5 ++
docker/passenger/Dockerfile | 6 +-
sdk/cli/bin/arv-run-pipeline-instance | 71 ++++++++-----------
sdk/cli/bin/crunch-job | 38 +++++++----
.../app/controllers/arvados/v1/jobs_controller.rb | 7 +-
services/api/app/controllers/static_controller.rb | 17 +++--
services/api/app/mailers/admin_notifier.rb | 12 ----
services/api/app/mailers/user_notifier.rb | 12 ----
services/api/app/models/job.rb | 4 +-
.../admin_notifier/new_inactive_user.text.erb | 4 +-
.../api/app/views/admin_notifier/new_user.text.erb | 4 +-
.../views/user_notifier/account_is_setup.text.erb | 4 +-
services/api/config/application.default.yml | 18 ++---
services/api/config/application.yml.example | 2 +
services/api/lib/has_uuid.rb | 2 +-
services/api/script/crunch-dispatch.rb | 79 ++++++++++++++--------
services/api/test/fixtures/collections.yml | 24 +++++++
services/api/test/fixtures/jobs.yml | 11 +++
services/fuse/tests/test_mount.py | 2 +
32 files changed, 247 insertions(+), 192 deletions(-)
via 029656d8b2646bae51de03426a6496cbce0cc9d7 (commit)
via 0fc69ec920fb2edf48a196adfbce1e7c66218f04 (commit)
via cad9d2f9fe930e51279a8496929857039deea2de (commit)
via b506247f4a34e1a409f57c3a01c07a94970fe68f (commit)
via 1b189a0961ba757caf6160285b59daa26c7cdcae (commit)
via d4724463bd248922dc37b43f59d54890d10581c1 (commit)
via eaf8fb3be8218971b9a66d10b7bbabbbf92cd041 (commit)
via c2c38069d28fc68dea6e1b2cb0d5f4f36e1ef03f (commit)
via d592a37f987ed90e017bc9d2d962a2f620e27095 (commit)
via 22c3f131e929bef5574ef71a98bc48290c36dfb3 (commit)
via a3787ef83a0538097fb6f802f675be740a241ebc (commit)
via ce410ef35e137e040ace097a74a33f04c5975ad9 (commit)
via c491bfd795b7c7c4f26f18003290bd7ec9e88d60 (commit)
via abc1db31bae1b33ed899a1da4b59f2edc0f5f189 (commit)
via 1d8f975be8d35444aca0f21a0b6c91bc4a277662 (commit)
via 4e8745c2a744a2c3e6b44ee6100fb1a26749cebf (commit)
via a805395a2a64aa83a1604ade6932151a0846b577 (commit)
via 48d04722a5e0478e22be33f58036806a55b3a0eb (commit)
via 1d135e43d06148b100fbc8534144b405e4824af9 (commit)
via 2861857a87d4c40924f783862ee09e91cec0b96f (commit)
via 88650e2c0020e1122449d7b91ad3ebf78bab9d23 (commit)
via 94b11dfc98ed84d0f91f2bc2fc81e76b4d3c35d7 (commit)
via e9622f371ad4d75f0a0b5ee9480fae779dd63156 (commit)
via 5253b7d81a54c6087b35148499c360c692fac870 (commit)
via a452ab111d29f4f06d31c3fe760bb17b211020a6 (commit)
via 9daebff7dfeaa7092da078f3a0bfdc0c9d8e51e0 (commit)
via 9a15397a7e030704f63441d6e7893cb3d8be1d64 (commit)
via 44e4d85c32d5e4ea4dc651570672e59d7a10d3b3 (commit)
via 8b4cd21c6bd056e4ebf7487132a454cb5b8aacc5 (commit)
via b0fa2109b62079c50c5228d227c591fde7b40ab7 (commit)
via 77ad02138232ebf8885ceef5b4c398bf6fd39587 (commit)
via 24fd61eb70995d505bd990a79339571294b8f6eb (commit)
via 3d84dd62a85647e9b3dfc34af8303c09b9923498 (commit)
via 93c7127afd21f82662e9b471e7c617ae8c59ad19 (commit)
via 68dc1fcaec00d7d954be19f2c184e04626639616 (commit)
via 1a8481cd4ebacf2036090273bb6b9444dbed16a8 (commit)
via 4c53b3aee935b41e11c71ff1468a10d6a80c390c (commit)
via c8ad3a2a0f27964eff5d5c2d845afab728836473 (commit)
via d7c09707b2b5146367c2988b75deffce21b5ae2c (commit)
from c02331eb9e7d302efdd788af0dd3ba9124352edb (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 029656d8b2646bae51de03426a6496cbce0cc9d7
Merge: c02331e 0fc69ec
Author: Tim Pierce <twp at curoverse.com>
Date: Fri Sep 26 15:42:12 2014 -0400
Merge branch 'master' into 3901-component-rendering-errors
Conflicts:
apps/workbench/app/helpers/pipeline_instances_helper.rb
diff --cc apps/workbench/app/helpers/pipeline_instances_helper.rb
index 7c6e5f0,ae8384e..06d61e0
--- a/apps/workbench/app/helpers/pipeline_instances_helper.rb
+++ b/apps/workbench/app/helpers/pipeline_instances_helper.rb
@@@ -102,16 -102,21 +102,28 @@@ module PipelineInstancesHelpe
end
if c[:job] and c[:job][:uuid] and job[c[:job][:uuid]]
pj[:job] = job[c[:job][:uuid]]
- else
- pj[:job] = c[:job].is_a?(Hash) ? c[:job] : {}
-
+ elsif c[:job].is_a?(Hash)
+ pj[:job] = c[:job]
+ if pj[:job][:started_at].is_a? String
+ pj[:job][:started_at] = Time.parse(pj[:job][:started_at])
+ end
+ if pj[:job][:finished_at].is_a? String
+ pj[:job][:finished_at] = Time.parse(pj[:job][:finished_at])
+ end
+ # If necessary, figure out the state based on the other fields.
+ pj[:job][:state] ||= if pj[:job][:cancelled_at]
+ "Cancelled"
+ elsif pj[:job][:success] == false
+ "Failed"
+ elsif pj[:job][:success] == true
+ "Complete"
+ elsif pj[:job][:running] == true
+ "Running"
+ else
+ "Queued"
+ end
+ else
+ pj[:job] = {}
end
pj[:percent_done] = 0
pj[:percent_running] = 0
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list