-
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.
feat(portal): 将文件直接提交为sbatch命令 (#891)
### 做了什么 **需求** 在文件管理中增加对所有文件对象增加”提交“按钮直接sbatch执行 暂时只考虑提交的文本作为作业直接执行 执行后也应该展示在正在运行的作业和已结束的作业中 提交文件大小限制为1M **实现** 此pr完成上述需求 增加文件是否为文本文件的判断 增加此操作在审计系统中的操作日志 ![image](https://github.com/PKUHPC/SCOW/assets/43978285/44df586e-110b-42be-ac99-a224d69dd330) ![image](https://github.com/PKUHPC/SCOW/assets/43978285/c50febf4-dcee-48f5-8a9b-e4cd9ac69210) ![image](https://github.com/PKUHPC/SCOW/assets/43978285/63ceac2c-8398-4ced-b7ab-fe19c670b6a8) 提交失败时 ![fileSize-error](https://github.com/PKUHPC/SCOW/assets/43978285/aa6efe74-2955-430d-bd61-79086b5a82af) ![not-text](https://github.com/PKUHPC/SCOW/assets/43978285/b33edf48-aaa0-42ac-b62d-34dfe12118ce) ![sbatchfailed](https://github.com/PKUHPC/SCOW/assets/43978285/b562d79c-58b8-4419-9e98-0354e615237f) 操作日志追加 ![image](https://github.com/PKUHPC/SCOW/assets/43978285/9a55c5c5-e5fd-4236-804c-9f16f56febd3) 调度器适配器接口仓库分支暂时变更为临时分支,测试结束后合并调度器适配器接口分支进主分支,修改复原SCOW中调度器适配器仓库
- Loading branch information
Showing
22 changed files
with
387 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@scow/grpc-api": minor | ||
--- | ||
|
||
新增 submitFileAsJob 接口,直接把文件作为作业提交调度器执行 |
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,11 @@ | ||
--- | ||
"@scow/scheduler-adapter-protos": minor | ||
"@scow/lib-scheduler-adapter": minor | ||
"@scow/portal-server": minor | ||
"@scow/test-adapter": minor | ||
"@scow/portal-web": minor | ||
"@scow/mis-web": minor | ||
"@scow/utils": minor | ||
--- | ||
|
||
在门户系统的文件管理下,新增将文件直接作为作业文本提交调度器执行的功能,如果调度器API版本低于此接口版本报错 |
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
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
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
Oops, something went wrong.