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

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.

主站蜘蛛池模板: 噶尔县| 太和县| 日喀则市| 获嘉县| 鄢陵县| 玉溪市| 张家口市| 开封市| 潮州市| 永兴县| 商丘市| 邵武市| 灵宝市| 阿合奇县| 恭城| 泾阳县| 榆中县| 洛扎县| 镇雄县| 雅江县| 吴桥县| 任丘市| 奇台县| 色达县| 荔浦县| 庐江县| 竹北市| 广水市| 高邑县| 镇巴县| 玉山县| 宣武区| 阳山县| 天祝| 句容市| 昌邑市| 宕昌县| 濮阳县| 梅河口市| 玉屏| 玉田县|