Create a pipeline in Database DevOps
Learn how to create, configure, and execute a pipeline in Harness Database DevOps for automating database deployments and schema changes.
In Harness, go to the Database DevOps module and select your Project.
Ensure that the database schema you want to deploy is already set up. You can find the steps about how to create your database schema in the Deploying Database Schemas documentation.
Select Pipelines in the left nav bar, then Create a Pipeline.
In the pipeline configuration, add the stage, or multiple stages, that align with the actions you want to perform. The options are:
Add a Stage for Database Deployment: a stage that will handle the deployment of your database schema changes.
Add a Stage for Application Deployment: This stage will manage the deployment of your application code.
Configure the Database Deployment stage to your liking if it is a step you have added.
Configure the Application Deployment stage to your liking if it is a step you have added.
Continue following the steps, set up the rollback mechanisms and validate the pipeline configuration.
Once the pipeline is configured to your liking, select Save pipeline.
Last updated
Was this helpful?