docker, continuous integration, and you
TRANSCRIPT
![Page 1: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/1.jpg)
STEVE SMITH • DEVOPS ADVOCATE • ATLASSIAN • @TARKASTEVE
Docker, Continuous Integration and You
![Page 2: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/2.jpg)
Testing with Docker
![Page 3: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/3.jpg)
The Problem
?
![Page 4: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/4.jpg)
The Problem
Transfer
Trigger / Async
Data
Data
(See http://bit.do/postgres-es for details)
![Page 5: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/5.jpg)
Insurance Institute for Highway Safety
![Page 6: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/6.jpg)
How to test…
Vagrant?Dependencies everywhere? Docker?
![Page 7: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/7.jpg)
Docker testing
Reuse images Startup speed Idempotent tests
Dev / Test match Composable
![Page 8: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/8.jpg)
How to test…
![Page 9: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/9.jpg)
Docker And Bamboo
Plan
Stage
Job
Tasks QA
Staging
Prod
Artifacts
Deployment Environments
Git Repo
![Page 10: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/10.jpg)
Bamboo Docker Task
![Page 11: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/11.jpg)
Building
![Page 12: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/12.jpg)
Running
![Page 13: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/13.jpg)
Linking
![Page 14: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/14.jpg)
AWS cloud agents with Docker
With Docker
Or create your own
![Page 15: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/15.jpg)
Require Docker support
Bamboo will start on-demand
![Page 16: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/16.jpg)
Compose with BambooSouth Florida Classical Review
![Page 17: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/17.jpg)
Compose automates Docker
![Page 18: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/18.jpg)
Compose configurationtransfer: build: . links: - postgres - elasticsearch
postgres: build: docker/postgres
elasticsearch: build: docker/elasticsearch
https://bitbucket.org/ssmith/devweek15-code
![Page 19: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/19.jpg)
No Compose? No problem…
![Page 20: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/20.jpg)
Running Compose
![Page 21: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/21.jpg)
Cleaning up
![Page 22: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/22.jpg)
Extracting ResultsAtlantic Sentinel
![Page 23: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/23.jpg)
Fetching in Bamboo
![Page 24: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/24.jpg)
Using Test Parsers
![Page 25: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/25.jpg)
Parsing JUnit results
![Page 26: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/26.jpg)
Using JUnit results
![Page 27: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/27.jpg)
Deployment Environments
Plan
Stage
Job
Tasks QA
Staging
Prod
Artifacts
Deployment Environments
Git Repo
![Page 28: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/28.jpg)
Deployment EnvironmentsQA
Staging
Prod
Artifacts
Deployment Environments
![Page 29: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/29.jpg)
Sharing Artifacts
![Page 30: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/30.jpg)
Configuring the Environment
![Page 31: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/31.jpg)
Configuring the Environment
![Page 32: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/32.jpg)
Configuring the Environment
![Page 33: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/33.jpg)
Docker And Bamboo
Plan
Stage
Job
Tasks QA
Staging
Prod
Artifacts
Deployment Environments
Git Repo
![Page 34: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/34.jpg)
2
3
Useful Links
https://www.docker.com/subscribe_newsletter/
1 https://www.docker.com/
4 http://www.nkode.io/2014/08/24/valuable-docker-links.html
https://bitbucket.org/ssmith/devweek15-code
![Page 35: Docker, Continuous Integration, and You](https://reader031.vdocuments.mx/reader031/viewer/2022021919/5885bb551a28ab6f168b5a97/html5/thumbnails/35.jpg)
STEVE SMITH • DEVOPS ADVOCATE • ATLASSIAN • @TARKASTEVE
Thank you!