git-deliver ignite slides for devops days paris 2015

Post on 16-Jul-2015

121 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

1

© OCTO 2015

Deploying

Dynamic languagesScriptsConfig

2

© OCTO 2015

Deploying

Dynamic languagesScriptsConfig

3

© OCTO 2015

Platform

specific

tools

Git hooks

Shell

scripts

tar -cvf

ssh

Ansible

Deploying

Dynamic languagesScriptsConfig

4

© OCTO 2015

?What version ison server X ?

Who deliveredthat ? When ?

5

© OCTO 2015

?What version ison server X ?

Is that reallyversion x.y ?

Are you sure thisthing works ?

Who deliveredthat ? When ?

6

© OCTO 2015

7

© OCTO 2015

Client requires : Git, Bash, SSH No server installation needed(Requires Git + POSIX)

8

© OCTO 2015

# git deliver <remote> <version>

$ git deliver test master$ git deliver prod a45fab$ git deliver prod v1.2.0

9

© OCTO 2015

# git deliver <remote> <version>

$ git deliver test master$ git deliver prod a45fab$ git deliver prod v1.2.0

10

© OCTO 2015

# git deliver --status [REMOTE]

11

© OCTO 2015

# git deliver --status [REMOTE]

# git deliver --rollback <REMOTE> [DELIVERY]

12

© OCTO 2015

# git deliver --status [REMOTE]

# git deliver --rollback <REMOTE> [DELIVERY]

# git deliver --gc <REMOTE>

13

© OCTO 2015

Secure communications via SSH

Everything is logged

14

© OCTO 2015

Secure communications via SSH

Everything is logged

Atomic delivery

15

© OCTO 2015

Secure communications via SSH

Everything is logged

Atomic delivery

Automatic rollback on error

16

© OCTO 2015

init-remote

Deploymentstages

pre-delivery post-checkout

pre-symlink

post-symlink

Stage scripts

• Database migration• Ansible playbook / puppet / chef / etc.• Server restart• …

17

© OCTO 2015

init-remote

Deploymentstages

pre-delivery post-checkout

pre-symlink

post-symlink

Stage scripts

• Database migration• Ansible playbook / puppet / chef / etc.• Server restart• …

18

© OCTO 2015

init-remote

Deploymentstages

pre-delivery post-checkout

pre-symlink

post-symlink

Stage scripts

• Database migration• Ansible playbook / puppet / chef / etc.• Server restart• …

19

© OCTO 2015

Let’s share delivery « recipies »

http://github.com/arnoo/git-deliver

20

© OCTO 2015

Let’s share delivery « recipies »

http://github.com/arnoo/git-deliver

We are hiring… come talk to us @ DevOps Days !

top related