- Mastering Microservices with Java 9(Second Edition)
- Sourabh Sharma
- 162字
- 2021-07-02 21:54:43
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.
推薦閱讀
- Mastering Ext JS(Second Edition)
- JavaScript 從入門到項目實踐(超值版)
- Ext JS Data-driven Application Design
- .NET 4.0面向對象編程漫談:基礎篇
- Visual Basic程序設計(第3版):學習指導與練習
- 看透JavaScript:原理、方法與實踐
- Mastering Swift 2
- MySQL數據庫管理與開發(慕課版)
- Go語言從入門到精通
- SAS編程演義
- Apache Solr for Indexing Data
- Mastering ArcGIS Server Development with JavaScript
- LabVIEW數據采集(第2版)
- Web前端開發技術實踐指導教程
- IBM DB2 9.7 Advanced Application Developer Cookbook