Skip to content

Retry rake dev:setup in case of failures

David Dieulivol requested to merge 1445-retry_db_seeds into main

Context

Main assumption: retrying the seeding fixes the problem (which seems to be the case in that particular issue)

What does this Merge Request do and why?

  • We tell the user that the command failed, and hint them to try it again locally.
  • We simplify the bootstrap_commands method, as it hasn't changed for a few years.

Additional info

What it looks like

I added a raise "issue from david!" inside one seeds file.

Screenshot_2022-03-11_at_11.20.26

How the changes were tested locally

  • Added a raise call in the local gdk/gitLab repo
  • gdk reset-data

Merge Request checklist

  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise Issue to follow-up.
  • Documentation added/updated, if needed.
  • gdk doctor test added, if needed.
  • Add the ~highlight label if this MR should be included in the CHANGELOG.md.

Closes #1445 (closed)

Edited by David Dieulivol

Merge request reports

Loading