官术网_书友最值得收藏!

Microservices build pipeline

Microservices can be built and tested using popular CI/CD tools, such as Jenkins and TeamCity. This is done very similarly to how a build is done in a monolithic application. In a microservices architecture, each microservice is treated like a small application.

For example, once you commit the code in the repository (SCM), CI/CD tools trigger the build process:

  1. Cleaning code
  2. Code compilation
  3. Unit test execution
  4. Contract/acceptance test execution
  5. Building the application archives/container images
  6. Publishing the archives/container images to repository management
  7. Deployment on various delivery environments such as development, quality assurance, and staging environments
  8. Integration and functional test execution
  9. Any other steps

Then, release-build triggers, which change the SNAPSHOT or RELEASE version in pom.xml (in the case of Maven), build the artifacts as described in the normal build trigger, publish the artifacts to the artifacts repository, and tag the version in the repository. If you use the container image, then build the container image as a part of the build.

主站蜘蛛池模板: 蒲城县| 淅川县| 汾阳市| 玉田县| 霞浦县| 自治县| 潼关县| 岳池县| 若羌县| 略阳县| 宁陵县| 沽源县| 玉门市| 和政县| 个旧市| 柯坪县| 布尔津县| 类乌齐县| 青铜峡市| 绿春县| 保靖县| 梨树县| 镇原县| 宿迁市| 安塞县| 衢州市| 阳原县| 尼木县| 奉贤区| 贡嘎县| 东宁县| 柳州市| 贵州省| 永定县| 普格县| 二手房| 远安县| 昌图县| 麦盖提县| 繁昌县| 沁阳市|