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

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.

主站蜘蛛池模板: 会东县| 蒲江县| 上林县| 得荣县| 吴忠市| 府谷县| 长丰县| 思南县| 曲沃县| 石棉县| 麟游县| 汾阳市| 合肥市| 井冈山市| 昆明市| 灌云县| 陆河县| 罗平县| 吉隆县| 长白| 东平县| 炉霍县| 吴忠市| 靖远县| 恭城| 拜城县| 大邑县| 兰考县| 金坛市| 大荔县| 上思县| 平和县| 长治市| 元氏县| 丹凤县| 成都市| 江源县| 清水河县| 甘肃省| 邹城市| 齐齐哈尔市|