Commit Graph

18 Commits

Author SHA1 Message Date
Shinya Maeda 1667b65c1e Use AlreadyArchivedError if it's the case 2018-07-06 15:19:01 +09:00
Shinya Maeda 68d5793985 Fix spec 2018-07-05 10:52:50 +09:00
Shinya Maeda 647106fec7 Check if trace exists before process `archive!` method 2018-07-05 10:52:50 +09:00
Shinya Maeda 9bf810a9f8 Catch ArchiveError and ignore errors if it's already archived 2018-07-05 10:52:50 +09:00
gfyoung 7e87626acf Enable frozen string for app/workers/**/*.rb
Partially addresses #47424.
2018-06-27 01:12:01 -07:00
Shinya Maeda dfb0d45ddb Rename worker to ArchiveTracesCronWorker 2018-06-06 20:18:32 +09:00
Shinya Maeda 96d008841e Create a method for failed_archive_counter 2018-06-06 20:10:16 +09:00
Shinya Maeda 50989bca2e Add metric for failed archiving with stale live trace 2018-06-06 18:03:09 +09:00
Shinya Maeda 5a1ee0c391 Fix the query to select stale live traces 2018-06-06 17:49:48 +09:00
Shinya Maeda 2084e7ab9a Move find_builds_from_stale_live_traces method to Ci::Build 2018-06-06 17:49:48 +09:00
Shinya Maeda 4064481501 Rename find_stale_in_batches to find_builds_from_stale_live_trace. Fix comments 2018-06-06 17:49:48 +09:00
Shinya Maeda 10acdc30df Rename find_stale. Fix worker name in declaration. 2018-06-06 17:49:48 +09:00
Shinya Maeda fb1e35e556 Fix spec fiel location 2018-06-06 17:49:48 +09:00
Shinya Maeda 3b569fceff Clean up worker 2018-06-06 17:49:48 +09:00
Shinya Maeda c1d3b48c96 Change BuildTraceChunkFlushWorker's queue from pipeline_processing to pipeline_background 2018-05-04 21:48:10 +09:00
Shinya Maeda 812dd06d51 Introduce Redis helpers. Rename BuildTraceChunkFlushToDbWorker to Ci::BuildTraceChunkFlushWorker. 2018-05-04 17:02:08 +09:00
Kamil Trzcinski 2988e1fbf5 Migrate CI::Services and CI::WebHooks to Services and WebHooks 2015-12-10 16:04:08 +01:00
Douwe Maan 046b283127 Groundwork for merging CI into CE 2015-08-25 18:42:46 -07:00