Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Plumbing with Bitbucket Pipelines

Plumbing with Bitbucket Pipelines

Bitbucket Pipelines brings continuous integration and delivery to you GIT repository, empowering you to build, test, and deploy your code with a simple push. Guust will get will tell you all about it and show you several scenarios in which Bitbucket Pipelines will accelerate your releases.

You'll learn how to configure your Bitbucket repository, define your pipelines, use your own docker containers and deploy directly to your environments. Bitbucket Pipelines will have no more secrets for you!

7587064f2cbfab406eaabbcbfc9a1d25?s=128

Guust Nieuwenhuis

October 19, 2017
Tweet

Transcript

  1. Guust@Orangelark.be Guust Nieuwenhuis www.orangelark.be Plumbing with Bitbucket Pipelines CFCamp 2017

  2. About me G u u s t N i e

    u w e n h u i s F u l l S t a c k We b D e v e l o p e r @ O r a n g e L a r k L i v i n g i n K o r t e n b e r g ( B E )
  3. Guust@Orangelark.be Guust Nieuwenhuis www.orangelark.be Plumbing with Bitbucket Pipelines CFCamp 2017

  4. WHAT IS CONTINUOUS DELIVERY? • C o d e i

    s a l w a y s d e p l o y a b l e • F a s t , a u t o m a t e d t e s t s • P u s h - b u t t o n d e p l o y m e n t
  5. Teams have CI/CD pain C o m p l e

    x i t y • B u i l d & d e p l o y s c r i p t s q u i c k l y b e c o m e a m e s s I n f r a s t r u c t u r e • C l o u d o r o n - p r e m , i t ’s w o r k t o s e t u p a n d m a i n t a i n M u l t i p l e t o o l s • C o n t e x t s w i t c h i n g b e t w e e n c o d e a n d C I s y s t e m s S l o w f e e d b a c k • Q u e u e s , w a i t i n g f o r a g e n t s , V M s t a r t u p – i t a l l c o s t s d e v t i m e
  6. Containers are great … … for continuous delivery!

  7. BITBUCKET PIPELINES Painless CI/CD built on Docker, integrated with your

    code.
  8. Demo

  9. How it works

  10. How it works

  11. characteristics O n e p l a t f o

    r m • P i p e l i n e s a s p a r t o f B i t b u c k e t C o n f i g a s C o d e • B r a n c h w o r k f l o w s • D e v o w n e r s h i p I n t e g r a t i o n s • A W S , A z u r e , G o o g l e C l o u d , R o l l b a r, R a y g u n , N P M , S l a c k , … D o c k e r • F a s t , C o m p o s a b l e a n d R e p r o d u c i b l e
  12. Features • U s e D o c k e

    r i m a g e s • B u i l d a n d p u s h a D o c k e r i m a g e • D e p e n d e n c i e s c a c h i n g • Wo r k w i t h b r a n c h e s • B u i l d p i p e l i n e t r i g g e r s • N o t i f i c a t i o n s • D a t a b a s e s / S e r v i c e s • I n t e g r a t i o n s • S S H f o r B i t b u c k e t P i p e l i n e s • S c h e d u l e P i p e l i n e s
  13. Demo’s

  14. Limitations B u i l d m i n u

    t e s • F r e e p l a n : 5 0 m i n u t e s • S t a n d a r d p l a n : 5 0 0 m i n u t e s • P r e m i u m p l a n : 1 0 0 0 m i n u t e s • M o r e ? $ 1 0 p e r 1 0 0 0 m i n u t e s B u i l d l i m i t s • 4 G B o f m e m o r y ( R A M ) • 2 h o u r s e x e c u t i o n t i m e • 5 G B o f d i s k s p a c e
  15. Limitations P u s h l i m i t

    s • P i p e l i n e s d o n ’ t r u n f o r p u s h w i t h > 5 r e f e r e n c e s F e a t u r e s n o t a v a i l a b l e y e t • J i r a i n t e g r a t i o n • B u i l d a r t i f a c t s s t o r e d b y B i t b u c k e t • B u i l d i n g W i n d o w s a p p l i c a t i o n s • A c c e s s i n g s e r v i c e s b e h i n d a f i r e w a l l
  16. What’s next? • M u l t i p l

    e s t e p s i n P i p e l i n e s ( a l p h a ) • M a n u a l s t e p s ( a l p h a ) • D e p l o y m e n t Tr a c k e r • J i r a i n t e g r a t i o n
  17. None
  18. What’s next? • M u l t i p l

    e s t e p s i n P i p e l i n e s ( a l p h a ) • M a n u a l s t e p s ( a l p h a ) • D e p l o y m e n t Tr a c k e r • J i r a i n t e g r a t i o n
  19. Questions? Thank you!