添加了cloudbuild

This commit is contained in:
2025-09-08 21:23:43 +08:00
parent b33b48fb0f
commit 84e5770f97
15 changed files with 175 additions and 128 deletions

29
docs/devstar/index.md Normal file
View File

@@ -0,0 +1,29 @@
---
outline: deep
weight: 1
---
# 关于Devstar
DevStar一站式智能研发平台采用分层架构设计核心提供DevEnv容器化开发引擎、CI/CD流水线原生支持Actions和Runners、Git代码仓库和制品管理功能上层全面兼容主流IDE如VSCode、Cursor和开发工具链支持C/C++/Go/Rust等语言及ARM/RISC-V/AI芯片开发。平台集成了代码大模型如DeepSeek、Claude、MCP服务器集群包括Github-MCP和DevStar-MCP、分布式编译服务CloudBuild/BuildFarm以及虚拟化平台QEMU/Renode等增强功能底层基于Docker/Kubernetes云原生平台构建形成从编码、测试到部署的完整研发生态并通过项目模板生态和应用商店实现开箱即用的开发体验。
## 目标
DevStar Studio是一个通用的一站式软件研发平台它最初的目标是服务于汽车软件、消费电子、智能制造等嵌入式软件研发场景中的开发者
## 功能特性
- 原生集成兼容Github Actions的DevStar CI/CD流水线Actions/Runners一键安装启用与Pull Request/Al CodeReview工具协同
- 自主研发的DevEnv引擎支撑开箱即用的devcontainer容器化开发环境
- 自主研发的Web端Kubernetes客户端支撑一键安装部署第三方工具/服务,如私有部署代码大模型/Agents、MCP Servers、Cloudbuild等
- Git代码托管、镜像仓库等制品管理Releases/Packages、项目管理Projects/Issues、知识管理Wiki等
## 优势
- 验证与开发同步传统开发流程验证阶段滞后于开发而Devstar开发流程可以实现“边开发边验证”的并行模式
- 集成测试前置传统开发流程集成测试集中在后期而Devstar开发流程将集成测试拆解到开发各阶段
- 测试条件与实际高度一致传统开发流程测试环境与真实场景存在差异而Devstar开发流程可以构建高保真测试环境
- 失效迭代前置传统开发流程失效迭代出现在后期而Devstar开发流程将失效识别和处理提前到了开发早期
- 兼容不容层级的虚拟化传统开发流程只能保证单一流程的虚拟化而而Devstar开发流程可同时兼容硬件级虚拟化、系统级虚拟化、进程级虚拟化
## 在线演示
访问[devstar.cn](https://devstar.cn)或者在VS Code插件市场搜索devstar

View File

@@ -0,0 +1,37 @@
---
outline: deep
weight: 2
---
# 使用shell脚本安装
如果您是在Windows环境下请在cmd命令行下先运行如下命令
```md
powershell wsl --install -d Ubuntu-20.04
```
如果以上命令无法自动完成安装WSL可以手动执行如下消耗完成命令安装
```md
dism.exe /Online /Enable-Feature /FeatureName:Microsoft-Windows-Subsystem-Linux /All /LimitAccess /All
dism.exe /Online /Enable-Feature /FeatureName:VirtualMachinePlatform /All /LimitAccess
```
在Ubuntu-20.04下完成安装:
```md
wget -c https://devstar.cn/assets/install.sh && chmod +x install.sh && sudo ./install.sh
devstar help
------------------------------------------------------------------------
DevStar usage help:
help, -h, --help, Help information
start Start DevStar Studio
--port=<arg> Specify the port number (default port is 8080)
--version=<arg> Specify the DevStar Studio Image Version (default verson is latest)
stop Stop the running DevStar Studio
logs View the logs of the devstar-studio container
clean Clean up the running DevStar Studio, including deleting user data. Please use with caution.
------------------------------------------------------------------------
sudo devstar start
...
-------------------------------------------------------
DevStar started in http://localhost:8080 successfully!
-------------------------------------------------------
```
然后通过浏览器打开http://localhost:8080完成后配置安装默认第一个注册用户为管理员账户。

View File

@@ -0,0 +1,9 @@
# 结合AI快速开始
## 快速开始
- 确定需求Al生成代码Chat with the Al in VSCode/Cursor/Trae/Qode/ Claude Code etc.
- 初步验证结果人工检查和测试代码Code Review/Test Code
- 将代码提交到Git仓库发起Pull Request合并代码请求Chat with DevStar MCP Server
- 执行DevStar Cl/CD流水线Check/Test CodeAl Code ReviewSimulation ExecutionPackaging/Releasing/Deploying..
- 验证结果人工处理Cl/CD流水线反馈给Pull Request的结果

View File

@@ -0,0 +1,37 @@
---
outline: deep
weight: 2
---
# 快速开始
如果您是在Windows环境下请在cmd命令行下先运行如下命令
```md
powershell wsl --install -d Ubuntu-20.04
```
如果以上命令无法自动完成安装WSL可以手动执行如下消耗完成命令安装
```md
dism.exe /Online /Enable-Feature /FeatureName:Microsoft-Windows-Subsystem-Linux /All /LimitAccess /All
dism.exe /Online /Enable-Feature /FeatureName:VirtualMachinePlatform /All /LimitAccess
```
在Ubuntu-20.04下完成安装:
```md
wget -c https://devstar.cn/assets/install.sh && chmod +x install.sh && sudo ./install.sh
devstar help
------------------------------------------------------------------------
DevStar usage help:
help, -h, --help, Help information
start Start DevStar Studio
--port=<arg> Specify the port number (default port is 8080)
--version=<arg> Specify the DevStar Studio Image Version (default verson is latest)
stop Stop the running DevStar Studio
logs View the logs of the devstar-studio container
clean Clean up the running DevStar Studio, including deleting user data. Please use with caution.
------------------------------------------------------------------------
sudo devstar start
...
-------------------------------------------------------
DevStar started in http://localhost:8080 successfully!
-------------------------------------------------------
```
然后通过浏览器打开http://localhost:8080完成后配置安装默认第一个注册用户为管理员账户。