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

Microservices build pipeline

Microservices could also be built and tested using the popular CI/CD tools such as Jenkins, TeamCity, and so on. It is very similar to how a build is done in a monolithic application. In microservices, 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:

  • Cleaning code
  • Code compilation
  • Unit test execution
  • Contract/Acceptance test execution
  • Building the application archives/container images
  • Publishing the archives/container images to repository management
  • Deployment on various Delivery environments such as Dev, QA, Stage, and so on
  • Integration and Functional test execution
  • Any other steps

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

主站蜘蛛池模板: 余干县| 淄博市| 绥滨县| 凤冈县| 壶关县| 马尔康县| 邵阳县| 忻城县| 禄劝| 祁东县| 车致| 嘉兴市| 吐鲁番市| 嘉荫县| 乐昌市| 沙洋县| 黔南| 宣化县| 陆川县| 本溪市| 团风县| 绩溪县| 黄冈市| 寿光市| 深圳市| 水城县| 南江县| 疏附县| 余姚市| 天等县| 贵港市| 白朗县| 新民市| 广东省| 新和县| 科技| 南和县| 高唐县| 都江堰市| 闸北区| 新龙县|