Skip to content

Fix backup/restore specs failing in Review Apps

Stan Hu requested to merge sh-backup-no-prompt into master

What does this MR do?

gitlab-org/gitlab!80578 (merged) changed the backup manager to prompt the user before the backup restore begins. This caused the backup and restore specs to fail because not only do the specs not expect any user input, but also in CI there is no valid TTY to respond.

Setting GITLAB_ASSUME_YES in the environment bypasses this prompt.

Related issues

Closes #3178 (closed)

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion.

Required

  • Merge Request Title and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Tests added
  • Integration tests added to GitLab QA
  • Equivalent MR/issue for omnibus-gitlab opened
Edited by Stan Hu

Merge request reports