Skip to content

Add mr notes after code validation

Tracker: https://internal-tracker.builder.ai/#/projects/3651?storyId=1956234

This MR contains changes to introduce a code-validation stage in the BE pipeline. It also contains changes to add notes to the MR as a diff, if code validation fails. This change has been introduced in the FE and BE pipelines. To facilitate the above, a new code validator image is used. The code validator image contains 2 scripts - one for the FE (validator.py(script as is used by FE pipelines now)) and one for the BE (validator_with_flags.py). The BE code validation will use protected mode for code validation with the use of the flag --protected-area-mode. In the future, the FE pipeline could also use the script validator_with_flags.py with the flag --customizable-area-mode.

Projects where the pipeline changes have been tested: https://gitlab.builder.ai/builder/builder-bx/Bx/assembler_projects/stg/autobxengpro03158724-39725-ruby/-/merge_requests https://gitlab.builder.ai/builder/builder-bx/Bx/assembler_projects/stg/autobxengpro03158724-39725-react-native/-/merge_requests

Edited by Guhapriya Balasubramanian

Merge request reports