Skip to content

Commit

Permalink
feat(gen-ai-pipeline): 添加 GitHub Action 和 Dockerfile 示例
Browse files Browse the repository at this point in the history
为 `gen-ai-pipeline` 章节添加了 GitHub Action 和 Dockerfile 的示例代码,以展示如何为 AI 辅助软件工程创建自动化构建和测试流程。这些示例有助于读者更好地理解如何将 AI IDE 插件与持续集成服务结合使用。
  • Loading branch information
phodal committed Aug 2, 2024
1 parent af95724 commit 8cbdf7c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/gen-ai-pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,24 @@

### prompt 示例:AutoDev

GitHub Action 生成

```Velocity
Create build.yml YAML file for GitHub Action for build project and runs tests
- ${context.buildContext}
- OS: latest ubuntu version
```

Dockerfile 示例:

```Velocity
Please write a Dockerfile with minimal steps.
${context.buildContext}
- I need the building to be done in separate base image than running the build
- I need the application port to be 3000
Output only the Dockerfile content without any explanation.
```

0 comments on commit 8cbdf7c

Please sign in to comment.