11-T Dipole Collaboration Review Cold Mass Fabrication and Tooling Procurement
OSCON: Better Collaboration through Tooling
-
Upload
docker-inc -
Category
Technology
-
view
1.712 -
download
2
Transcript of OSCON: Better Collaboration through Tooling
![Page 1: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/1.jpg)
Better Collaboration through ToolingOpen Source, ETC...
David Lawrence - @endophageYing Li - @cyliDocker Security Team
![Page 2: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/2.jpg)
![Page 3: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/3.jpg)
ETC…?
![Page 4: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/4.jpg)
Process & Team Debt
Technical Debt
![Page 5: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/5.jpg)
“Nothing in the world is worth having or worth doing unless it means effort, pain, difficulty…”
Theodore Roosevelt
![Page 6: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/6.jpg)
Easy
Tidy
Consistent
![Page 7: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/7.jpg)
Onboarding
![Page 8: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/8.jpg)
Make It Easy
![Page 9: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/9.jpg)
![Page 10: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/10.jpg)
Pretty quickly you feel like...
![Page 11: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/11.jpg)
![Page 12: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/12.jpg)
![Page 13: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/13.jpg)
DEMO
![Page 14: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/14.jpg)
Make It Tidy
![Page 15: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/15.jpg)
![Page 16: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/16.jpg)
![Page 17: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/17.jpg)
docker-compose down \ --rmi local \ -v
![Page 18: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/18.jpg)
Make It Consistent
![Page 19: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/19.jpg)
Have you tried forcing an unexpected reboot?
![Page 20: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/20.jpg)
![Page 21: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/21.jpg)
N.B. These steps don’t excuse you from writing documentation.
![Page 22: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/22.jpg)
Maintaining
![Page 23: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/23.jpg)
computer overlords
I for one welcome our new
![Page 24: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/24.jpg)
Make It Easy
![Page 25: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/25.jpg)
![Page 26: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/26.jpg)
![Page 27: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/27.jpg)
Travis CircleCI GitlabCI Jenkins BambooGitHub
Gitlab
Bitbucket
Others VCSes
![Page 28: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/28.jpg)
![Page 29: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/29.jpg)
![Page 30: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/30.jpg)
![Page 31: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/31.jpg)
![Page 32: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/32.jpg)
![Page 33: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/33.jpg)
![Page 34: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/34.jpg)
![Page 35: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/35.jpg)
![Page 36: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/36.jpg)
![Page 37: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/37.jpg)
![Page 38: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/38.jpg)
Make It Tidy
![Page 39: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/39.jpg)
![Page 40: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/40.jpg)
Oh man, this is awesome!
![Page 41: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/41.jpg)
![Page 42: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/42.jpg)
![Page 43: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/43.jpg)
Make It Consistent
![Page 44: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/44.jpg)
![Page 45: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/45.jpg)
![Page 46: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/46.jpg)
![Page 47: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/47.jpg)
“a red pull request shouldn't even be up for review”
mnapoli - https://issues.piwik.org/7953
![Page 48: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/48.jpg)
codecov.io
coveralls.io
codeclimate.com
codacy.com
code coverage
coding style
![Page 49: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/49.jpg)
code coverage !=
test coverage
![Page 50: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/50.jpg)
def run_me(x, y): if (x < 0): a() if (x < y): b()
a() b()
run_me(-1, -1)
run_me(1, 2)
![Page 51: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/51.jpg)
![Page 52: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/52.jpg)
![Page 53: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/53.jpg)
![Page 54: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/54.jpg)
![Page 55: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/55.jpg)
![Page 56: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/56.jpg)
![Page 57: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/57.jpg)
“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
![Page 58: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/58.jpg)
Use the language standards (wherethey exist)
![Page 59: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/59.jpg)
![Page 60: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/60.jpg)
N.B: Code Review
• Design • Functionality • Security • Test coverage
![Page 61: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/61.jpg)
Deploying
![Page 62: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/62.jpg)
Make It Easy
![Page 63: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/63.jpg)
When production is on fire, don’t make people think.
![Page 64: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/64.jpg)
Write docker compose files.
![Page 65: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/65.jpg)
DEMO
![Page 66: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/66.jpg)
Make It Tidy
![Page 67: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/67.jpg)
We rarely deploy static binaries
![Page 68: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/68.jpg)
![Page 69: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/69.jpg)
Package your actual runtime!
![Page 70: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/70.jpg)
Make It Consistent
![Page 71: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/71.jpg)
“It works on my machine!”Every software engineer, ever.
![Page 72: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/72.jpg)
Did you mention Docker already?
![Page 73: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/73.jpg)
DEMO
![Page 74: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/74.jpg)
Onboarding
Maintaining
Deploying
Easy
Tidy
Consistent
![Page 75: OSCON: Better Collaboration through Tooling](https://reader031.fdocuments.net/reader031/viewer/2022030304/5878830c1a28ab466c8b65f9/html5/thumbnails/75.jpg)
THANK YOU