This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project,
feel free to reach out to us!Join the Preview!
Quality Gates is in Preview.
Quality Gates is not available in the selected site () at this time.
Overview
Quality Gates allow you to control software quality by configuring rules to block substandard code from deployment. You have control over what is merged into the default branch and deployed to production, and can ensure that the code running in production adheres to high quality standards, reducing incidents and minimizing unwanted behaviors.
Use Quality Gates to:
- Create rules that block workflows using data in Datadog, ensuring that only code that meets your standards end up in production.
- Give your organization the ability to decide what code makes it to production, enhancing your deployment discipline and mitigating potential issues in live environments.
- Continually improve code quality and system performance with precise enforcement and customizable rules.
You can configure Quality Gates rules for the following categories:
- Test Optimization
- New flaky tests
- Code coverage
- Static Analysis
- Code vulnerability violations
- Code quality violations
- Software Composition Analysis
- Vulnerabilities
- Detected licenses
By integrating Quality Gates into your CI/CD pipelines or allowing the Datadog GitHub integration to create status checks on your Pull Requests automatically (currently available for SCA rules only), you can create a robust framework for maintaining and improving software quality that aligns with your organization’s operational goals and business objectives.
Setup
Quality Gates offers the following rule types:
You can create rules to block code from being merged when your repository has a certain number of code quality or code vulnerability violations.
You can create rules to block code from being merged when your repository has a certain number of library vulnerabilities or forbidden licenses.
To create a Quality Gate rule, see the Setup documentation.
Search rules
You can evaluate and update quality control processes by accessing Quality Gates rules on the Quality Gates Rules page. Improve your deployment practices based on your project requirements and desired performance outcomes.
To search for Quality Gate rules, see the Search and Manage documentation.
Analyze executions in the Quality Gates Explorer
You can search and filter for quality gates or rule executions, create visualizations, and export saved views of your search query on the Quality Gates Executions page.
For more information, see the Quality Gates Explorer documentation.
Track changes in rules
You can view information about who created, modified, and deleted Quality Gates rules in Audit Trail.
For more information, see the Audit Trail documentation.
Further Reading
Más enlaces, artículos y documentación útiles: