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

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.

主站蜘蛛池模板: 深泽县| 清徐县| 蒙山县| 佛冈县| 吉木萨尔县| 固原市| 顺昌县| 沅陵县| 哈巴河县| 石家庄市| 襄垣县| 陵川县| 二连浩特市| 大竹县| 陵水| 镶黄旗| 大同县| 娱乐| 鄯善县| 墨竹工卡县| 金秀| 紫金县| 安丘市| 松江区| 房山区| 岗巴县| 永登县| 常宁市| 阜平县| 同仁县| 龙里县| 安庆市| 永昌县| 周宁县| 乐亭县| 竹溪县| 米易县| 博野县| 株洲县| 平凉市| 成安县|