使用 GitHub Actions 将 DevOps 应用于 LUIS 应用开发Apply DevOps to LUIS app development using GitHub Actions
请转到 LUIS DevOps 模板存储库,以获取针对 LUIS 实现 DevOps 和软件工程最佳做法的完整解决方案。Go to the LUIS DevOps template repo for a complete solution that implements DevOps and software engineering best practices for LUIS. 可以使用此模板存储库创建自己的存储库,其中对于通过 LUIS 为自己的项目实现源代码管理、自动生成、测试和发布管理的 CI/CD 工作流和做法提供内置支持。You can use this template repo to create your own repository with built-in support for CI/CD workflows and practices that enable source control, automated builds, testing, and release management with LUIS for your own project.
LUIS DevOps 模板存储库The LUIS DevOps template repo
LUIS DevOps 模板存储库演练如何执行以下操作:The LUIS DevOps template repo walks through how to:
- 克隆模板存储库 - 将模板复制到自己的 GitHub 存储库。Clone the template repo - Copy the template to your own GitHub repository.
- 配置 LUIS 资源 - 在 Azure 中创建 LUIS 创作和预测资源,这些资源将由持续集成工作流使用。Configure LUIS resources - Create the LUIS authoring and prediction resources in Azure that will be used by the continuous integration workflows.
- 配置 CI/CD 工作流 - 配置 CI/CD 工作流的参数并将它们存储在 GitHub 机密中。Configure the CI/CD workflows - Configure parameters for the CI/CD workflows and store them in GitHub Secrets.
- 演练“开发内部循环” - 开发人员在开发分支中工作时对示例 LUIS 应用进行更新,测试更新,然后引发拉取请求来提议更改并寻求审批。Walks through the "dev inner loop" - The developer makes updates to a sample LUIS app while working in a development branch, tests the updates and then raises a pull request to propose changes and to seek review approval.
- 执行 CI/CD 工作流 - 使用 GitHub Actions 执行持续集成工作流以生成和测试 LUIS 应用。Execute CI/CD workflows - Execute continuous integration workflows to build and test a LUIS app using GitHub Actions.
- 执行自动测试 - 执行 LUIS 应用的自动批处理测试以评估应用的质量。Perform automated testing - Perform automated batch testing for a LUIS app to evaluate the quality of the app.
- 部署 LUIS 应用 - 执行持续交付 (CD) 作业以发布 LUIS 应用。Deploy the LUIS app - Execute a continuous delivery (CD) job to publish the LUIS app.
- 将存储库用于自己的项目 - 说明如何将存储库用于自己的 LUIS 应用程序。Use the repo with your own project - Explains how to use the repo with your own LUIS application.
后续步骤Next steps
- 使用 LUIS DevOps 模板存储库将 DevOps 应用于自己的项目。Use the LUIS DevOps template repo to apply DevOps with your own project.
- LUIS 的源代码管理和分支策略Source control and branch strategies for LUIS
- LUIS DevOps 测试Testing for LUIS DevOps
- LUIS DevOps 的自动化工作流Automation workflows for LUIS DevOps