Mastering Bitbucket Pipelines

From the most basic build to the most complex project: everything you need to know about mastering Bitbucket Pipelines!

Last updated 2022-01-10 | 4.4

- Continuous integration and continuous deployment with Bitbucket Pipelines
- The basics of Bitbucket Pipelines so you can create your first pipeline.
- How to enable continuous deployment functionality to your pipeline.

What you'll learn

Continuous integration and continuous deployment with Bitbucket Pipelines
The basics of Bitbucket Pipelines so you can create your first pipeline.
How to enable continuous deployment functionality to your pipeline.
How to add Slack notifications to your pipeline.
How to apply separate continuous integration and continuous deployment steps to different branches of your code.

* Requirements

* Experience with bash commands and bash scripting
* git and git repositories
* and git UIs like Bitbucket and GitHub.
* a GitHub Account (or sign up
* they are free :) )
* a Bitbucket Account (or sign up
* they are free :) )
* a Linux Server (it can be remote or local - Lesson 16 is included as a bonus to show how you can use Docker to create a local Linux server!)

Description

Bitbucket Pipelines brings continuous integration and delivery to Bitbucket Cloud, empowering individuals and teams to build, test, and deploy their code using the Bitbucket cloud!

It's a tool that has saved me an immeasurable amount of time over the years, and it's something I use for almost every repository I have in my  BitBucket account.

Before working with pipelines directly, we'll ensure we're all using the same version of Node using nvm.

We'll then create YOUR very first Bitbucket Pipeline, defining a bitbucket-pipelines.yml file.

We'll add complexity to the pipeline, learning how to use SCP (Secure Copy Protocol) and SSH (Secure Shell) within our pipeline.

We'll get even more complex, learning how to use various environments, such as develop, staging, and master branches, in our pipeline.

We'll even learn how to use a Slack messaging bot to send messages during various points during the build!

The course ends with a few goodies and bonuses, like how to get the setup working via an NGINX proxy.


***NOTE: If you do not have an external target server to use, bonus lesson 16 shows you how you can use a local instance of Linux using docker, and how to add a port mapping to your local router so you can access that box from anywhere in the world!

Who this course is for:

  • All developers looking to get into or improve their continuous integration and continuous deployment skills.

Course content

5 sections • 16 lectures

Creating Your First Pipeline Preview 06:36

Using SCP to Transport Artifacts from the Build Preview 15:10

Using SSH to Run Commands on the Server Preview 10:13

Creating a Slack Messaging Bot to Add Messaging Functionality to the Build Preview 15:19

Bootstrapping a Project using create-react-app Preview 04:37

Defining Environment Files and Using it in a Component Preview 04:25

Utilizing the Environments in a Bitbucket Pipeline File Preview 03:34

Refactoring the ngrok server for the React TypeScript Project Preview 05:22

Refactoring the Bitbucket Pipeline file for the React Typescript Project Preview 10:53

Utilizing Tarballs to Transfer the node_modules Folder Faster Preview 05:24

Setting forever with 'watch' Mode on Server Preview 04:29

The Big Advantage of Pipelines: Testing in Staging, Merging to Master! Preview 02:49

Bonus: NGINX proxy configuraiton and React PUBLIC_URL Environment Variable Preview 06:11

Bonus: Using Docker as an Alternative to a Remote Linux Server Preview 09:55