Project

General

Profile

Actions

Idea #3527

closed

[Crunch] Remove check for "docker_image_hash" link when job supplies a keep locator for "docker_image" .

Added by Peter Amstutz over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Target version:
Story points:
0.5

Subtasks 1 (0 open1 closed)

Task #3529: Review 3527-infer-docker-hash-wipResolvedTom Clegg08/08/2014Actions
Actions #1

Updated by Brett Smith over 9 years ago

  • Status changed from New to In Progress
  • Assigned To set to Brett Smith
Actions #2

Updated by Tom Clegg over 9 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

Actions #3

Updated by Brett Smith over 9 years ago

  • Category deleted (Crunch)

Tom Clegg wrote:

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.

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.

Actions #4

Updated by Brett Smith over 9 years ago

  • Category set to Crunch
Actions #5

Updated by Tom Clegg over 9 years ago

Ready!

Actions #6

Updated by Brett Smith over 9 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados|commit:eef298a7cf58771583b255fb0e3e1cfcbcdb6e48.

Actions #7

Updated by Ward Vandewege over 9 years ago

  • Story points set to 0.5
Actions

Also available in: Atom PDF