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

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.

主站蜘蛛池模板: 杭州市| 凤城市| 普陀区| 郧西县| 哈尔滨市| 阳春市| 锡林郭勒盟| 灵台县| 轮台县| 襄汾县| 阳原县| 视频| 姚安县| 深泽县| 侯马市| 广平县| 开封市| 景洪市| 大庆市| 蒲城县| 荥阳市| 双柏县| 喀什市| 荔浦县| 吴忠市| 黑河市| 崇左市| 南岸区| 黄大仙区| 龙泉市| 孟津县| 红原县| 资溪县| 蓬溪县| 葵青区| 凤凰县| 黄石市| 溧水县| 宣汉县| 甘德县| 杭锦旗|