Actions
Story #3527
closed[Crunch] Remove check for "docker_image_hash" link when job supplies a keep locator for "docker_image" .
Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Target version:
Start date:
08/08/2014
Due date:
% Done:
100%
Estimated time:
(Total: 1.00 h)
Story points:
0.5
Updated by Brett Smith over 10 years ago
- Status changed from New to In Progress
- Assigned To set to Brett Smith
Updated by Tom Clegg over 10 years ago
- Subject changed from Remove check for "docker_image_hash" link when job supplies a keep locator for "docker_image" . to [Crunch] Remove check for "docker_image_hash" link when job supplies a keep locator for "docker_image" .
- Category set to Crunch
api/app/models/collection.rb
requires dirname=='.'
to recognize a docker image, but sdk/cli/bin/crunch-job
doesn't require that. The sanity check should probably be the same in both places.
Other than that, this LGTM
Updated by Brett Smith over 10 years ago
- Category deleted (
Crunch)
Tom Clegg wrote:
api/app/models/collection.rb
requiresdirname=='.'
to recognize a docker image, butsdk/cli/bin/crunch-job
doesn't require that. The sanity check should probably be the same in both places.
As discussed in IRC, crunch-job was assuming that the Docker image would be stored in the '.' stream. I taught it to accept any stream from the Collection, and removed the dirname check from the API server. Please take another look.
Updated by Brett Smith over 10 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset arvados|commit:eef298a7cf58771583b255fb0e3e1cfcbcdb6e48.
Actions