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

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.

主站蜘蛛池模板: 临西县| 贞丰县| 永吉县| 穆棱市| 灵武市| 定安县| 海宁市| 阜平县| 北流市| 泰顺县| 横山县| 富顺县| 清苑县| 宜阳县| 抚宁县| 庆云县| 麟游县| 蛟河市| 定西市| 克什克腾旗| 康定县| 大厂| 临颍县| 黑水县| 阳江市| 广汉市| 晋宁县| 班玛县| 南皮县| 浦江县| 太湖县| 大足县| 南丹县| 乡宁县| 安泽县| 贡嘎县| 伽师县| 元朗区| 阿合奇县| 台北市| 商丘市|