Continuous Delivery at Liferay A fast lane for your software updates. Rubén Eduardo

Similar documents
I keep hearing about DevOps What is it?

DevOps in the Cloud A pipeline to heaven?! Robert Cowham BCS CMSG Vice Chair

Deep Dive on AWS CodeStar

Handel-CodePipeline Documentation

Con. Continuous Integration

Configuration Management

Orchestrating the Continuous Delivery Process

Advanced Continuous Delivery Strategies for Containerized Applications Using DC/OS

Sunil Shah SECURE, FLEXIBLE CONTINUOUS DELIVERY PIPELINES WITH GITLAB AND DC/OS Mesosphere, Inc. All Rights Reserved.

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Conventional Development. Manual Build process. Release Manager Testing Team. Developer Branch. Execute Manual /Automation tests.

Getting the files for the first time...2. Making Changes, Commiting them and Pull Requests:...5. Update your repository from the upstream master...

Git for Subversion users

FROM VSTS TO AZURE DEVOPS

Azure DevOps. Randy Pagels Intelligent Cloud Technical Specialist Great Lakes Region

Continuous Delivery the hard way with Kubernetes. Luke Marsden, Developer

devops with

Continuous integration & continuous delivery. COSC345 Software Engineering

Test Automation Strategies in Continuous Delivery. Nandan Shinde Test Automation Architect (Tech CoE) Cognizant Technology Solutions

Version Control for PL/SQL

Continuous Integration Ensemble / HealthShare Health Connect

TM DevOps Use Case. 2017TechMinfy All Rights Reserved

Continuous Testing at Scale

Version Control for PL/SQL

How the Cloud is Enabling the Disruption of the Construction Industry. AWS Case Study Construction Industry. Abstract

We are ready to serve Latest IT Trends, Are you ready to learn? New Batches Info

DevNet Workshop-Hands-on with CloudCenter and Jenkins

Nailing Serverless Application Development

Accelerating Software Delivery with the AWS Developer Tools. Pradyumna Dash Solutions Architect, UK Public Sector

CICD pipeline for your extensions with Visual Studio Team Services

Strengthen and Scale security using DevSecOps

How to Build an Appium Continuous Testing Pipeline

USING GIT FOR AUTOMATION AND COLLABORATION JUSTIN ELLIOTT - MATT HANSEN PENN STATE UNIVERSITY

Build planetary scale applications with compartmentalization

Turbo boost your digital app test automation with Jenkins

DEVELOPING DEVOPS ON AWS

Continuous Delivery for Python Developers PyCon 8, 2017

Swift Web Applications on the AWS Cloud

CONTINUOUS DELIVERY WITH DC/OS AND JENKINS

DevOps Tooling from AWS

Continuous Delivery for Cloud Native Applications

GIT TO DA REPO! VERSION CONTROL, GITLAB, AND ISU

CONTINUOUS DELIVERY IN THE ORACLE CLOUD

Netflix OSS Spinnaker on the AWS Cloud

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

How Can Testing Teams Play a Key Role in DevOps Adoption?

MODERN APPLICATION ARCHITECTURE DEMO. Wanja Pernath EMEA Partner Enablement Manager, Middleware & OpenShift

A DEVOPS STATE OF MIND. Chris Van Tuin Chief Technologist, West

TM DevOps Use Case TechMinfy All Rights Reserved

Elizabeth Lawler CEO & Co-Founder Conjur,

DevOps Agility in the Evolving Cloud Services Landscape

Serverless Architecture meets Continuous Delivery. Andreas

DevSecOps Why Aren t You Doing It? Brian Liceaga, CISSP 1

DevOps Anti-Patterns. Have the Ops team deal with it. Time to fire the Ops team! Let s hire a DevOps unit! COPYRIGHT 2019 MANICODE SECURITY

Accelerate at DevOps Speed With Openshift v3. Alessandro Vozza & Samuel Terburg Red Hat

Git Basi, workflow e concetti avanzati (pt2)

From development to production

Serverless Architecture meets Continous Delivery

Automated Testing of Tableau Dashboards

Software Development I

Managing Network Configurations with Git and GitLab

Lab 01 How to Survive & Introduction to Git. Web Programming DataLab, CS, NTHU

Build & Launch Tools (BLT) Automating best practices for enterprise sites

G, H I, J K, L. Git distributed version control system, 67 repository, 67 TFS, 68 GitFlow, 76 77

Serverless Website Publishing with AWS Code* Services. Steffen Grunwald Solutions Architect, AWS October 27, 2016

JenkinsPipelineUnit. Test your Continuous Delivery Pipeline. Ozan Gunalp - Emmanuel Quincerot

A DEVOPS STATE OF MIND. Chris Van Tuin Chief Technologist, West

AWS Landing Zone. AWS Developers Guide. June 2018

PowerShell-Module Documentation. Release docs

DevOps Using VSTS and Azure

Research Faculty Summit Systems Fueling future disruptions

AALOK INSTITUTE. DevOps Training

Distributed CI: Scaling Jenkins on Mesos and Marathon. Roger Ignazio Puppet Labs, Inc. MesosCon 2015 Seattle, WA

How to go serverless with AWS Lambda

our container journey

Jenkins: A complete solution. From Continuous Integration to Continuous Delivery For HSBC

Containers & Microservices For Realists. Karthik

Weaving Security into Every Application

TM DevOps Use Case. 2017TechMinfy All Rights Reserved

Deployment Patterns using Docker and Chef

How to Enable Risk-Free Database Experiments. OakTable World: Sept 23 & 24, San Francisco

