2018-06-27 03:23:28 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-06-10 11:27:49 -04:00
|
|
|
class ExpireBuildArtifactsWorker
|
2017-11-28 11:08:30 -05:00
|
|
|
include ApplicationWorker
|
2020-02-04 10:08:40 -05:00
|
|
|
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
|
2016-05-18 16:21:51 -04:00
|
|
|
|
2019-10-18 07:11:44 -04:00
|
|
|
feature_category :continuous_integration
|
|
|
|
|
2016-05-18 16:21:51 -04:00
|
|
|
def perform
|
2019-01-17 01:06:37 -05:00
|
|
|
Ci::DestroyExpiredJobArtifactsService.new.execute
|
|
|
|
end
|
2016-05-18 16:21:51 -04:00
|
|
|
end
|