1 Commits
main ... sgx

Author SHA1 Message Date
sgx
d484aa963a 更新ai-devops 2025-11-19 02:31:11 +08:00
13 changed files with 32 additions and 12 deletions

View File

@@ -1,3 +1,5 @@
# DevStar AI+ DevOps # DevStar AI+ DevOps
DevStar AI+ DevOps 是一个完整的AI驱动研发平台解决方案通过集成 DevStar平台、代码大语言模型、Gitea MCP Server和 AI Code ToolsCursor、Claude Code、iFlow等为开发者提供智能化研发支撑体系。 DevStar AI+ DevOps 是一个完整的AI驱动研发平台解决方案通过集成 DevStar平台、代码大语言模型、Gitea MCP Server和 AI Code ToolsCursor、Claude Code、iFlow等为开发者提供智能化研发支撑体系。
@@ -94,7 +96,6 @@ DevStar代码托管平台中项目设置、用户设置和后台管理中都可
``` ```
{ {
"mcp": {
"inputs": [ "inputs": [
{ {
"type": "promptString", "type": "promptString",
@@ -117,20 +118,26 @@ DevStar代码托管平台中项目设置、用户设置和后台管理中都可
"docker.gitea.com/gitea-mcp-server" "docker.gitea.com/gitea-mcp-server"
], ],
"env": { "env": {
"GITEA_HOST": "--host http://172.16.94.26", "GITEA_HOST": "http://172.16.94.26",
"GITEA_ACCESS_TOKEN": "${input:gitea_token}" "GITEA_ACCESS_TOKEN": "${input:gitea_token}"
} }
} }
} }
}
} }
``` ```
#### 配置AI IDE/CLI使用私有大模型及MCP Server #### 配置AI IDE/CLI使用私有大模型及MCP Server
* Copilot简要文字描述,不要上太多图,可以提供官方配置链接 * Copilot点击提示框里的“管理模型”选择ollama将mcp配置添加到 .vscode/mcp.json下
* Cursor
* Continue * Cursor不支持私有模型需要本地部署后做代理点击Cursor Settings -> Tools & MCP
-> New MCP Server 将mcp配置添加到mcp.json中
* Continue点击Add Chat modelProvider选择ollama设置->Tools->MCP Servers配置yaml文件
也可以将cursor的json文件放到.continue/mcpServers/mcp.json中
* ... * ...
## 🚀 DevStar AI+ DevOps演示 ## 🚀 DevStar AI+ DevOps演示
@@ -141,20 +148,33 @@ DevStar代码托管平台中项目设置、用户设置和后台管理中都可
使用ai-develops项目模板创建项目 使用ai-develops项目模板创建项目
todo ![](template.png)
配置mcp.json的GITEA_HOST和GITEA_ACCESS_TOKEN
![](mcp.png)
### AI生成代码 ### AI生成代码
todo ![](issue.png)
![](code.png)
### 提交PR ### 提交PR
todo ![](feature.png)
![](feature-2.png)
![](pr.png)
### AI Code Review ### AI Code Review
todo 设置工作流相关变量
### 合并PR ![](vars.png)
![](code-review.png)
![](review.png)
todo

BIN
src/devstar/code-review.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

BIN
src/devstar/code.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

BIN
src/devstar/feature-2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

BIN
src/devstar/feature.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

BIN
src/devstar/issue.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

BIN
src/devstar/mcp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

BIN
src/devstar/ollama-llm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
src/devstar/port.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
src/devstar/pr.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

BIN
src/devstar/review.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
src/devstar/template.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
src/devstar/vars.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB