Remove build_coverage_regex from project
Ref: #357401 (closed)
What does this MR?
This MR stops exposing project#build_coverage_regex
at the project level and ignore the column so we can drop it in %15.4.
This feature has been deprecated in %15.0.
Why are we doing this?
Following up !86909 (merged) where we continue to expose project#build_coverage_regex
for 2 milestones in order to help users retrieve their coverage regex and update their CI job with the coverage keyword.
Testing locally
- Assign a value to
project#build_coverage_regex
for a given project - Create an access token
- Verify you can retrieve the data for a given project
Project.find(<PROJECT_ID>).update(build_coverage_regex: '/coverage: \d+.\d+%/')
curl --header "Authorization: Bearer <ACCESS_TOKEN>" "http://192.168.100.160:3000/api/v4/projects/<PROJECT_ID>"
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Max Orefice