Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Reducing Deployment Risks via Policies in DevOps Pipelines

DZone's Guide to

Reducing Deployment Risks via Policies in DevOps Pipelines

IBM's DevOps Insights reduces deployment risk by letting you define policies that stop the pipeline until testing conditions have been passed.

· DevOps Zone ·
Free Resource

Automatic continuous monitoring keeps continuous deployment pipelines flowing smoothly and efficiently. Try Instana APM to automatically monitor containers and microservices!

Earlier this year, IBM introduced a new service, DevOps Insights (beta), which helps, among other things, to reduce deployment risks. Policies can be defined to ensure that unit tests, functionality tests and other tests pass before new versions of applications are deployed.

The following screenshot shows the DevOps Insights dashboard with a sample application that contains two deployable units, one microservice and one web application. For each deployable unit, icons indicate which tests have been run for which environments and whether they have been successful.

devops-insights1

Gates can be inserted into the delivery pipelines to ensure certain policies are met before the pipeline executions continue. In this screenshot, the staging gate failed because not all unit tests have passed, and this caused the pipeline to stop.

devops-insights3

In order to leverage gates, use the tester type “DevOps Insights Gate” in the configuration of your pipeline stages and link to a policy.

devops-insights4

With policies, you can define how many and which exact unit tests, functional verification tests, etc. need to pass.

devops-insights2

If you want to try out this functionality, you can easily set up one of the toolchain samples which come with the DevOps Insights service.

Automatic real-time observability is critical to getting the full benefit of CI/CD. Hear @DevOpsDon discuss how Franklin American Mortgage Company cut their new application deployment time from 6-12 months to 2 weeks with the help of Instana APM.

Topics:
devops ,pipelines ,deployment ,continuous delivery ,ibm

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}