Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Practicing Continuous Deployment

Practicing Continuous Deployment

Let's talk a little bit about the process of continuous delivery of statefull applications or stateless sites.

To reach this condition some ICT improviments are neeed and it is essential to check other processes up including those which are also the base for CI/CD such as continuous integration and delivery, automated testing, service management and configuration management, among others.

In this presentation we will address a practical example of containerized hotsite that has continuous deploy with the process being supported under Gilab + Gilab-CI + Rancher.

Adriano Vieira

August 05, 2017
Tweet

More Decks by Adriano Vieira

Other Decks in Programming

Transcript

  1. @adriano_vieira Tooling Stack • Version Control System (gitlab + gitlab-ci)

    • Reverse Proxy (nginx, haproxy) • Containers (Docker) • Containers Platform (Rancher) • Containers Orchestrator (K8s, Swarm, Cattle) Technology Process People Source: Making IT Lean
  2. @adriano_vieira Tooling Gitlab • MR aproval • Git LFS •

    registry for docker images • Pipeline CI/CD .gitlab-ci.yml • advanced as you need • which build tool (maven, grunt, gradle etc) • pipeline/build artifacts • docker for environments jobs; each job has it’s own templates or image • N stages • N environments • QA (unit, coverage, DB integration etc) • delivery and/or deployment
  3. @adriano_vieira Tooling Rancher • UI Container Management Platform • Multi-environments

    • Multi-orchestrator • Multi-stacks • Multi-services
  4. @adriano_vieira Going live... Transforming IT • Agility • Methodologies/Frameworks ◦

    Lean Thinking/Lean IT ◦ Dev[..]Ops ◦ Open Organization
  5. @adriano_vieira Going live... Transforming IT • Continuous ◦ “Test” ◦

    Integration ◦ Delivery ◦ Deployment • QA & Monitoring • QA & Configuration Management • ...
  6. @adriano_vieira 道 References: • Orest Fiume, Jacques Chaize, Daniel Jones,

    Michael Balle. The Lean Strategy: Using Lean to create competitive advantage, unleash innovation, and deliver sustainable growth. McGraw-Hill. 2017 • Howard Williams, Rebecca Duray. Making IT Lean. CRC Press. 2012 • Gary Hamel, Jim Whitehurst. The Open Organization: Igniting Passion and Performance. Harvard Business Review Press. 2015 • Katherine Daniels, Jennifer Davis. Effective DevOps. O'Reilly. 2016 • Kief Morris. Infrastructure as Code. O'Reilly. 2015 • Continuous Delivery vs Continuous Deployment. Jez Humble. 2010. https://continuousdelivery.com/2010/08/continuous-delivery-vs-contin uous-deployment • Get Started with DevOps: A Guide for IT Managers. Gareth Rushgrove. Puppet. 2016 • GitLab Continuous Integration. Gitlab. https://about.gitlab.com/gitlab-ci • Demo tools ◦ Gitlab-CI+runners (http://gitlab.com) ◦ Rancher (http://rancher.com)
  7. @adriano_vieira 道 Adriano Vieira @adriano_vieira speakerdeck.com/adrianovieira gitlab.com/adrianovieira I acted as

    Team Manager for ICT Operations, I headed multidisciplinary teams including remote ones in open-sourced software development and I also worked as system administrator of Linux and Windows platforms. I taught classes of change management, system and service configuration; I also done some presentations in conferences in ICT field in themes as such development and operations automation. For example, I've done a presentation in the Open Networking Summit 2017 at Santa Clara, CA/USA. I hold a bachelor's degree in mechanical engineering, MBA in business management and I also attended software engineering.