Skip to content

Add test data seed step to gitlab component

Chloe Liu requested to merge add-license-usage-seeding into master

What does this MR do and why?

Part of https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3946

  • Add a seed db option to runner
  • Add a license usage seeding script
  • Add the seed-db option to EE:CloudActivation suite

Screenshots or screen recordings

pipeline result - https://gitlab.com/gitlab-org/gitlab-qa/-/jobs/2334756737

[date=2022-04-14 06:16:50 from=Gitlab QA] INFO  -- Docker shell command: `docker exec gitlab-ee-544226ac bash -c "gitlab-rails runner /tmp/data-seeds/license_usage_seed.rb"`
Start seeding license usage data...
Created 18 users and 6 groups.
License usage data seeding completed.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Chloe Liu

Merge request reports