1. 20 May, 2021 3 commits
    • James Fargher's avatar
      Refactor Backup::Repositories specs · a7a06617
      James Fargher authored
      Now that we have extracted the gitaly RPC backup strategy and tested it
      separately, we can make these tests more generic. This makes sure we are
      querying the database and calling the strategy correctly, but not trying
      to actually verify how the backup happens. The goal here is to make the
      strategy itself the single source of truth and not make these tests too
      fragile.
      a7a06617
    • James Fargher's avatar
      Extract gitaly RPC backup strategy · 0e619be6
      James Fargher authored
      This strategy will be replaced by gitaly-backup. Here we extract an
      interface similar to how we are expecting the external command to work.
      0e619be6
    • James Fargher's avatar
      Move snippets check to after restoring from backup · b1bbace1
      James Fargher authored
      Once backups and restores are handled by gitaly-backup we will not be
      able to modify the gitlab database during a backup or restore. To work
      around this we need to move all such checks to after the process has
      completed. Right now this includes: validating snippets, and
      rescheduling repository pool creation.
      b1bbace1
  2. 19 May, 2021 37 commits