.co.il
www.
using Atlassian BitBucket & Bamboo
case study of CD Implementation at Check Point Software Technologies, Ltd.
on the road to …
Slide 2
Slide 2 text
.co.il
www.
_Agenda_
Ā
Git & BitBucket Server
ą
Build & Deploy using Bamboo
þ
Implementation into peoples’ minds
Ć
Transition from some (undisclosed) state
into the newer shinier, harder, better,
faster, stronger state.
Slide 3
Slide 3 text
.co.il
www.
Continuous Delivery
is a set of principles and practices to
reduce the cost, time and risk of
delivering incremental changes to users.
-- Jez Humble
https://www.thoughtworks.com/insights/blog/case-continuous-delivery
Slide 4
Slide 4 text
.co.il
www.
bring us the CI
and the CD and
the Git
"Now, where did I
put that potion?
I know it’s in here
somewhere…"
ah, yes
yes…
Slide 5
Slide 5 text
.co.il
www.
270 hours & 14 weeks
Slide 6
Slide 6 text
.co.il
www.
Step I
upgrade all the things
Slide 7
Slide 7 text
.co.il
www.
Hello there
busy IT person.
Can you please
upgrade the
Bamboos and the
Bit Buckets?
Right on it,
wizardman!
Slide 8
Slide 8 text
.co.il
www.
Step II
understand the concepts
Slide 9
Slide 9 text
.co.il
www.
A Generic Delivery Pipeline
Slide 10
Slide 10 text
.co.il
www.
5 Deploy
Release
4
Store
Artifacts
and
Build info
2 Check-
in code
3
Pull Code
changes
for build
1
Feature
or Bug
issue
created
version control system
for source code
repository for storing
artifacts, results & releases
continuous integration server
to generate builds & orchestrate releases
Slide 11
Slide 11 text
.co.il
www.
We need to
outline the Bit
Buckets and
Bamboos, can
you help?
Sure, let me
call some
friends and
JFDI!
Slide 12
Slide 12 text
.co.il
www.
Step III
iterate on the solution
Slide 13
Slide 13 text
.co.il
www.
Iterative Process…
Slide 14
Slide 14 text
.co.il
www.
staging
production
feature / UCAPP-23-new-stuff
hotfix / UCAPP-33-typo-bug
Slide 15
Slide 15 text
.co.il
www.
staging
Slide 16
Slide 16 text
.co.il
www.
Step IV
review with your peers
Slide 17
Slide 17 text
.co.il
www.
friends, what
are your
thoughts of
our branches?
Yiiihaaa!
Rock
on!
☮
Slide 18
Slide 18 text
.co.il
www.
Step V
document everything and share
Slide 19
Slide 19 text
.co.il
www.
Slide 20
Slide 20 text
.co.il
www.
Step VI
implement stuff
iteratively fix what doesn’t work
Slide 21
Slide 21 text
.co.il
www.
Slide 22
Slide 22 text
.co.il
www.
● prevent force push on intgration branch
● set branch naming convention
● auto-add reviewers to pull requests
● git tag successful deployments
Slide 23
Slide 23 text
.co.il
www.
Slide 24
Slide 24 text
.co.il
www.
Slide 25
Slide 25 text
.co.il
www.
● per-feature branch build plan
● integration branch build plan
● auto deploy where possible
● manual step deploys with “stages”
● add “local” agents for parallelism