Add fixture for DORA metrics
What does this MR do and why?
Add a seeder for DORA metrics for a project. The data can be consumed on project/group VSA and group VSD.
This also changes 17_cycle_analytics.rb
seed to include DORA metrics when
creating data for value stream analytics.
related to #377805 (closed)
How to set up and validate locally
- Execute
FILTER=cycle_analytics SEED_VSA=1 bundle exec rake db:seed_fu
and visit the project URL provided when the script finishes, create a value stream. It should contain DORA metrics. - Execute
SEED_DORA=1 FILTER=dora_metrics bundle exec rake db:seed_fu
and visit the project URL when the script finishes, create a value stream. It should contain DORA metrics. - It is also possible to seed DORA metrics to an existing project providing a
PROJECT_ID
environment variable, for example,SEED_DORA=1 PROJECT_ID=10 FILTER=dora_metrics bundle exec rake db:seed_fu
.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Felipe Cardozo