Commit graph

23 commits

Author SHA1 Message Date
Yorick Peterse
2039c8280d
Disable existing offenses for the CodeReuse cops
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
Grzegorz Bizon
9c720a98b9 Merge branch 'build-chunks-on-object-storage' into 'master'
Allow to store BuildTraceChunks on Object Storage

Closes #45712

See merge request gitlab-org/gitlab-ce!19515
2018-07-06 11:38:07 +00:00
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
Shinya Maeda
f930e94363 Merge branch 'master' into build-chunks-on-object-storage 2018-07-03 13:24:02 +09:00
gfyoung
7e87626acf Enable frozen string for app/workers/**/*.rb
Partially addresses #47424.
2018-06-27 01:12:01 -07:00
Shinya Maeda
494673793d Rename persisted? to data_persisted? 2018-06-18 17:56:16 +09:00
Kamil Trzciński
644529590a Allow to store BuildTraceChunks on Object Storage 2018-06-07 10:46:14 +02: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