code deployment evolution

13
Code Deployment Evolution boi - TechTalk/Indosystem 161007

Upload: indosystem

Post on 21-Jan-2017

17 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Code Deployment Evolution

Code Deployment Evolution

boi - TechTalk/Indosystem 161007

Page 2: Code Deployment Evolution

Software Deployment

Software deployment is all of the activities that make a software system available for use.

Page 3: Code Deployment Evolution

FTPPlain text data communication

CPanel

Port 21

Page 4: Code Deployment Evolution

SCP / SFTP

SSH Protocol

Encrypted data

Implements file transfer only (SCP), extra capabilities (SFTP)

Page 5: Code Deployment Evolution

SimplyDeploy

Based on rsync application

Deploy to multi server on background

Page 6: Code Deployment Evolution

Continues DeploymentContinuous delivery (CD) is a software engineering approach in which teams produce software in short cycles, ensuring that the software can be reliably released at any time

Page 7: Code Deployment Evolution

Scheduled GIT Pull Crontab

git pull origin master

Page 8: Code Deployment Evolution

Push to Deploy (GIT)Auto deploy

GIT HOOK

post-receive

Repo Productionpush deploy

Page 9: Code Deployment Evolution

Git WebHook

Page 10: Code Deployment Evolution

Ansible - debug: msg="DEPLOYING LOKET APP

- name: populate loket app directory

git: [email protected]:group/repo.git

version={{ git_version }}

dest={{doc_root}}

key_file=/data/.ssh/loket.pem

accept_hostkey=yes

update=yes

force=yes

Ansible

Production

Production

Production

commands

build

build

build

Page 11: Code Deployment Evolution

Jenkins

Artefact

Production

Production

Production

build deploy

Page 12: Code Deployment Evolution

question?

Page 13: Code Deployment Evolution

thanks