code deployment evolution

Post on 21-Jan-2017

17 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Code Deployment Evolution

boi - TechTalk/Indosystem 161007

Software Deployment

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

FTPPlain text data communication

CPanel

Port 21

SCP / SFTP

SSH Protocol

Encrypted data

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

SimplyDeploy

Based on rsync application

Deploy to multi server on background

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

Scheduled GIT Pull Crontab

git pull origin master

Push to Deploy (GIT)Auto deploy

GIT HOOK

post-receive

Repo Productionpush deploy

Git WebHook

Ansible - debug: msg="DEPLOYING LOKET APP

- name: populate loket app directory

git: repo=git@github.com: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

Jenkins

Artefact

Production

Production

Production

build deploy

question?

thanks

top related