Test: 本家に戻ってから再びkmyblueを導入したときのテスト (#474)

* Test: 本家に戻ってから再びkmyblueを導入したときのテスト

* Fix test

* Fix test

* Fix
This commit is contained in:
KMY(雪あすか) 2024-01-17 14:49:37 +09:00 committed by GitHub
parent 537f49e816
commit 77843c0bdc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 95 additions and 3 deletions

View file

@ -7,9 +7,11 @@ namespace :dangerous do
prompt = TTY::Prompt.new
exit(0) unless prompt.yes?('[1/3] Do you really want to go back to the original Mastodon?', default: false)
exit(0) unless prompt.yes?('[2/3] All proprietary data of kmyblue will be deleted and cannot be restored. Are you sure?', default: false)
exit(0) unless prompt.yes?('[3/3] This operation is irreversible. You have backups in case this operation causes a system malfunction, do you not?', default: false)
unless ENV['BACK_UPSTREAM_FORCE']
exit(0) unless prompt.yes?('[1/3] Do you really want to go back to the original Mastodon?', default: false)
exit(0) unless prompt.yes?('[2/3] All proprietary data of kmyblue will be deleted and cannot be restored. Are you sure?', default: false)
exit(0) unless prompt.yes?('[3/3] This operation is irreversible. You have backups in case this operation causes a system malfunction, do you not?', default: false)
end
target_migrations = %w(
20231022074913