-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: 区分SCOW和SCOW AI所使用的适配器调度器接口版本 (#1361)
SCOW主线使用v1.5.0的调度器适配器接口,SCOW AI使用`feat-ai-release`分支下的接口版本。
- Loading branch information
Showing
8 changed files
with
126 additions
and
12 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
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,13 @@ | ||
version: v1 | ||
plugins: | ||
- name: ts-proto | ||
path: node_modules/ts-proto/protoc-gen-ts_proto | ||
strategy: all | ||
out: generated | ||
opt: | ||
- unrecognizedEnum=false | ||
- useDate=string | ||
- oneof=unions | ||
- esModuleInterop=true | ||
- useOptionals=messages | ||
- outputServices=grpc-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"name": "@scow/ai-scheduler-adapter-protos", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "build/index.js", | ||
"private": true, | ||
"scripts": { | ||
"generate": "rimraf generated && buf generate --template buf.gen.yaml https://github.com/PKUHPC/scow-scheduler-adapter-interface.git#branch=feat-ai-release", | ||
"build": "rimraf build && tsc" | ||
}, | ||
"files": [ | ||
"build", | ||
"!**/*.map" | ||
], | ||
"dependencies": { | ||
"@grpc/grpc-js": "1.10.9", | ||
"long": "5.2.3", | ||
"protobufjs": "7.3.2" | ||
}, | ||
"devDependencies": { | ||
"ts-proto": "1.180.0" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC" | ||
} |
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,13 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"outDir": "build", | ||
"baseUrl": "./" | ||
}, | ||
"include": [ | ||
"generated/**/*.ts" | ||
], | ||
"exclude": [ | ||
"node_modules" | ||
] | ||
} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.