Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Docker for Integration Testing
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Wouter Danes
August 28, 2014
Technology
0
100
Docker for Integration Testing
Wouter Danes
August 28, 2014
Tweet
Share
More Decks by Wouter Danes
See All by Wouter Danes
Using Docker to Develop, Test and Run Maven Project
wouterd
0
160
A platform for government sites
wouterd
2
120
Other Decks in Technology
See All in Technology
変化するコーディングエージェントとの現実的な付き合い方 〜Cursor安定択説と、ツールに依存しない「資産」〜
empitsu
4
1.3k
CDK対応したAWS DevOps Agentを試そう_20260201
masakiokuda
1
190
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
170
オープンウェイトのLLMリランカーを契約書で評価する / searchtechjp
sansan_randd
3
650
広告の効果検証を題材にした因果推論の精度検証について
zozotech
PRO
0
110
Meshy Proプラン課金した
henjin0
0
240
日本の85%が使う公共SaaSは、どう育ったのか
taketakekaho
1
140
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
540
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
0
320
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.5k
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
130
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
200
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
120
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
350
How to make the Groovebox
asonas
2
1.9k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
110
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
54
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
89
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
240
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
120
Transcript
Docker for Integration Testing Wouter Danes Docker Amsterdam / Utrecht,
28 August 2014
API Platform Engineer
Agenda • Ways I use docker during development • Fitting
docker into your build process • Docker maven integration
Ways I use docker during development
Shadow IT
Run ! “production” ! locally
Proofs! of! Concept
CI environment • Spawn build slaves • No port collisions
• Replace D/T with feature branch deploys • No version / stack collisions in “environment”
Fitting docker into your build process
build test package test package publish High level build process
build test package test package publish build run start stop
link expose tag push Docker commands per build step
Docker maven integration
build test package test package publish build run start stop
link expose tag push resources compile test package integration- test verify install deploy Maven vs Docker
docker-maven-plugin • Build docker images • Start containers • Link
containers • Wait for containers to finish initialisation • Expose URLs / port info to integration tests • Clean up • Push images to an index / registry
Demo project
References • Two docker blog posts: www.wouterdanes.net • Docker maven
plugin: github.com/wouterd/docker-maven-plugin • 12 principles for developing containers well: 12factor.net