4027: API Jobs that specify SDK version must also use Docker.
authorBrett Smith <brett@curoverse.com>
Thu, 20 Nov 2014 14:52:53 +0000 (09:52 -0500)
committerBrett Smith <brett@curoverse.com>
Thu, 20 Nov 2014 16:25:13 +0000 (11:25 -0500)
commitd6db40a49670b9d5612a6012c0e33639c1fabd4c
tree419a0005eaab1f2b0841b50bb7e421257f0490c0
parent48ccafc46692ae60300039937a15c0ec6f106697
4027: API Jobs that specify SDK version must also use Docker.

Because compute nodes will be upgraded regularly, we don't want to
guarantee that we'll have the necessary tools to run older SDK
versions.  The primary motivation for this feature is to install SDKs
into Docker images, so we require that to be specified.

This commit removes a few `job.valid?` assertions from the job unit
tests.  These are redundant when they come after `Job.create!` because
that will raise an exception if the job isn't valid.
doc/api/schema/Job.html.textile.liquid
services/api/app/models/job.rb
services/api/test/functional/arvados/v1/job_reuse_controller_test.rb
services/api/test/unit/job_test.rb