Skip to content

Commit cff3cae

Browse files
renovate[bot]fhinkel
authored andcommitted
fix(deps): update dependency @google-cloud/vision to v1 (GoogleCloudPlatform#1279)
* fix(deps): update dependency @google-cloud/vision to v1 * Update docker image to Node 8
1 parent e348294 commit cff3cae

4 files changed

Lines changed: 16 additions & 4 deletions

File tree

.kokoro/functions/imagemagick.cfg

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@ env_vars: {
66
value: "functions/imagemagick"
77
}
88

9+
# Configure the docker image for kokoro-trampoline.
10+
env_vars: {
11+
key: "TRAMPOLINE_IMAGE"
12+
value: "gcr.io/cloud-devrel-kokoro-resources/node:8-user"
13+
}
14+
915
# Tell the trampoline which build file to use.
1016
env_vars: {
1117
key: "TRAMPOLINE_BUILD_FILE"
1218
value: "github/nodejs-docs-samples/.kokoro/build.sh"
13-
}
19+
}

.kokoro/functions/ocr-app.cfg

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@ env_vars: {
66
value: "functions/ocr/app"
77
}
88

9+
# Configure the docker image for kokoro-trampoline.
10+
env_vars: {
11+
key: "TRAMPOLINE_IMAGE"
12+
value: "gcr.io/cloud-devrel-kokoro-resources/node:8-user"
13+
}
14+
915
# Tell the trampoline which build file to use.
1016
env_vars: {
1117
key: "TRAMPOLINE_BUILD_FILE"
1218
value: "github/nodejs-docs-samples/.kokoro/build.sh"
13-
}
19+
}

functions/imagemagick/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"dependencies": {
1818
"@google-cloud/storage": "^3.0.0",
19-
"@google-cloud/vision": "^0.25.0",
19+
"@google-cloud/vision": "^1.0.0",
2020
"gm": "^1.23.1"
2121
},
2222
"devDependencies": {

functions/ocr/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@google-cloud/pubsub": "^0.28.1",
1919
"@google-cloud/storage": "^3.0.0",
2020
"@google-cloud/translate": "^3.0.0",
21-
"@google-cloud/vision": "^0.25.0",
21+
"@google-cloud/vision": "^1.0.0",
2222
"nconf": "^0.10.0",
2323
"safe-buffer": "^5.1.2"
2424
},

0 commit comments

Comments
 (0)