message: Allow ctpu_delete to use a different project
diff: @@ -99,6 +99,7 @@ function ctpu_up {
  if [[ -v project ]]; then
  args+=("--project=${project}")
  + echo "${project}" > "${TF_ARTIFACTS_DIR}/tpu_project"
  fi
  ./ctpu up "${args[@]}"
  @@ -108,13 +109,18 @@ function ctpu_up {
  function ctpu_delete {
  export TPU_NAME="$(cat "${TF_GFILE_DIR}/tpu_name")"
  export TPU_ZONE="$(cat "${TF_GFILE_DIR}/tpu_zone")"
  - # TODO(rsopher): conditionally save (and load) TPU_PROJECT if it was specified.
  + TPU_PROJECT_FILE="${TF_GFILE_DIR}/tpu_project"
  + if [ -f "${TPU_PROJECT_FILE}" ]; then
  + export TPU_PROJECT="$(cat ${TPU_PROJECT_FILE})"
  + else
  + export TPU_PROJECT="tensorflow-testing"
  + fi
  # Retry due to rare race condition where TPU creation hasn't propagated by
  # the time we try to delete it.
  for i in 1 2 3; do
  ./ctpu delete \
  - --project=tensorflow-testing \
  + --project=${TPU_PROJECT} \
  --zone="${TPU_ZONE}" \
  --name="${TPU_NAME}" \
  --tpu-only \
  