continuous delivery in the cloud with bitbucket pipelines
TRANSCRIPT
![Page 1: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/1.jpg)
JEROEN DE RAEDT • SENIOR DEVELOPER • ATLASSIAN • @JEROENDRA
Bitbucket Pipelines
![Page 2: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/2.jpg)
What is Continuous Integration?
![Page 3: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/3.jpg)
Continuous Integration (CI) is a development practice that requires developers to integrate code into a shared repository several times a day. Each check-in is then verified by an automated build, allowing teams to detect problems early.
“
”T H O U G H T W O R K S
![Page 4: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/4.jpg)
Continuous Integration
![Page 5: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/5.jpg)
Context switching Slow feedback loop
Setup is sophisticated
It’s not easy
Infrastructure needed
![Page 6: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/6.jpg)
Pipelines
![Page 7: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/7.jpg)
77
OUR MISSION
Simplify Continuous Integration. Allow teams to build and ship projects faster.
![Page 8: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/8.jpg)
One tool, one platform
Defining the pipeline
Fast feedback loop Ecosystem Integrations
Pipelines
![Page 9: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/9.jpg)
Demo time!
![Page 10: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/10.jpg)
Demo time!
![Page 11: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/11.jpg)
Demo time!
![Page 12: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/12.jpg)
Demo time!
![Page 13: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/13.jpg)
Demo time!
![Page 14: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/14.jpg)
Demo time!
![Page 15: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/15.jpg)
Demo time!
![Page 16: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/16.jpg)
Demo time!
![Page 17: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/17.jpg)
One tool, one platform
Defining the pipeline
Fast feedback loop Ecosystem Integrations
Pipelines
![Page 18: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/18.jpg)
1 tool, 1 platform
![Page 19: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/19.jpg)
![Page 20: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/20.jpg)
Pipelines
![Page 21: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/21.jpg)
Pushed codeBitbucket Webhook
Start build container
Pipelines
![Page 22: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/22.jpg)
Infrastructure-less Configuration-less
No need to manage a fleet of build servers.
No need to set up servers with specific requirements
for builds.
Pipeline build agents
![Page 23: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/23.jpg)
Build fastBuild simultaneousReady to buildNo waiting in line.
On every code push your build starts instantly.
No limit on the amount of simultaneous builds.
Starting the build takes just a couple of moments.
Pipeline build agents
![Page 24: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/24.jpg)
User management and security
![Page 25: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/25.jpg)
This screenshot is just an example of piece of content that could be placed here. If there is text to accompany the image in this area, it should be as concise as possible. Please delete this box and text.
Access groups
Access management
The existing Bitbucket users and groups are available in Pipelines as well.
![Page 26: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/26.jpg)
This screenshot is just an example of piece of content that could be placed here. If there is text to accompany the image in this area, it should be as concise as possible. Please delete this box and text.
Access groups
Access management
The existing Bitbucket repository permissions are applied to Pipelines as well.
![Page 27: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/27.jpg)
Enabling Bitbucket Pipelines
![Page 28: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/28.jpg)
Defining the pipeline
![Page 29: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/29.jpg)
• Big cool statistic
• 2,569
• Add-Ons in Marketplace
The Pipeline environment
![Page 30: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/30.jpg)
Configuration as Code
Docker Docker Docker
Variables
Defining the pipeline
![Page 31: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/31.jpg)
Configuration as code
![Page 32: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/32.jpg)
Configuration as Code
![Page 33: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/33.jpg)
Easy to understandFull overview of the pipeline in the glimpse of an eye.
![Page 34: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/34.jpg)
Stored in repositoryEasy to import/export and you can use pull requests to review pipeline changes.
![Page 35: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/35.jpg)
VersionedYou can go back in the commit history and run tests as they were configured at the time.
![Page 36: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/36.jpg)
Versioned pipeline configuration
version-1.0 version-2.0
Tests configured using QUnit
Tests configured using Karma
hotfix-branch
![Page 37: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/37.jpg)
Configuration as Code
Docker Docker Docker
Variables
Defining the pipeline
![Page 38: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/38.jpg)
![Page 39: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/39.jpg)
![Page 40: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/40.jpg)
![Page 41: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/41.jpg)
Why Pipelines uses Docker
Technology agnostic
Supports a very wide range of technologies
and tools.
Docker registries
Over 100,000 Docker images available.
![Page 42: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/42.jpg)
![Page 43: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/43.jpg)
Why Pipelines uses Docker
Technology agnostic
Supports a very wide range of technologies
and tools.
Docker Hub
Over 100,000 Docker images available.
Customizable
Easy to create your own or extend existing
Docker images.
Reproducible
Easy to replicate your production
environment or run the build locally.
![Page 44: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/44.jpg)
Configuration as Code
Docker Docker Docker
Variables
Defining the pipeline
![Page 45: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/45.jpg)
![Page 46: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/46.jpg)
![Page 47: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/47.jpg)
![Page 48: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/48.jpg)
Advanced workflows
![Page 49: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/49.jpg)
![Page 50: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/50.jpg)
![Page 51: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/51.jpg)
![Page 52: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/52.jpg)
![Page 53: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/53.jpg)
![Page 54: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/54.jpg)
![Page 55: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/55.jpg)
masterproduction
![Page 56: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/56.jpg)
masterproduction
feature/my-branch
![Page 57: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/57.jpg)
masterproduction
feature/my-branch
![Page 58: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/58.jpg)
masterproduction
feature/my-branch
![Page 59: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/59.jpg)
Branch pipelines opportunities
Deployment branchesBranches can represent what has been released.
Review deployments
Use pull requests to review and kick off deployments.
![Page 60: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/60.jpg)
Page title
![Page 61: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/61.jpg)
![Page 62: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/62.jpg)
![Page 63: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/63.jpg)
![Page 64: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/64.jpg)
![Page 65: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/65.jpg)
Fast feedback loop
![Page 66: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/66.jpg)
Demo time!
![Page 67: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/67.jpg)
Developer magic happens
![Page 68: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/68.jpg)
Demo time!
![Page 69: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/69.jpg)
Demo time!
![Page 70: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/70.jpg)
Integrations
![Page 71: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/71.jpg)
Partner Integrations
![Page 72: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/72.jpg)
Bitbucket PipelinesREST API
![Page 73: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/73.jpg)
REST API
Pipelines endpoints Available endpoints include: query pipelines, stop and start pipelines, manage variables, …
Bitbucket authenticated Use any of the existing authentication options that Bitbucket supports.
Integrate your Connect add-on Connect scopes have been added so Connect add-ons can integrate with Pipelines.
![Page 75: Continuous Delivery in the Cloud with Bitbucket Pipelines](https://reader034.vdocuments.site/reader034/viewer/2022042707/58ceafe81a28abb2218b4c77/html5/thumbnails/75.jpg)
Thank you!
JEROEN DE RAEDT • ATLASSIAN • @JEROENDRA