Docker for People. A brief and fairly painless introduction to Docker. Friday, November 17 th 11:00-11:45

Docker at Lyft Speeding up development Matthew #dockercon

Continuous Delivery. Episerver

DEVNET Introduction to Git. Ashley Roach Principal Engineer Evangelist

Cloud Digital Repository Automation

ContainerOps DevOps Orchestration

Continuous Integration and Delivery with Spinnaker

Composer Best Practices Nils Private Packagist

SBB. Java User Group 27.9 & Tobias Denzler, Philipp Oser

Git! Fundamentals. IT Pro Roundtable! June 17, 2014!! Justin Elliott! ITS / TLT! Classroom and Lab Computing!! Michael Potter!

SCAP Security Guide Questions / Answers. Ján Lieskovský Contributor WorkShop November 2015

ThinkPalm s BreakThrough DevOps Capabilities ThinkPalm

DevOps Course Content

ContainerOps - DevOps Orchestration. Quanyi Ma

Visualizing Git Workflows. A visual guide to 539 workflows

PRAGMATIC SECURITY AUTOMATION FOR CLOUD

Was gibt es Neues Better Team Work with Cloud

cwmon-mysql Release 0.5.0

A Tale of Continuous Testing

Transcription:

Continuous Delivery at Liferay A fast lane for your software updates Rubén Pulido @_rubenpulido Eduardo García @edupgv

What to expect During this session, you will 1. Understand what Continuous Delivery is and its benefits. 2. See how a Continuous Delivery pipeline works. 3. Learn how to quickly set up your own pipeline.

Why Continuous Delivery? Our highest priority is to satisfy the customer through early and continuous delivery of valuable software. - Agile Manifesto - http://agilemanifesto.org/

In other words

Definitions code unit pkg test environment delivery environment 1 delivery environment 2 delivery environment 3 production environment integration tests functional tests update tests stress tests PACKAGING CONTINUOUS INTEGRATION CONTINUOUS DELIVERY CONTINUOUS DEPLOYMENT

Benefits Low risk releases Faster time to market and feedback Higher quality Reliable measure of progress Happier teams

Continuous Delivery in Liferay Projects Liferay Digital Experience Platform (DXP) introduces a new scenario of SaaS applications that require: High availability Zero-fault tolerance Shorter release cycles Continuous Delivery is a keystone process for upcoming Liferay applications.

A Continuous Delivery Pipeline Delivery Environment 1 Delivery Environment N Prod Environment Code changes Integration tests pass Trigger CD Pipeline deplo y test deplo y test Manual Approval deplo y test App Code Repository CI System Start Delivery Process Production Ready Publishes to distribution repository Tag release Deploy release Distribution Repository

Continuous Delivery Pipeline Implementation Dev Environment Pre Environment Prod Environment Code changes Integration tests pass Delivery setup deplo y Code Build test deplo y Code Build test Manual Approval deplo y test App Code Repository (Github) CI System (Travis) Start Delivery Process (Github) Production Ready Publishes to distribution repository Deploy release Distribution Repository (Dockerhub)

Demo Time! Delivering your changes with speed and confidence to your customers.

Application

App change

Change code

Merge to master

Merged PR triggers build on Travis

Dockerhub

Github (Deployment Repo)

Get Source

Deploy to Dev

Test Dev

Deploy to Pre

Test Pre

Manual approval and deployment to Prod

Change deployed to Production!

Try it yourself! Prerequisites: Github account Travis account Dockerhub account AWS account

Try it yourself! Manual Steps: Fork and clone sample app (github.com/liferay-labs/liferay-game). Fork sample deployment (github.com/liferay-labs/liferay-game-deployment). Enable your cloned project in Travis and setup the environment variables as described in: github.com/liferay-labs/sepia-deployment-scripts/blob/master/readme.md Trigger a Travis build through a change on the sample app repository.

1st build: Automatic CD Pipeline setup Run tests Publish Docker Image Commit to deployment repo S3 Bucket IAM Policy DEV PRE PROD Setup AWS* IAM Policy test-dev test-pre test-prod IAM Role CodeBuild dep loy test dep loy test Approval Approval dep loy test *github.com/liferay-labs/sepia-deployment-scripts CodePipeline

Result of the 1st Travis build Your application is available on 3 AWS ElasticBeanstalk environments: http://<your_github_user>-liferay-game-dev.eu-west1.elasticbeanstalk.com http://<your_github_user>-liferay-game-pre.eu-west1.elasticbeanstalk.com http://<your_github_user>-liferay-game-prod.eu-west1.elasticbeanstalk.com Your AWS CodePipeline is setup.

Subsequent builds: Execution of the CD Pipeline Run tests Publish Docker Image Commit to deployment repo S3 Bucket Trigger CD Pipeline IAM Policy DEV PRE PROD D IAM Policy test-dev test-pre test-prod IAM Role d CodeBuild *github.com/liferay-labs/sepia-deployment-scripts CodePipeline e d dep loy d e pl d e test pl d dep eloy pl d e test pl Approval Approval d dep eloy pl d e test pl

Learn More Continuous Delivery continuousdelivery.com/ AWS Continuous Delivery aws.amazon.com/devops/continuous-delivery/ Blog Series goo.gl/b4rgmm

Summary Continuous Delivery allows delivering changes quickly and reliably to your customers. We ve seen how a Continuous Delivery Pipeline implementation works. Now you can easily setup your own Continuous Delivery Pipeline.

Q&A Don t be shy Contact us today at DEVCON or later at communitychat.liferay.com.

Thank you! Dank je!