summaryrefslogtreecommitdiff
path: root/app/workers
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'fj-6860-instance-level-project-templates' into 'master'Sean McGivern2018-08-011-5/+11
|\ | | | | | | | | [CE Port]: Implement instance level project templates See merge request gitlab-org/gitlab-ce!20761
| * Code review comment appliedFrancisco Javier López2018-07-231-2/+2
| |
| * EE PortFrancisco Javier López2018-07-201-5/+11
| |
* | Merge branch 'todos-visibility-change' into 'master'Sean McGivern2018-07-316-0/+57
|\ \ | | | | | | | | | | | | Delete todos when users loses target read permissions See merge request gitlab-org/gitlab-ce!20665
| * | Remove todos when project feature visibility changesJarka Kadlecová2018-07-312-0/+11
| | |
| * | Delete todos when users loses target read permissionsJarka Kadlecová2018-07-305-0/+46
| | |
* | | Create GPG commit signature in bulkFrancisco Javier López2018-07-301-4/+12
|/ /
* | Merge branch 'security-event-counters-private-data' into 'master'Felipe Artur Cardozo2018-07-243-7/+3
|\ \ | | | | | | | | | | | | [master] Don't expose project names in various counters See merge request gitlab/gitlabhq!2418
| * | Don't expose project names in various countersYorick Peterse2018-06-213-7/+3
| | | | | | | | | | | | | | | | | | | | | Various counters would expose either project names, or full project paths (e.g. "gitlab-org/gitlab-ce"). This commit changes various places where we use "add_event" so we no longer expose (potentially) private information.
* | | Enable frozen string in newly added filesgfyoung2018-07-213-0/+6
| |/ |/| | | | | | | | | | | | | Enables frozen string for new files in directories that had been previously covered in previous MR's. Partially addresses #47424.
* | Merge branch '43312-remove_user_activity_workers' into 'master'Rémy Coutable2018-07-193-41/+0
|\ \ | | | | | | | | | | | | | | | | | | Delete UserActivities and related workers Closes #43312 See merge request gitlab-org/gitlab-ce!20597
| * | Delete UserActivities and related workers43312-remove_user_activity_workersImre Farkas2018-07-183-41/+0
| | |
* | | Improve email address parsingGeorge Thomas2018-07-191-1/+7
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you enter the following RFC 2822 compliant address: `John Doe <john@doe.com>` Gitlab will attempt to send three emails: 1) John 2) Doe 3) john@doe.com With this change given the following: `John Doe <johndoe@example.com>` `Jane Doe <janedoe@example.com>` Gitlab will send emails to `johndoe@example.com` and `janedoe@example.com`
* | Merge branch ↵Douwe Maan2018-07-111-2/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | '45592-nomethoderror-undefined-method-commit-for-nil-nilclass-in-sidekiq-caused-by-a-merge-commit-in-a-forked-project-with-upstream-project-deleted' into 'master' Resolve "NoMethodError: undefined method `commit' for nil:NilClass in sidekiq caused by a merge commit in a forked project with upstream project deleted." Closes #45592 See merge request gitlab-org/gitlab-ce!20534
| * | Fix ProcessCommitWorker when upstream project is deletedSean McGivern2018-07-101-2/+3
| | |
* | | Fix ArgumentError in GitGarbageCollectWorker Sidekiq jobStan Hu2018-07-101-2/+2
|/ / | | | | | | | | | | | | When the Gitaly call failed, the exception handling failed because `method` is expected to have a parameter. Closes #49096
* | Resolve Naming/UncommunicativeMethodLin Jen-Shin2018-07-091-4/+4
| |
* | Updates from `rubocop -a`Lin Jen-Shin2018-07-091-2/+0
| |
* | Add ExclusiveLease guards for RepositoryCheck::{DispatchWorker,BatchWorker}Stan Hu2018-07-062-4/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | We saw in production that DispatchWorker was running about twice an hour, which would schedule twice as many jobs as it should. For some reason, BatchWorker was running 1000 times per hour, possibly due to Sidekiq RSS kills that caused these jobs to restart. Adding an ExclusiveLease prevents these jobs from running more than they should. Relates to https://gitlab.com/gitlab-com/infrastructure/issues/4526
* | Delete deprecated object_storage_upload queueJan Provaznik2018-07-062-24/+0
| |
* | Merge branch 'build-chunks-on-object-storage' into 'master'Grzegorz Bizon2018-07-061-1/+1
|\ \ | | | | | | | | | | | | | | | | | | Allow to store BuildTraceChunks on Object Storage Closes #45712 See merge request gitlab-org/gitlab-ce!19515
| * \ Merge branch 'master' into build-chunks-on-object-storageShinya Maeda2018-07-061-17/+16
| |\ \
| * \ \ Merge branch 'master' into build-chunks-on-object-storageShinya Maeda2018-07-042-0/+27
| |\ \ \
| * \ \ \ Merge branch 'master' into build-chunks-on-object-storageShinya Maeda2018-07-03113-30/+320
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into build-chunks-on-object-storageShinya Maeda2018-06-251-21/+5
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| * | | | | Rename persisted? to data_persisted?Shinya Maeda2018-06-181-1/+1
| | | | | |
| * | | | | Merge branch 'master' into build-chunks-on-object-storageShinya Maeda2018-06-152-55/+12
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' into build-chunks-on-object-storageShinya Maeda2018-06-121-23/+2
| |\ \ \ \ \ \
| * | | | | | | Allow to store BuildTraceChunks on Object StorageKamil Trzciński2018-06-071-1/+1
| | | | | | | |
* | | | | | | | Use AlreadyArchivedError if it's the caseShinya Maeda2018-07-061-2/+1
| | | | | | | |
* | | | | | | | Fix specShinya Maeda2018-07-052-3/+5
| | | | | | | |
* | | | | | | | Rename build to job in ArchiveTraceWorkerShinya Maeda2018-07-051-1/+1
| | | | | | | |
* | | | | | | | Check if trace exists before process `archive!` methodShinya Maeda2018-07-052-5/+3
| | | | | | | |
* | | | | | | | Catch ArchiveError and ignore errors if it's already archivedShinya Maeda2018-07-051-1/+3
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | Revert "Merge branch ↵Sean McGivern2018-07-041-17/+16
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | '44726-cancel_lease_upon_completion_in_project_cache_worker' into 'master'" This reverts merge request !20103
* | | | | | Prune web hook logs older than 90 daysYorick Peterse2018-07-022-0/+27
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a recurring Sidekiq job that removes up to 50 000 old web hook logs per hour, if they are older than 90 days. This will prevent the web_hook_logs table from growing indefinitely. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/46120
* | | | | Cancel ExclusiveLease upon completion in ProjectCacheWorkerImre Farkas2018-06-301-16/+17
| | | | |
* | | | | Refactor fetching healthy shards with Gitlab::HealthChecks::GitalyCheckToon Claes2018-06-271-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is only 1 `HEALTHY_SHARD_CHECKS` used: Gitlab::HealthChecks::GitalyCheck So we can simplify code to get the list of healthy shard names.
* | | | | Rename method to #each_eligible_shardToon Claes2018-06-272-2/+2
| | | | |
* | | | | Add RepositoryCheck::DispatchWorker to start worker per shardToon Claes2018-06-273-5/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RepositoryCheck::DispatchWorker will start a RepositoryCheck::BatchWorker for each healthy shard. Closes gitlab-org/gitlab-ce#48042
* | | | | Bring Gitlab::ShardHealthCache to CEToon Claes2018-06-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | It already existed in EE in the Geo namespace. This change brings it to CE.
* | | | | Extract EachShardWorker into a concernToon Claes2018-06-271-0/+36
| | | | |
* | | | | Enable frozen string for app/workers/**/*.rbgfyoung2018-06-2723-0/+46
| | | | | | | | | | | | | | | | | | | | Partially addresses #47424.
* | | | | Enable frozen string literals for app/workers/*.rbgfyoung2018-06-2786-9/+178
| | | | |
* | | | | Delete non-latest merge request diff files upon diffs reloadosw-delete-non-latest-mr-diff-files-upon-mergeOswaldo Ferreira2018-06-242-0/+18
| |_|_|/ |/| | |
* | | | Move forking to Gitalyzj-fork-mandatoryZeger-Jan van de Weg2018-06-191-21/+5
| |_|/ |/| | | | | | | | | | | | | | Closes https://gitlab.com/gitlab-org/gitaly/issues/817 Closes https://gitlab.com/gitlab-org/gitaly/issues/1236
* | | Move GC RPCs to mandatoryZeger-Jan van de Weg2018-06-131-51/+7
| | | | | | | | | | | | Closes https://gitlab.com/gitlab-org/gitaly/issues/354
* | | Find and mark more Git disk access locations, part 2Jacob Vosmaer2018-06-121-4/+5
| |/ |/|
* | Resolve "Hashed Storage: Make possible to migrate single project"Gabriel Mazetto2018-06-071-23/+2
|/
* Support LFS objects when creating a project by importFrancisco Javier López2018-06-065-1/+61
|