Feature #19968

Easy seeding for development environments

Added by Ewoud Kohl van Wijngaarden about 1 year ago. Updated about 3 hours ago.

Status:Closed
Priority:Normal
Assignee:Ewoud Kohl van Wijngaarden
Category:Development tools
Target version:1.19.0
Difficulty: Team Backlog:
Triaged:No Fixed in Releases:
Bugzilla link: Found in Releases:
Pull request:https://github.com/theforeman/foreman/pull/4576

Description

When you're getting started with a development environment it's very empty. Especially for new developers this can be a lot of work to get some content into the environment. There should be an optional system to get seeds into your database.


Related issues

Related to Foreman - Bug #23842: unable to run rake tasks in production Closed 06/07/2018

Associated revisions

Revision 48a2d491
Added by Ewoud Kohl van Wijngaarden about 1 month ago

Fixes #19968: Add a rake task to seed your database

This uses FactoryBot to seed the database with trivial hosts.
It allows developers to easily set up a bunch of hosts to get some
realistic database size.

History

#1 Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ewoud Kohl van Wijngaarden
  • Pull request https://github.com/theforeman/foreman/pull/4576 added

#2 Updated by Timo Goebel about 1 month ago

  • Legacy Backlogs Release (now unused) set to 353

#3 Updated by Ewoud Kohl van Wijngaarden about 1 month ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

#4 Updated by Ohad Levy about 1 month ago

  • Related to Bug #23842: unable to run rake tasks in production added

#5 Updated by Ewoud Kohl van Wijngaarden about 3 hours ago

  • Triaged set to No
  • Category set to Development tools

Also available in: Atom PDF