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
80
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
50
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
81
TDC 2016 SP - Cobertura de código de procedures T-SQL com SQLCC
stefanteixeira
0
70
TDC 2016 SP - 5 libs de teste JavaScript que você deveria conhecer
stefanteixeira
0
59
Other Decks in Programming
See All in Programming
関数型まつり2025登壇資料「関数プログラミングと再帰」
taisontsukada
2
840
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
1
200
型付きアクターモデルがもたらす分散シミュレーションの未来
piyo7
0
800
既存デザインを変更せずにタップ領域を広げる方法
tahia910
1
240
Julia という言語について (FP in Julia « SIDE: F ») for 関数型まつり2025
antimon2
3
970
[初登壇@jAZUG]アプリ開発者が気になるGoogleCloud/Azure+wasm/wasi
asaringo
0
130
Claude Codeの使い方
ttnyt8701
1
130
Perplexity Slack Botを作ってAI活用を進めた話 / AI Engineering Summit プレイベント
n3xem
0
670
Beyond Portability: Live Migration for Evolving WebAssembly Workloads
chikuwait
0
390
A comprehensive view of refactoring
marabesi
0
970
コード書くの好きな人向けAIコーディング活用tips #orestudy
77web
3
330
「ElixirでIoT!!」のこれまでとこれから
takasehideki
0
370
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.5k
Bash Introduction
62gerente
614
210k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
137
34k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
VelocityConf: Rendering Performance Case Studies
addyosmani
330
24k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
32
5.9k
Embracing the Ebb and Flow
colly
86
4.7k
Become a Pro
speakerdeck
PRO
28
5.4k
Speed Design
sergeychernyshev
31
1k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
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