Unable to seed cycle analytics data
Summary
SEED_CYCLE_ANALYTICS=true bundle exec rake db:seed_fu FILTER=cycle_analytics
The seeding script above breaks with the following error;
NoMethodError: undefined method `success!' for nil:NilClass
(eval):210:in `block in deploy_to_production'
(eval):203:in `each'
(eval):203:in `deploy_to_production'
(eval):99:in `block (2 levels) in seed!'
Troubleshooting
As per a discussion #36649 (comment 247000703) on a previously opened MR related to the seeding script, I have tried setting save_on_errors
to true
but am still not able to seed data.
Proposal
"Every time the CA seed script is executed, we create new, unique projects with all the necessary data (users, deployments, pipelines)" per @ahegyi in #195829 (comment 270941303).
Updated 2020-01-28 by @djensen to add Proposal section.
Edited by Dan Jensen