A push of any branch to gitlab will trigger a CI/CD job that will check your branch for xml parsing errors, and that tags/attributes conform to acc standards. On the CI/CD page you will see a job with a blue status wheel showing that a pipeline is running:
In the above example there is a problem with the sequence file csb_db1.xml, and the issue is that there is an xml open tag that is missing a corresponding closing tag.
When someone requests a merge into master, you just need to check that their pipeline was successful before accepting. Navigate to the merge request page, make sure that there is a green checkmark beside the pipeline for their branch. If so, click 'Merge'.
If someone wants to merge changes and has added new attributes to a tag, their pipeline may fail. In this case:
- Review the new tags/attributes and confirm they seem necessary
- Checkout/Pull the persons dev branch
- Add the new tags/attributes to the config file 'xml_allowed_tags.ini' on their branch.
- Commit and push their branch to gitlab, confirm the pipeline passes.
- Merge their branch into master.