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
Agile Testers Conference 2016 - GoCD + Docker +...
Search
Stefan Teixeira
April 16, 2016
Programming
0
60
Agile Testers Conference 2016 - GoCD + Docker + Docker Compose: uma história de amor
Palestra apresentada no Agile Testers Conference 2016, no dia 16/04
Stefan Teixeira
April 16, 2016
Tweet
Share
More Decks by Stefan Teixeira
See All by Stefan Teixeira
Scrum Gathering Portugal 2016 - Containerizing Tests with Docker
stefanteixeira
0
79
Agile Brazil 2016 - 5 fundamentos essenciais de padrões xUnit
stefanteixeira
0
110
Latinoware 2016 - Continuous Delivery com ferramentas open source
stefanteixeira
0
63
Ágiles 2016 - Using open source tools to support Continuous Delivery
stefanteixeira
0
48
6º Encontro do Grupo de Testes Carioca - Testes em um contexto de Continuous Delivery
stefanteixeira
0
42
TDC 2016 SP - Desmistificando cobertura de código como métrica de qualidade
stefanteixeira
0
120
TDC 2016 SP - Continuous Delivery para aplicações Java com ferramentas open-source
stefanteixeira
0
80
TDC 2016 SP - Cobertura de código de procedures T-SQL com SQLCC
stefanteixeira
0
68
TDC 2016 SP - 5 libs de teste JavaScript que você deveria conhecer
stefanteixeira
0
59
Other Decks in Programming
See All in Programming
命名をリントする
chiroruxx
1
570
Оптимизируем производительность блока Казначейство
lamodatech
0
880
Внедряем бюджетирование, или Как сделать хорошо?
lamodatech
0
870
Androidアプリの One Experience リリース
nein37
0
750
shadcn/uiを使ってReactでの開発を加速させよう!
lef237
0
240
Compose UIテストを使った統合テスト
hiroaki404
0
120
月刊 競技プログラミングをお仕事に役立てるには
terryu16
1
1.1k
バグを見つけた?それAppleに直してもらおう!
uetyo
0
210
非ブラウザランタイムとWeb標準 / Non-Browser Runtimes and Web Standards
petamoriken
0
410
Zoneless Testing
rainerhahnekamp
0
150
MCP with Cloudflare Workers
yusukebe
2
270
Findy Team+ Awardを受賞したかった!ベストプラクティス応募内容をふりかえり、開発生産性向上もふりかえる / Findy Team Plus Award BestPractice and DPE Retrospective 2024
honyanya
0
130
Featured
See All Featured
The Language of Interfaces
destraynor
155
24k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Building an army of robots
kneath
302
44k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
Agile that works and the tools we love
rasmusluckow
328
21k
The World Runs on Bad Software
bkeepers
PRO
66
11k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3.1k
Why Our Code Smells
bkeepers
PRO
335
57k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Practical Orchestrator
shlominoach
186
10k
Transcript
GoCD + Docker + Docker Compose : uma história de
amor ❤ Stefan Teixeira @stefan_teixeira
[email protected]
stefanteixeira.com.br stefanteixeira.com
• QA Engineer @ M4U • Entusiasta de Automação de
Testes, Agile Testing e DevOps • Blogs técnicos: stefanteixeira.com.br (pt-br) / stefanteixeira.com (en) Contatos: • E-mail:
[email protected]
• Twitter: twitter.com/stefan_teixeira • Facebook: facebook.com/stefan.teixeira • LinkedIn: linkedin.com/in/stefanteixeira • GitHub: github.com/stefanteixeira • SlideShare: slideshare.net/stefanteixeira Sobre
O que é GoCD?
Antes do GoCD
Depois do GoCD
None
GoCD • Criado pela ThoughtWorks https://www.go.cd/ | https://github.com/gocd/gocd
GoCD • Criado pela ThoughtWorks • Open-source (desde Fev/2014) https://www.go.cd/
| https://github.com/gocd/gocd
GoCD • Criado pela ThoughtWorks • Open-source (desde Fev/2014) •
Foco em Continuous Delivery https://www.go.cd/ | https://github.com/gocd/gocd
Por que GoCD?
O poder das abstrações certas
Pipelines são first-class citizens
Como funciona?
Documentação https://docs.go.cd/current/
API Reference https://api.go.cd/current/
Plugins https://www.go.cd/community/plugins.html
Mas o Jenkins não faz isso tudo?
Faz, mas…
GoCD x Jenkins
GoCD x Jenkins
Build Pipeline Plugin
Build Pipeline Plugin
Build Flow Plugin
Build Flow Plugin É bom, mas não suporta steps manuais…
Pipeline Plugin (antigo Workflow) • TUDO em Job DSL (Groovy)
Pipeline Plugin (antigo Workflow) • TUDO em Job DSL (Groovy)
• Foco em Continuous Delivery
Pipeline Plugin (antigo Workflow) • TUDO em Job DSL (Groovy)
• Foco em Continuous Delivery • Visualização decente só na versão paga
https://www.thoughtworks.com/pt/radar/tools/jenkins-as-a-deployment-pipeline
GoCD + Docker
Imagens do GoCD no DockerHub https://hub.docker.com/r/gocd/gocd-server/ | https://hub.docker.com/r/gocd/gocd-agent/
Customizando imagens https://github.com/gocd/gocd-docker
GoCD + Docker Compose
GoCD + Docker Compose (v2)
GoCD + Docker Compose • Volumes: 2 opções possíveis
GoCD + Docker Compose • Volumes: 2 opções possíveis ➡
Mapeamento com host
GoCD + Docker Compose • Volumes: 2 opções possíveis ➡
Mapeamento com host (mais simples, menos portável)
GoCD + Docker Compose • Volumes: 2 opções possíveis ➡
Mapeamento com host (mais simples, menos portável) ➡ Data container
GoCD + Docker Compose • Volumes: 2 opções possíveis ➡
Mapeamento com host (mais simples, menos portável) ➡ Data container (menos simples, porém mais recomendado)
E se eu quiser 3 agents?
E se eu quiser 3 agents?
E pra rodar Docker dentro do GoCD?
None
None
OBS: Dependendo do OS, binding de algumas libs serão necessárias!
Outros Projetos
GoCD Monitor https://github.com/karmats/gocd-monitor
Build Window https://github.com/rouanw/build-window
CI Remote http://timoa.com/projects/ci-remote-for-go-server
"Quero ver se o GoCD é isso tudo…"
Demonstração • Exemplo real de pipeline • Menu admin •
Triggers manuais • Adicionando um novo pipeline • Verificando value stream map • Resources
Referências • https://highops.com/insights/continuous- delivery-pipelines-gocd-vs-jenkins/ • http://thoughtworks.github.io/p2/issue11/go- cd-the-right-tool-for-he-job/ • PS: Outras
referências estão nos slides, na parte de baixo
Obrigado! Stefan Teixeira @stefan_teixeira
[email protected]
stefanteixeira.com.br stefanteixeira.com