Add test detection for devfile and root yaml files
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
What does this MR do and why?
This change adds a new test mapping rule to a configuration file. The new rule specifies that whenever YAML files are modified in the root directory or in the .devfile folder, a specific test should automatically run to validate those changes. This helps ensure that any updates to these configuration files are properly tested before being merged into the codebase.
References
Screenshots or screen recordings
- NA
How to set up and validate locally
- Run
source scripts/utils.sh. - Run
install_ttf_gem. - Run
scripts/verify-ttf-mapping. - Verify that the script returns the output "ttf mapping verification passed".
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #556839
Edited by Karthik (PK)