Skip to content

Add test to verify prompt not show on restore if GITLAB_ASSUME_YES=1

What does this MR do and why?

Add test to verify prompt will not show on restore process if GITLAB_ASSUME_YES=1

Connected to #418909 (closed)

How to set up and validate locally

  1. Run bundle exec rake gitlab:backup:create SKIP=uploads,builds,artifacts,lfs,terraform_state,registry,pages,repositories,packages to create a new backup
  2. Run bundle exec rake gitlab:backup:restore BACKUP=<BACKUP_ID_FROM_1> GITLAB_ASSUME_YES=1 to skip restore prompt
Edited by Phawin Khongkhasawan

Merge request reports