+ - 0:00:00
Notes for current slide
Notes for next slide

Put the dev back into devops

a cheap and easy guide to getting your changes into production

Jon Johnson

Jon's avatar

jrjohnson
jrjohnson_

1 / 14

Who am I?

  • Full stack web developer
  • Technical lead for the Ilios Project open source curriculum management system for health science education. (http://iliosproject.org)
  • Ardently lazy about repeating tasks

github contributions

2 / 14

Lets GIT cracking

3 / 14

Everything lives in the .git directory

DEMO TIME! Rollar Coaster Demolotiion

http://giphy.com/gifs/demo-rollercoaster-wooden-r9CT85ZJah3Ik

4 / 14
cd ~/Desktop/gitdemo
git init
echo "Please Read me" > README
git add README
git commit

Open in finder and look at the file

git checkout -b edit-readme
echo "Please Do NOT Read me" >> README
git commit -a -m 'Better readme'

Open in finder and look at the file

git checkout -b delete-readme
git rm README
git commit -a -m 'Remove readme'

Switch between branches and look at the file in the finder

Remotes and Forks and Branches, oh My!

  • What to share and when / Keep your crappy ideas private
5 / 14

Why Fork and Pull?

  • Limited authority to make commits
  • Everyone has their own playground
  • Only master matters
  • short lived branches
6 / 14

Up to date forking

  • Never touch your master branch
  • git pull --rebase upstream master

example branches

7 / 14

Github FTW!

  • The repository is in the cloud
  • Public / Private repositories
  • Common tool makes onboarding easier

blues brothers celebration

8 / 14

GitHub 2000: Pull Requests

  • Validate every change:
    • Unit tests
    • Code Style
    • Manual Validation
      • Checkout and review
      • Build and deploy the PR
  • Discussion on small features, screen shots, etc.

All Checks Passed!

9 / 14

What can the internets do for you?

Cats in a musical https://laughingsquid.com/i-can-has-cheezburger-the-musiclol/

10 / 14

What can the internets do for you?

  • Github
  • Travis
  • Saucelabs (test in ALL THE BROWSERS)
  • Code Climate (code quality)
  • Coveralls (test coverage)
  • Heroku (deploy PRs for testing)
11 / 14

Travis for Continuous Integration

  • Free for open source
  • Configurable virtual testing dashboard -
12 / 14

AWS for continous delivery

  • S3 bucket stores files
  • Cloudfront serves assets
  • S3 stores a JSON description of index
{
link: [
{
rel: "stylesheet",
href: "https://d26vzvixg52o0d.cloudfront.net/assets/vendor-fda2f842da2dc4fa03daaa1bd5411c9e.css"
},
{
rel: "stylesheet",
href: "https://d26vzvixg52o0d.cloudfront.net/assets/ilios-ce71609f3b7baec15ff33a847fbe8f66.css"
}
],
script: [
{
src: "https://d26vzvixg52o0d.cloudfront.net/assets/vendor-9c5092b47123cf8fa27e436e8e8fc608.js"
},
{
src: "https://d26vzvixg52o0d.cloudfront.net/assets/ilios-ca247ee9a3b36d2dce3689bc7edcab77.js"
},
]
}
13 / 14

Questions?

Jon's avatar

Slides at: https://jrjohnson.dev/talks/2016-04-devops-process.html

jrjohnson
jrjohnson_

14 / 14

Who am I?

  • Full stack web developer
  • Technical lead for the Ilios Project open source curriculum management system for health science education. (http://iliosproject.org)
  • Ardently lazy about repeating tasks

github contributions

2 / 14
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
Esc Back to slideshow