oscon: better collaboration through tooling
TRANSCRIPT
Better Collaboration through ToolingOpen Source, ETC...
David Lawrence - @endophageYing Li - @cyliDocker Security Team
ETC…?
Process & Team Debt
Technical Debt
“Nothing in the world is worth having or worth doing unless it means effort, pain, difficulty…”
Theodore Roosevelt
Easy
Tidy
Consistent
Onboarding
Make It Easy
Pretty quickly you feel like...
DEMO
Make It Tidy
docker-compose down \ --rmi local \ -v
Make It Consistent
Have you tried forcing an unexpected reboot?
N.B. These steps don’t excuse you from writing documentation.
Maintaining
computer overlords
I for one welcome our new
Make It Easy
Travis CircleCI GitlabCI Jenkins BambooGitHub
Gitlab
Bitbucket
Others VCSes
Make It Tidy
Oh man, this is awesome!
Make It Consistent
“a red pull request shouldn't even be up for review”
mnapoli - https://issues.piwik.org/7953
codecov.io
coveralls.io
codeclimate.com
codacy.com
code coverage
coding style
code coverage !=
test coverage
def run_me(x, y): if (x < 0): a() if (x < y): b()
a() b()
run_me(-1, -1)
run_me(1, 2)
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.”
Martin Fowler - Refactoring: Improving the Design of Existing Code
Use the language standards (wherethey exist)
N.B: Code Review
• Design • Functionality • Security • Test coverage
Deploying
Make It Easy
When production is on fire, don’t make people think.
Write docker compose files.
DEMO
Make It Tidy
We rarely deploy static binaries
Package your actual runtime!
Make It Consistent
“It works on my machine!”Every software engineer, ever.
Did you mention Docker already?
DEMO
Onboarding
Maintaining
Deploying
Easy
Tidy
Consistent
THANK YOU