Continuous integration and delivery and deployment
-
Upload
ruben-sospedra -
Category
Technology
-
view
38 -
download
4
Transcript of Continuous integration and delivery and deployment
![Page 1: Continuous integration and delivery and deployment](https://reader030.fdocuments.in/reader030/viewer/2022020213/58a298851a28ab36508b6f0f/html5/thumbnails/1.jpg)
CI & CDSleep in peace
![Page 2: Continuous integration and delivery and deployment](https://reader030.fdocuments.in/reader030/viewer/2022020213/58a298851a28ab36508b6f0f/html5/thumbnails/2.jpg)
`whoami`
RUBÉNSOSPEDRA
Software engineerat Ulabox
@sospedra_r
![Page 3: Continuous integration and delivery and deployment](https://reader030.fdocuments.in/reader030/viewer/2022020213/58a298851a28ab36508b6f0f/html5/thumbnails/3.jpg)
Testing
All code is guilty,until proven innocent
![Page 4: Continuous integration and delivery and deployment](https://reader030.fdocuments.in/reader030/viewer/2022020213/58a298851a28ab36508b6f0f/html5/thumbnails/4.jpg)
Testing
![Page 5: Continuous integration and delivery and deployment](https://reader030.fdocuments.in/reader030/viewer/2022020213/58a298851a28ab36508b6f0f/html5/thumbnails/5.jpg)
CI is a software development practice in which you
build and test software every time a developer
pushes code to the application.
Continuous Integration
Continuous Integration [CI]
![Page 6: Continuous integration and delivery and deployment](https://reader030.fdocuments.in/reader030/viewer/2022020213/58a298851a28ab36508b6f0f/html5/thumbnails/6.jpg)
CI = TEST + BUILD
Continuous Integration
![Page 7: Continuous integration and delivery and deployment](https://reader030.fdocuments.in/reader030/viewer/2022020213/58a298851a28ab36508b6f0f/html5/thumbnails/7.jpg)
Is an approach in which automated testing and
deployment capabilities allow rapid deployments.
With minimal human intervention: triggers.
Continuous Delivery
Continuous Delivery
![Page 8: Continuous integration and delivery and deployment](https://reader030.fdocuments.in/reader030/viewer/2022020213/58a298851a28ab36508b6f0f/html5/thumbnails/8.jpg)
Continuous Delivery =
TEST + BUILD + → DEPLOY👆
Continuous Delivery
![Page 9: Continuous integration and delivery and deployment](https://reader030.fdocuments.in/reader030/viewer/2022020213/58a298851a28ab36508b6f0f/html5/thumbnails/9.jpg)
Continuous Delivery =
(TEST + BUILD) + → DEPLOY👆
Continuous Delivery
![Page 10: Continuous integration and delivery and deployment](https://reader030.fdocuments.in/reader030/viewer/2022020213/58a298851a28ab36508b6f0f/html5/thumbnails/10.jpg)
Continuous Delivery =
(CI) + → DEPLOY👆
Continuous Delivery
![Page 11: Continuous integration and delivery and deployment](https://reader030.fdocuments.in/reader030/viewer/2022020213/58a298851a28ab36508b6f0f/html5/thumbnails/11.jpg)
Every code change goes through a pipeline and is put
into production automatically. There's no human
intervention at all.
Continuous Deployment
Continuous Deployment [CD]
![Page 12: Continuous integration and delivery and deployment](https://reader030.fdocuments.in/reader030/viewer/2022020213/58a298851a28ab36508b6f0f/html5/thumbnails/12.jpg)
CD =
TEST + BUILD + ⚙ → DEPLOY
Continuous Deployment
![Page 13: Continuous integration and delivery and deployment](https://reader030.fdocuments.in/reader030/viewer/2022020213/58a298851a28ab36508b6f0f/html5/thumbnails/13.jpg)
🚢 Ship the code within a merge request 🔄 Run automated tests 🔐 Build and deploy to a staging environment 👀 Preview the changes
🔎 Review the code and merge into master 👆 Deploy your changes to a production environment
😭 Rollback if something goes wrong
Flow: staging
Staging
![Page 14: Continuous integration and delivery and deployment](https://reader030.fdocuments.in/reader030/viewer/2022020213/58a298851a28ab36508b6f0f/html5/thumbnails/14.jpg)
🚢 Ship the code within a merge request 🔄 Run automated tests
⚙ Build and deploy to a production environment 👀 Preview the changes
😭 Rollback if something goes wrong
Flow: staging
YOLO
![Page 15: Continuous integration and delivery and deployment](https://reader030.fdocuments.in/reader030/viewer/2022020213/58a298851a28ab36508b6f0f/html5/thumbnails/15.jpg)
AUTOMATEDAUTOMATEDAUTOMATEDAUTOMATEDAUTOMATEDAUTOMATED
Key concept
![Page 16: Continuous integration and delivery and deployment](https://reader030.fdocuments.in/reader030/viewer/2022020213/58a298851a28ab36508b6f0f/html5/thumbnails/16.jpg)
Tools
Some tools
![Page 17: Continuous integration and delivery and deployment](https://reader030.fdocuments.in/reader030/viewer/2022020213/58a298851a28ab36508b6f0f/html5/thumbnails/17.jpg)
Tools
. . . GitLab!
![Page 18: Continuous integration and delivery and deployment](https://reader030.fdocuments.in/reader030/viewer/2022020213/58a298851a28ab36508b6f0f/html5/thumbnails/18.jpg)
Resources
Resources
● [demo] gitlab.com/sospedra/upc● [CI Lintern] gitlab.com/ci/lint● [tpls] /new/master?file_name=.gitlab-ci.yml● [deploy] github.com/travis-ci/dpl● [book] thoughtworks.com/continuous-delivery
![Page 19: Continuous integration and delivery and deployment](https://reader030.fdocuments.in/reader030/viewer/2022020213/58a298851a28ab36508b6f0f/html5/thumbnails/19.jpg)
ThanksMay the test be with you 🖖