Thong Kuah
d6b952ad3e
Add frozen_string_literal to spec/workers
...
Adds `# frozen_string_literal: true` to spec/workers ruby files
2019-04-01 13:35:22 -03:00
Shinya Maeda
3cc3650dfe
Remove expired artifacts periodically
...
Rename
Introduce Destroy expired job artifacts service
Revert a bit
Add changelog
Use expired
Improve
Fix spec
Fix spec
Use bang for destroy
Introduce iteration limit
Update comment
Simplify more
Refacor
Remove unnecessary thing
Fix comments
Fix coding offence
Make loop helper exception free
2019-01-24 20:50:42 +09:00
Robert Speicher
a6ec5121f0
Correct RSpec/SingleLineHook cop offenses
2017-06-14 13:18:56 -05:00
Paco Guzman
9afb2dac5c
ExpireBuildArtifactsWorker query builds table without ordering enqueuing one job per build to cleanup
...
We use Sidekiq::Client.push_bulk to avoid Redis round trips
2016-10-07 15:33:58 +02:00
Kamil Trzcinski
d63673d6df
Make sure that artifacts_file is nullified after removing artifacts
2016-06-17 12:58:26 +02:00
Kamil Trzcinski
60e0137c86
Fix specs
2016-06-14 11:38:34 +02:00
Kamil Trzcinski
33db51f915
Improve ExpireBuildArtifactsWorker spec
2016-06-13 18:18:24 +02:00
Kamil Trzcinski
c534d2e89e
Improve tests
2016-06-13 16:05:23 +02:00
Kamil Trzcinski
421be01dab
Improve design based on review
2016-06-13 11:09:19 +01:00
Kamil Trzcinski
e0673f82c9
Save database after erasing artifacts
2016-06-13 11:07:23 +01:00
Kamil Trzcinski
1c60ff0b7a
Test ExpireBuildArtifactsWorker
2016-06-13 11:07:23 +01:00