diff --git a/.kokoro/functions/speech-to-speech.cfg b/.kokoro/functions/speech-to-speech.cfg index fc5a1498c6..313b42ffba 100644 --- a/.kokoro/functions/speech-to-speech.cfg +++ b/.kokoro/functions/speech-to-speech.cfg @@ -6,6 +6,12 @@ env_vars: { value: "functions/speech-to-speech/functions/" } +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/node:8-user" +} + # Tell the trampoline which build file to use. env_vars: { key: "TRAMPOLINE_BUILD_FILE" diff --git a/functions/speech-to-speech/functions/package.json b/functions/speech-to-speech/functions/package.json index aee358cf1a..0ea4acc650 100644 --- a/functions/speech-to-speech/functions/package.json +++ b/functions/speech-to-speech/functions/package.json @@ -33,7 +33,7 @@ "logs": "firebase functions:log" }, "dependencies": { - "@google-cloud/speech": "^2.1.0", + "@google-cloud/speech": "^3.0.0", "@google-cloud/storage": "^3.0.0", "@google-cloud/text-to-speech": "^0.5.0", "@google-cloud/translate": "^3.0.0",