Fix Duo seed script for self-managed mode

What does this MR do and why?

  • This rake task is used for seeding data/licenses for Duo features locally
  • Previously, in self-managed mode this would fail if the group already existed.

References

How to set up and validate locally

  1. Run GITLAB_SIMULATE_SAAS=0 bundle exec rake gitlab:duo:setup twice, it should succeed both times

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jessie Young

Merge request reports

Loading