anynines - continuous deployment with cloud foundry, github and travis ci

24
Montag, 9. September 13

Upload: anynines

Post on 05-Dec-2014

562 views

Category:

Technology


3 download

DESCRIPTION

Learn how to setup a complete continuous delivery chain using Github, Travis-CI and Cloud Foundry / Anynines.

TRANSCRIPT

Page 1: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

Montag, 9. September 13

Page 2: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

Continuous Deployment with Cloud Foundry

Montag, 9. September 13

Page 3: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

Internal Server Error

Montag, 9. September 13

Page 4: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

Continuous Delivery

Montag, 9. September 13

Page 5: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

Never forget to run your tests.

Montag, 9. September 13

Page 6: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

Never deploy untested code.

Montag, 9. September 13

Page 7: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

Push > test > deploy

Montag, 9. September 13

Page 8: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

Automatic test execution

Montag, 9. September 13

Page 9: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

Automatic deployments

Montag, 9. September 13

Page 10: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

Setup time < 10 min

Montag, 9. September 13

Page 11: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

+ +

Montag, 9. September 13

Page 12: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

$>cf push

Montag, 9. September 13

Page 13: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

$>vi .travis.yml

Montag, 9. September 13

Page 14: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

Activate travis github hook

Montag, 9. September 13

Page 15: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

$>travis setup cloudfoundry

Montag, 9. September 13

Page 16: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

language: rubyscript: 'true'deploy: provider: cloudfoundry target: https://api.de.a9s.eu username: [email protected] password: secure: encrypted password= organization: julian_fischer_anynines_com space: hell on: repo: anynines/ruby-sinatra-example-app

Montag, 9. September 13

Page 17: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

$>git push

Montag, 9. September 13

Page 18: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

Montag, 9. September 13

Page 19: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

☺Montag, 9. September 13

Page 20: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

Continuous deployment

Montag, 9. September 13

Page 21: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

Better and faster development

Montag, 9. September 13

Page 22: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

Easy to setup withCloud Foundry & Travis

Montag, 9. September 13

Page 23: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

Try it!

Montag, 9. September 13

Page 24: Anynines - Continuous deployment with Cloud Foundry, Github and Travis CI

Tutorial athttp://rh.gd/contdeploy

Montag, 9. September 13