Rémy Coutable
833000ca3c
Fix RSpec/FactoriesInMigrationSpecs in two files
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-15 19:08:06 +01:00
Rémy Coutable
3f598ad7ca
Ignore current RSpec/FactoriesInMigrationSpecs offenses
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-06 17:41:52 +02:00
Dmitriy Zaporozhets
6f152fd193
Update specs to respect Project#namespace_id not null constraint
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-03-01 16:09:09 +02:00
Gabriel Mazetto
d17a7be830
Refactor project and storage types
2017-08-22 06:33:20 +02:00
Robert Speicher
72a7b30c9f
Change all :empty_project
to :project
2017-08-02 17:47:31 -04:00
Gabriel Mazetto
597e619080
Rename ensure_dir_exist -> ensure_storage_path_exist
2017-08-01 07:44:25 +02:00
Douwe Maan
965b41769f
Fix MySQL build failure
2017-05-10 20:33:51 -05:00
Toon Claes
37a79409d4
No user needed to cleanup namespaceless pending delete projects
...
Since this is a cleanup, ran by a post-deploy, there is no need to lookup the
admin to run the cleanup.
2017-05-10 15:01:27 +02:00
Toon Claes
0ad80cab40
Use worker to destroy namespaceless projects in post-deploy
...
Destroying projects can be very time consuming. So instead of destroying them in
the post-deploy, just schedule them and make Sidekiq do the hard work.
They are scheduled in batches of 5000 records. This way the number of database
requests is limited while also the amount data read to memory is limited.
2017-05-10 15:01:27 +02:00