docker, continuous integration, and you

35
STEVE SMITH DEVOPS ADVOCATE • ATLASSIAN @TARKASTEVE Docker, Continuous Integration and You

Upload: atlassian

Post on 23-Jan-2017

2.065 views

Category:

Software


2 download

TRANSCRIPT

Page 1: Docker, Continuous Integration, and You

STEVE SMITH • DEVOPS ADVOCATE • ATLASSIAN • @TARKASTEVE

Docker, Continuous Integration and You

Page 2: Docker, Continuous Integration, and You

Testing with Docker

Page 3: Docker, Continuous Integration, and You

The Problem

?

Page 4: Docker, Continuous Integration, and You

The Problem

Transfer

Trigger / Async

Data

Data

(See http://bit.do/postgres-es for details)

Page 5: Docker, Continuous Integration, and You

Insurance Institute for Highway Safety

Page 6: Docker, Continuous Integration, and You

How to test…

Vagrant?Dependencies everywhere? Docker?

Page 7: Docker, Continuous Integration, and You

Docker testing

Reuse images Startup speed Idempotent tests

Dev / Test match Composable

Page 8: Docker, Continuous Integration, and You

How to test…

Page 9: Docker, Continuous Integration, and You

Docker And Bamboo

Plan

Stage

Job

Tasks QA

Staging

Prod

Artifacts

Deployment Environments

Git Repo

Page 10: Docker, Continuous Integration, and You

Bamboo Docker Task

Page 11: Docker, Continuous Integration, and You

Building

Page 12: Docker, Continuous Integration, and You

Running

Page 13: Docker, Continuous Integration, and You

Linking

Page 14: Docker, Continuous Integration, and You

AWS cloud agents with Docker

With Docker

Or create your own

Page 15: Docker, Continuous Integration, and You

Require Docker support

Bamboo will start on-demand

Page 16: Docker, Continuous Integration, and You

Compose with BambooSouth Florida Classical Review

Page 17: Docker, Continuous Integration, and You

Compose automates Docker

Page 18: Docker, Continuous Integration, and You

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

No Compose? No problem…

Page 20: Docker, Continuous Integration, and You

Running Compose

Page 21: Docker, Continuous Integration, and You

Cleaning up

Page 22: Docker, Continuous Integration, and You

Extracting ResultsAtlantic Sentinel

Page 23: Docker, Continuous Integration, and You

Fetching in Bamboo

Page 24: Docker, Continuous Integration, and You

Using Test Parsers

Page 25: Docker, Continuous Integration, and You

Parsing JUnit results

Page 26: Docker, Continuous Integration, and You

Using JUnit results

Page 27: Docker, Continuous Integration, and You

Deployment Environments

Plan

Stage

Job

Tasks QA

Staging

Prod

Artifacts

Deployment Environments

Git Repo

Page 28: Docker, Continuous Integration, and You

Deployment EnvironmentsQA

Staging

Prod

Artifacts

Deployment Environments

Page 29: Docker, Continuous Integration, and You

Sharing Artifacts

Page 30: Docker, Continuous Integration, and You

Configuring the Environment

Page 31: Docker, Continuous Integration, and You

Configuring the Environment

Page 32: Docker, Continuous Integration, and You

Configuring the Environment

Page 33: Docker, Continuous Integration, and You

Docker And Bamboo

Plan

Stage

Job

Tasks QA

Staging

Prod

Artifacts

Deployment Environments

Git Repo

Page 34: Docker, Continuous Integration, and You

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

STEVE SMITH • DEVOPS ADVOCATE • ATLASSIAN • @TARKASTEVE

Thank you!