O slideshow foi denunciado.
Seu SlideShare está sendo baixado. ×

Continuous integration and delivery and deployment

Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Carregando em…3
×

Confira estes a seguir

1 de 19 Anúncio

Mais Conteúdo rRelacionado

Diapositivos para si (20)

Anúncio

Semelhante a Continuous integration and delivery and deployment (20)

Mais recentes (20)

Anúncio

Continuous integration and delivery and deployment

  1. 1. CI & CD Sleep in peace
  2. 2. `whoami` RUBÉN SOSPEDRA Software engineer at Ulabox @sospedra_r
  3. 3. Testing All code is guilty, until proven innocent
  4. 4. Testing
  5. 5. 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]
  6. 6. CI = TEST + BUILD Continuous Integration
  7. 7. Is an approach in which automated testing and deployment capabilities allow rapid deployments. With minimal human intervention: triggers. Continuous Delivery Continuous Delivery
  8. 8. Continuous Delivery = TEST + BUILD + 👆 → DEPLOY Continuous Delivery
  9. 9. Continuous Delivery = (TEST + BUILD) + 👆 → DEPLOY Continuous Delivery
  10. 10. Continuous Delivery = (CI) + 👆 → DEPLOY Continuous Delivery
  11. 11. 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]
  12. 12. CD = TEST + BUILD + ⚙ → DEPLOY Continuous Deployment
  13. 13. 🚢 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
  14. 14. 🚢 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
  15. 15. AUTOMATED AUTOMATED AUTOMATED AUTOMATED AUTOMATED AUTOMATED Key concept
  16. 16. Tools Some tools
  17. 17. Tools . . . GitLab!
  18. 18. 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
  19. 19. Thanks May the test be with you 🖖

Notas do Editor

  • Continuous integration & continuous delivery.
    http://seminarisempresa.fib.upc.edu/aulesempresa/2017/programes/Ulabox.html
  • local, branches, master, staging, prepro, bundles, etc!
  • unit test: white box testing, small, atom
    service: blackbox, integration and connectivity
    ui: end-to-end
  • AUTOMATED !== AUTOMATIC
  • https://gitlab.com/sospedra/upc
    git clone https://gitlab.com/sospedra/upc.git
    npm install
    npm test
    atom .

×