8203: crunch-job tempfails after failing to install a Docker image.
authorBrett Smith <brett@curoverse.com>
Fri, 12 Feb 2016 23:38:36 +0000 (18:38 -0500)
committerBrett Smith <brett@curoverse.com>
Fri, 12 Feb 2016 23:38:36 +0000 (18:38 -0500)
commit2eb7ed57612ce4d360e02b4c3cd0dc43f6db9511
treed3515e3664306e8df4ac7bb9b5f8e2ca8cf80d84
parent292d026aecbc6b7e1bd12a6c5db8cc905318a992
8203: crunch-job tempfails after failing to install a Docker image.

* Use `bash -o pipefail` to run the image installer shell script, to
  reliably detect more failures.
* Exit EX_RETRY_UNLOCKED after a failure to install the image.

Refs #8203, because I'm cautiously optimistic that this will reduce
the incidence of the "can't find UID" problem.
sdk/cli/bin/crunch-job