-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #259 from ueckoken/impl-image-autooperation
- Loading branch information
Showing
18 changed files
with
415 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
main.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,23 +4,27 @@ | |
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "npx tsc" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"type": "module", | ||
"license": "ISC", | ||
"dependencies": { | ||
"@bufbuild/buf": "^1.28.1", | ||
"@bufbuild/connect-web": "^0.13.0", | ||
"@bufbuild/protobuf": "^1.4.2", | ||
"@bufbuild/protoc-gen-es": "^1.4.2", | ||
"@connectrpc/connect": "^1.1.3", | ||
"@connectrpc/connect-node": "^1.1.3", | ||
"@connectrpc/connect-web": "^1.1.3", | ||
"@connectrpc/protoc-gen-connect-es": "^1.1.3", | ||
"install": "^0.13.0", | ||
"install": "^0.13.0" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "20.9.5", | ||
"tsx": "^4.3.0", | ||
"typescript": "5.2.2" | ||
} | ||
"typescript": "5.2.2", | ||
"@connectrpc/protoc-gen-connect-es": "^1.1.3", | ||
"@bufbuild/protoc-gen-es": "^1.4.2" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
2 changes: 1 addition & 1 deletion
2
...tion/proto/state/v1/state_connectweb.d.ts → ...eration/proto/state/v1/state_connect.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ration/proto/state/v1/state_connectweb.js → ...operation/proto/state/v1/state_connect.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM node:20.9-bookworm AS base | ||
ENV PNPM_HOME="/pnpm" | ||
ENV PATH="$PNPM_HOME:$PATH" | ||
RUN corepack enable | ||
|
||
FROM base AS dep-resolver | ||
|
||
WORKDIR /auto-operation | ||
COPY --chown=node:node pnpm-lock.yaml pnpm-workspace.yaml ./ | ||
COPY backend/auto-operation ./backend/auto-operation | ||
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile | ||
|
||
FROM dep-resolver AS auto-operation-builder | ||
RUN pnpm run --filter=./backend/auto-operation -r build | ||
RUN pnpm deploy --filter=./backend/auto-operation --prod dist/auto-operation | ||
RUN cp backend/auto-operation/main.js dist/auto-operation/main.js | ||
WORKDIR /autooperation/dist/auto-operation | ||
|
||
|
||
FROM gcr.io/distroless/nodejs20-debian12:nonroot AS dashboard-runner | ||
COPY --from=auto-operation-builder --chown=nonroot:nonroot /auto-operation/dist/auto-operation /auto-operation | ||
ENV SERVER_ADDR='' | ||
CMD ["/auto-operation/main.js"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
"lint": "next lint" | ||
}, | ||
"dependencies": { | ||
"@bufbuild/connect-web": "^0.13.0", | ||
"@bufbuild/protobuf": "^1.4.2", | ||
"@connectrpc/connect": "^1.1.3", | ||
"@connectrpc/connect-query": "^0.6.0", | ||
|
@@ -22,7 +21,6 @@ | |
}, | ||
"devDependencies": { | ||
"@bufbuild/buf": "^1.28.1", | ||
"@bufbuild/protoc-gen-connect-web": "^0.11.0", | ||
"@bufbuild/protoc-gen-es": "^1.4.2", | ||
"@connectrpc/protoc-gen-connect-es": "^1.1.3", | ||
"@connectrpc/protoc-gen-connect-query": "^0.6.0", | ||
|
@@ -39,5 +37,6 @@ | |
".next/standalone", | ||
".next/static", | ||
"public" | ||
] | ||
], | ||
"packageManager": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rd/src/proto/state/v1/state_connectweb.ts → ...board/src/proto/state/v1/state_connect.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1071,31 +1071,11 @@ | |
"@bufbuild/buf-win32-arm64" "1.28.1" | ||
"@bufbuild/buf-win32-x64" "1.28.1" | ||
|
||
"@bufbuild/connect-web@^0.13.0": | ||
version "0.13.0" | ||
resolved "https://registry.yarnpkg.com/@bufbuild/connect-web/-/connect-web-0.13.0.tgz#87301c92d49d3c3f9acb99729c2f7505d739aa4a" | ||
integrity sha512-Ys9VFDWYktD9yFQSLOlkpsD42LonDNMCysLCfjXFuxlupYuf4f7qg0zkT5bESyTfqk4xtRDSSGR3xygaj/ONIQ== | ||
dependencies: | ||
"@bufbuild/connect" "0.13.0" | ||
|
||
"@bufbuild/[email protected]": | ||
version "0.13.0" | ||
resolved "https://registry.yarnpkg.com/@bufbuild/connect/-/connect-0.13.0.tgz#97a84a2cac747c7a52d4421a3382d8d165f61c99" | ||
integrity sha512-eZSMbVLyUFtXiZNORgCEvv580xKZeYQdMOWj2i/nxOcpXQcrEzTMTA7SZzWv4k4gveWCOSRoWmYDeOhfWXJv0g== | ||
|
||
"@bufbuild/[email protected]", "@bufbuild/protobuf@^1.2.1", "@bufbuild/protobuf@^1.3.3", "@bufbuild/protobuf@^1.4.2": | ||
"@bufbuild/[email protected]", "@bufbuild/protobuf@^1.3.3", "@bufbuild/protobuf@^1.4.2": | ||
version "1.4.2" | ||
resolved "https://registry.yarnpkg.com/@bufbuild/protobuf/-/protobuf-1.4.2.tgz#dc4faf21264a47b71a15806616043cb006e80ac8" | ||
integrity sha512-JyEH8Z+OD5Sc2opSg86qMHn1EM1Sa+zj/Tc0ovxdwk56ByVNONJSabuCUbLQp+eKN3rWNfrho0X+3SEqEPXIow== | ||
|
||
"@bufbuild/protoc-gen-connect-web@^0.11.0": | ||
version "0.11.0" | ||
resolved "https://registry.yarnpkg.com/@bufbuild/protoc-gen-connect-web/-/protoc-gen-connect-web-0.11.0.tgz#985e12d0acc804a14033916bd2cebf3d88562dd1" | ||
integrity sha512-7GvYkQjN6LP/ixtosI4JBN8eph2kS5XNju9zFwBuJ6aHqfl1sNRkRWG8LEdtTJtyW2R3QypAUyLfpLQf/ZyRVw== | ||
dependencies: | ||
"@bufbuild/protobuf" "^1.2.1" | ||
"@bufbuild/protoplugin" "^1.2.1" | ||
|
||
"@bufbuild/protoc-gen-es@^1.4.2": | ||
version "1.4.2" | ||
resolved "https://registry.yarnpkg.com/@bufbuild/protoc-gen-es/-/protoc-gen-es-1.4.2.tgz#00c8b09430dd1154e626da7c247fd6425a1cd41d" | ||
|
@@ -1104,7 +1084,7 @@ | |
"@bufbuild/protobuf" "^1.4.2" | ||
"@bufbuild/protoplugin" "1.4.2" | ||
|
||
"@bufbuild/[email protected]", "@bufbuild/protoplugin@^1.2.1", "@bufbuild/protoplugin@^1.3.3": | ||
"@bufbuild/[email protected]", "@bufbuild/protoplugin@^1.3.3": | ||
version "1.4.2" | ||
resolved "https://registry.yarnpkg.com/@bufbuild/protoplugin/-/protoplugin-1.4.2.tgz#abf9b0e6a3dc8b52b1d6699d7a1ce5219fa82322" | ||
integrity sha512-5IwGC1ZRD2A+KydGXeaSOErwfILLqVtvMH/RkN+cOoHcQd4EYXFStcF7g7aR+yICRDEEjQVi5tQF/qPGBSr9vg== | ||
|
@@ -1120,7 +1100,7 @@ | |
dependencies: | ||
stable-hash "^0.0.3" | ||
|
||
"@connectrpc/connect-web@^1.1.3": | ||
"@connectrpc/connect-web@^1.1.2": | ||
version "1.1.3" | ||
resolved "https://registry.yarnpkg.com/@connectrpc/connect-web/-/connect-web-1.1.3.tgz#027922b4f1537ecb1eaaa31ec3a59dd471a65320" | ||
integrity sha512-WfShOZt91duJngqivYF4wJFRbeRa4bF/fPMfDVN0MAYSX3VuaTMn8o9qgKN7tsg2H2ZClyOVQwMkZx6IdcP7Zw== | ||
|
Oops, something went wrong.