What quality gates do you have? #83
Replies: 8 comments 4 replies
-
eBay uses (to varying degrees of ubiquity).. Build:
After first environment deploy
After prod deploy:
|
Beta Was this translation helpful? Give feedback.
-
FTR Keptn is reviewing its terminology at the moment, and terms like "quality gate" are under review. We will follow-up with the SIG and with the CD Events Terminology track once we have news. CC @StackScribe |
Beta Was this translation helpful? Give feedback.
-
To add another dimension to the discussion, various activities could be run based on when things happen per PR/MR/change/commit/artifact/loop basis. For example
Please note that the above list is combination of things observed/developed/used under different communities. |
Beta Was this translation helpful? Give feedback.
-
From my (Open Policy Agent) perspective, we see policy used for many of the aforementioned activities and in many of the stages, altough with the shift-left strategy prevalent these days, more and more checks are being moved from deployment or post-deployment to pre-commit or PR checks. Adding to the combined list of @justinabrahms and @fdegir (good to see another face from Stockholm, btw!), some additional rules commonly enforced by policy:
|
Beta Was this translation helpful? Give feedback.
-
We're building a compliance pipeline with these tasks in it: |
Beta Was this translation helpful? Give feedback.
-
Some ideas for a very basic level of certification, purely from a DevSecOps perspective: |
Beta Was this translation helpful? Give feedback.
-
For us, we have categorized into 13 checks which go from all along from code, build, test and Opex lenses. It covers the entire pipeline and release-telemetry data. We use it for both The gates are around source code (code reviews, size, Static analysis, coverage), build(dependency, license, versioning), Test(Types, coverage) and opEx (Golden flows, Deployment model, etc.). |
Beta Was this translation helpful? Give feedback.
-
Something to add from my experience. The more gates you have, the more important it is to have a way for the pipeline to continue when some of the checks fail. That allows the developers to fix multiple failures in parallel. A typical developer might be able to get code to pass 5 checks within a couple of days, but passing 30 checks might take months. You can help people make progress with things like blocking and non-blocking gates, optional steps that can be enabled/disabled, or processes that collect results from the various steps into an evidence locker, and require that specific results were "good enough" (according to your policies) when promoting from one environment to another. |
Beta Was this translation helpful? Give feedback.
-
I'm curious what quality gates you have in your pipelines. If I sat and thought about it, I suspect my first pass would only capture about 40% of the interesting things I've seen people do. As a way to help others, let's document what we use for quality gates so people can copy all of our good ideas to their own teams. :)
Beta Was this translation helpful? Give feedback.
All reactions