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

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.

主站蜘蛛池模板: 鄂托克旗| 桦川县| 建平县| 青阳县| 青州市| 云和县| 尼勒克县| 平湖市| 宜都市| 松桃| 甘泉县| 吉木乃县| 阳新县| 宜春市| 阳东县| 虎林市| 涞源县| 共和县| 晋宁县| 柞水县| 迁安市| 兴业县| 祁连县| 桂林市| 五华县| 兖州市| 东乡县| 溆浦县| 利津县| 夏津县| 九龙城区| 靖西县| 湖州市| 芮城县| 沅陵县| 泰州市| 大同县| 观塘区| 宁乡县| 长丰县| 壤塘县|