Remember backup_information.yml when cleaning up

parent 772f45dd
......@@ -28,6 +28,7 @@ describe 'gitlab:app namespace rake task' do
before do
stub_env('force', 'yes')
FileUtils.rm(tars_glob, force: true)
FileUtils.rm('backup_information.yml', force: true)
FileUtils.rm('artifacts.tar.gz', force: true)
FileUtils.rm('builds.tar.gz', force: true)
FileUtils.rm('lfs.tar.gz', force: true)
......@@ -40,6 +41,7 @@ describe 'gitlab:app namespace rake task' do
after do
FileUtils.rm(tars_glob, force: true)
FileUtils.rm('backup_information.yml', force: true)
FileUtils.rm('artifacts.tar.gz', force: true)
FileUtils.rm('builds.tar.gz', force: true)
FileUtils.rm('lfs.tar.gz', force: true)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment