Configuring deployments
While Bitbucket Pipelines can deploy to many different platforms, the characteristics of a deployment are all the same. This can be advantageous when you’re deploying to a test environment, where you may want to define some runtime testing or package testing, versus the production environment, where the testing has been exhausted and it’s time to release new functionality to the end user.
With this in mind, let’s take a look at what the commonalities are for deployments and how to define them uniformly. After, we’ll learn how to configure deployments for different environments seen in a typical DevSecOps process.
Getting ready
Before setting up our pipeline, we need to define the environments for deployment. You can use the default environments, which have the following pre-definitions:
- Test
- Staging
- Production
You can also change the names of the environments or configure environment-specific variables...