Add Timeout and Language restriction to VET FP reduction
What this MR does?
- Add a timeout of 5 minutes to run the VET operation
- Restrict VET FP reduction only to Ruby files for non-GitLab projects
Discussion on the above decision is done here
Note: Due to the requirement of adding timeout on the whole VET operation instead of per-stage basis and handling relevant exit codes, I decided to handle the logic on the script-level instead in the VET code.
Relevant Issue Numbers
Review Checklist
-
Changelog Added -
Added Tests for the changes made
Edited by Vishwa Bhat