14198: Use container token for reading input/creating output
authorPeter Amstutz <pamstutz@veritasgenetics.com>
Fri, 9 Nov 2018 02:32:17 +0000 (21:32 -0500)
committerPeter Amstutz <pamstutz@veritasgenetics.com>
Fri, 9 Nov 2018 02:32:17 +0000 (21:32 -0500)
commitb4f1614a50e00e7a0de718fce693b4ed4ea3a2bb
treecc94edd14d4a316a40a42f078dbc3467ed5a55cc
parent2bade90bbbdbb1bb5ebedfc40fe08d1e64145a30
14198: Use container token for reading input/creating output

Refactor a bit to make it obvious which token is being used when
communicating with the API server.  Operations that could involve
federated collections (reading the Docker image, reading inputs,
copying remote blocks to local) must use the container token.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>
services/crunch-run/crunchrun.go
services/crunch-run/crunchrun_test.go