Draft: Framework for custom code quality metrics
This is a prototype implementation with a "hello world" script intended for demonstration, that will not be included in the final version.
See issue #454 for full details and any discussion.
This MR includes:
- A simple framework to run custom code quality scripts in a modular way
- A new CI job to execute the framework
- Documentation
- A very basic example script
Scripts producing specific code quality metrics will be added later.
This MR is in draft to allow prototyping, as a live merge request against master is needed to trigger the pipeline properly.
Test plan
Refer to the "code quality" report visible in this merge request, once the pipelines have completed.
Screenshots of expected output:
Verify the new job exists and runs as expected: https://gitlab.com/bitcoin-cash-node/bitcoin-cash-node/-/pipelines/704643298
Check the logs of the "code_quality_ext" job to verify there are no errors or unexpected behaviour: https://gitlab.com/bitcoin-cash-node/bitcoin-cash-node/-/jobs/3376918783