Coursera 笔记

Module 05 · Final Project and Final Exam期末项目与期末考试

Final Project - Part A: Epics and Stories期末项目 - A 部分:创建史诗和故事

Coursera ↗

预计所需时间: 25分钟

在本实验中,您将为税务计算器项目创建史诗和用户故事。您可以使用在本课程中之前注册的任何看板。或者,您也可以使用电子表格或任何文本编辑器来编写史诗和用户故事。

目标

完成本实验后,您将能够:

  1. 为现代化应用程序创建一个史诗。
  2. 为该史诗创建多个用户故事。

任务 1:创建一个史诗

重新登录您的看板,并为即将进行的增强创建一个史诗。

史诗是一个大型的高层次工作项,用于捕捉和传达项目的更广泛目标。由于它们过于复杂,无法在一开始就准确估计,因此通常会被拆分为更小、更易管理的用户故事或功能。

史诗标题:现代化税务计算器

史诗描述:当前税务计算器作为手动部署的静态应用程序运行,缺乏强大的管道支持。这个史诗的重点是现代化该应用程序,以便在 IBM Cloud1 上部署。但该网络应用程序不仅仅是简单地迁移到云端。该应用程序将使用 Docker 容器2 进行容器化。部署将通过管道进行管理,这也将确保所有单元测试在部署前都能通过4。

Epic Title: Modernise Tax Calculator

Epic Description: The Tax Calculator currently runs as a manually deployed static application and lacks a robust pipeline in place. This epic focuses on modernizing the application to deploy it on IBM Cloud1. But the web application will not just be simply lifted and shifted to cloud. The application will be containerized using Docker container2. The deployment will be managed through a pipeline, which will also ensure that all unit tests pass4 before deployment.

以下提示将帮助您在下一个任务中创建相关的用户故事:

  1. 在 IBM Cloud 上部署
  2. 对应用程序进行容器化
  3. 创建用于打包应用程序的管道
  4. 在管道中作为一部分运行单元测试

任务 2:创建故事

在看板上创建以下用户故事。

  1. 应用程序容器化
    描述:为了确保每个代码单元按预期执行,运行单元测试。如果单元测试通过,将应用程序部署到 Docker 容器中。
    Containerizing the application
    Description: To ensure that each unit of code performs as expected, run unit tests. And if the unit tests pass, deploy the application to a docker container.
  2. 在 IBM Cloud 上部署
    描述:不再使用自管理或内部虚拟机进行托管,而是在 IBM Cloud 上部署应用程序,使用 IBM Cloud Code Engine。
    Deploying on IBM Cloud
    Description: Instead of hosting on self-managed or in-house virtual machines, deploy the application on IBM Cloud, using IBM Cloud Code Engine.
  3. 创建打包和部署应用程序的管道
    描述:当前的打包和部署过程涉及太多手动步骤。使用 Tekton 管道来自动化应用程序的构建、测试和打包阶段。
    Creating a pipeline for packaging and deploying the application
    Description: The current process of packaging and deploying involves too many manual steps. Use a Tekton pipeline to automate the build, test, and packaging stages of the application.

结论

本实验使您能够在IBM Cloud上现代化和自动化税务计算器的部署,简化流程并提高应用程序的效率和可扩展性。