Improve custom VSA seed
What does this MR do and why?
Introduce some fixes and improvements to 30_customizable_cycle_analytics.rb seed:
- Creates a new group with a project in case
PROJECT_ID
parameter is not provided - Increase number of issues creates to 25
- Increase the date range to 20 days so charts looks better
- Fix not merged MRs
- Fix VSA cycle time
- Fix issues mentioned in a commit and then closed
- Add deployments data
All VSA custom stages now have data
related to #413259 (closed)
How to set up and validate locally
- Run the seed with
FILTER=customizable_cycle_analytics SEED_CUSTOMIZABLE_CYCLE_ANALYTICS=1 bundle exec rake db:seed_fu
- On a rails console session run
Analytics::CycleAnalytics::ReaggregationWorker.new.perform
Go to group VSA and all charts should be present
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 Artur