Skip to content

Commit 180d393

Browse files
committed
ci(ocr): migrate to new CI
1 parent 0ef037a commit 180d393

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/config/nodejs-dev.jsonc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@
149149
"functions/log/helloWorld",
150150
"functions/log/processEntry",
151151
"functions/memorystore/redis",
152+
"functions/ocr/app",
152153
"functions/pubsub/publish",
153154
"functions/pubsub/subscribe",
154155
"functions/scheduleinstance",

.github/config/nodejs-prod.jsonc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@
9090
"document-ai", // [ERR_REQUIRE_ESM]: require() of ES Module
9191
"functions/billing", // (untested) Error: Request failed with status code 500
9292
"functions/imagemagick", // (untested) Error: A bucket name is needed to use Cloud Storage
93-
"functions/ocr/app", // (untested) Error: Bucket not provided. Make sure you have a "bucket" property in your request
9493
"functions/slack", // TypeError [ERR_INVALID_ARG_TYPE]: The "key" argument must be of type ... Received undefined
9594
"functions/v2/imagemagick", // (untested) Error: A bucket name is needed to use Cloud Storage.
9695
"healthcare/fhir", // Error: Cannot find module 'whatwg-url'

functions/ocr/app/ci-setup.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"env": {
3+
"FUNCTIONS_BUCKET": "$PROJECT_ID",
4+
"RESULTS_BUCKET": "$PROJECT_ID"
5+
}
6+
}

0 commit comments

Comments
 (0)