[CIVIS-9278] Dogfood quality-gates in the CI #1703
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch adds quality gates to the CI. All rules will be non-blocking
What and why?
Quality gates is a new Datadog product. It allows for creating rules that will be evaluated during the CI process (it will block CI pipelines if there are code issues, e.g. new flaky tests).
We are testing a new code coverage rule that will fail if the code coverage of a feature branch decreases by more than a threshold compared to the default branch. It'd be very useful to also test this rule in this repo as it reports code coverage.
This patch integrates quality-gates into the CI, while marking the job as
allowed_to_fail
, meaning that quality-gates will never block the CI.How?
Adding a new stage to the CI pipeline that runs quality-gates.
Review checklist
Custom CI job configuration (optional)
tools/