2. Today's Talk
● The goal for using CI/CD
● Our CI/CD tools set
● Building conventions
● Builds flow
● Scaling the build infrastracture
● Build demo
● How we deploy
● Additional operations in deployment process
● Auto Healing
● Saving Money
● The need for PAAS
● Deploy Demo
3. The Goal For Using CI/CD
Deliver code safe & fast from SVC to production
4. Tools Set
● BitBucket
● Jenkins
● Docker
● Registry
● Consul
● RabbitMQ
● Mesos
● Redis
● And some code...
8. Scaling/HA of the build infrastructure
● Jenkins
● Builders
● Rabbit
● Redis
● Registry
Active/passive master +
horizontal scaled slaves
Scale out docker builders cluster
Rabbit cluster for HA
Master/Slave Redis with sentinel for auto switch over
Active/passive with automatic switch over
11. Types Of Operations
● Deploy
● Start
● Stop
● Restart
● Revert
● Build/Deploy Branch
● The above actions on specific instances
● The above actions on several modes
● Deploy to Mesos
● And more…
15. The Needs for PAAS
● Easier for branch testing
● Smoother testing→staging → production flow
● Ideal for small applications
● Faster delivery
● More dynamic
● Less configurations
● Potential for better utilization