heidloff.net - Building is my Passion
Post
Cancel

Reducing Deployment Risks via Policies in DevOps Pipelines

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, functional 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.

Featured Blog Posts
Disclaimer
The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions.
Trending Tags