summaryrefslogtreecommitdiff
path: root/spec/workers
Commit message (Collapse)AuthorAgeFilesLines
* Resolve "Hashed Storage: Make possible to migrate single project"Gabriel Mazetto2018-06-071-15/+10
|
* Support LFS objects when creating a project by importFrancisco Javier López2018-06-062-1/+29
|
* Move GC/Repack to OptOutKim Carlbäcker2018-06-061-1/+1
|
* Rename worker to ArchiveTracesCronWorkerShinya Maeda2018-06-061-1/+1
|
* Fix the query to select stale live tracesShinya Maeda2018-06-062-38/+13
|
* Move find_builds_from_stale_live_traces method to Ci::BuildShinya Maeda2018-06-061-8/+9
|
* Fix ambiguous stuck ci job worker's spec. Rename lease key of archiveShinya Maeda2018-06-062-2/+4
|
* Add tests for each new codeShinya Maeda2018-06-061-11/+23
|
* Fix spec fiel locationShinya Maeda2018-06-061-1/+1
|
* Add testsShinya Maeda2018-06-061-0/+71
|
* Find and mark more Git disk access locationsJacob Vosmaer (GitLab)2018-06-051-2/+6
|
* Merge branch 'rails5-cattr' into 'master'Douwe Maan2018-05-311-3/+1
|\ | | | | | | | | | | | | Fix cattr_accessor definition Closes #46282 See merge request gitlab-org/gitlab-ce!19192
| * Fix cattr_accessor definitionJan Provaznik2018-05-281-3/+1
| | | | | | | | | | Use cattr_accessor directly inside the defined class, otherwise in Rails 5 this accessor returns nil.
* | Merge branch ↵Kamil Trzciński2018-05-291-116/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | '38759-fetch-available-parameters-directly-from-gke-when-creating-a-cluster' into 'master' Resolve "Fetch available parameters directly from GKE when creating a cluster" Closes #38759 See merge request gitlab-org/gitlab-ce!17806
| * \ Merge remote-tracking branch 'origin/master' into ↵Dennis Tang2018-05-251-2/+7
| |\ \ | | |/ | | | | | | 38759-fetch-available-parameters-directly-from-gke-when-creating-a-cluster
| * | Merge remote-tracking branch 'origin/master' into ↵Dennis Tang2018-05-119-47/+257
| |\ \ | | | | | | | | | | | | 38759-fetch-available-parameters-directly-from-gke-when-creating-a-cluster
| * \ \ Merge branch 'master' into ↵Matija Čupić2018-05-024-12/+55
| |\ \ \ | | | | | | | | | | | | | | | 38759-fetch-available-parameters-directly-from-gke-when-creating-a-cluster
| * | | | Remove ListGcpProjectsWorkerMatija Čupić2018-05-021-116/+0
| | | | |
| * | | | Store projects in ListGcpProjectsWorkerMatija Čupić2018-04-201-11/+11
| | | | |
| * | | | Rename CheckGcpProjectBillingWorker to ListGcpProjectsWorkerMatija Čupić2018-04-201-1/+1
| | | | |
| * | | | Rename CheckGcpProjectBillingService to ListGcpProjectsServiceMatija Čupić2018-04-201-7/+7
| | | | |
* | | | | Merge branch '45190-create-notes-diff-files' into 'master'Douwe Maan2018-05-281-0/+16
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | Persist and use truncated note diffs instead requesting Gitaly in a N+1 manner on MR page Closes #45190 See merge request gitlab-org/gitlab-ce!18991
| * | | | Persist truncated note diffs on a new table45190-create-notes-diff-filesOswaldo Ferreira2018-05-241-0/+16
| | |_|/ | |/| | | | | | | | | | | | | | We request Gitaly in a N+1 manner to build discussion diffs. Once the diffs are from different revisions, it's hard to make a single request to the service in order to build the whole response. With this change we solve this problem and simplify a lot fetching this piece of info.
* | | | Avoid using expect_any_instance_ofLin Jen-Shin2018-05-231-2/+7
|/ / / | | | | | | | | | | | | We can't use it for prepended module, so use `and_wrap_original` to wrap around the instance.
* | | Merge branch '42099-port-push-mirroring-to-ce-ce-port-v-2' into 'master'Douwe Maan2018-05-072-0/+134
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | CE backport of Backports Push Mirrors to CE Closes #42099 See merge request gitlab-org/gitlab-ce!18715
| * | | Backports every CE related change from ee-5484 to CETiago Botelho2018-05-072-0/+134
| | | |
* | | | Fix rubocop violationToon Claes2018-05-071-1/+0
| | | |
* | | | Use push events again to determine if repo needs checkingToon Claes2018-05-071-12/+22
| | | |
* | | | Project#repository_storage_path no longer existsToon Claes2018-05-071-4/+4
| | | |
* | | | Refactor RepositoryCheck::SingleRepositoryWorkerToon Claes2018-05-071-32/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A repo does not need pushes before it will be repo-checked. There are other sources where commits can come from (e.g. import or webIDE). In the test I made the method of breaking a repo more robust. And added a few test examples. See also gitlab-org/gitlab-ce#45046.
* | | | Remove `Rails.env.test?` from production codeToon Claes2018-05-071-2/+2
| | | |
* | | | Do not send repository check mails when they are disabledToon Claes2018-05-071-0/+41
|/ / / | | | | | | | | | | | | In case the repository checks are disabled, do not send the mails. Otherwise it might send the same failures over and over again.
* | | Backports every CE related change from ee-44542 to CETiago Botelho2018-05-044-16/+30
| |/ |/|
* | Makes namespaceless project destroy worker spec not depend on a specific ↵Tiago Botelho2018-04-301-9/+6
| | | | | | | | migration version
* | Move NotificationService calls to SidekiqSean McGivern2018-04-252-2/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The NotificationService has to do quite a lot of work to calculate the recipients for an email. Where possible, we should try to avoid doing this in an HTTP request, because the mail are sent by Sidekiq anyway, so there's no need to schedule those emails immediately. This commit creates a generic Sidekiq worker that uses Global ID to serialise and deserialise its arguments, then forwards them to the NotificationService. The NotificationService gains an `#async` method, so you can replace: notification_service.new_issue(issue, current_user) With: notification_service.async.new_issue(issue, current_user) And have everything else work as normal, except that calculating the recipients will be done by Sidekiq, which will then schedule further Sidekiq jobs to send each email.
* | Ignore ordering in IssueDueSchedulerWorker specSean McGivern2018-04-201-1/+3
|/
* Use `bulk_perform_async` to schedule issue due emailsSean McGivern2018-04-171-2/+1
|
* Merge branch 'master' into 'stuartnelson3/gitlab-ce-stn/issue-due-email'Sean McGivern2018-04-103-40/+95
|\ | | | | | | # Conflicts: # db/schema.rb
| * Work around Ruby 2.3.7 bug by defining prepended class methods needed for testsStan Hu2018-04-091-0/+6
| |
| * Merge branch 'fix/use-shard-name-in-gitlab-projects-instead-of-shard-path' ↵Sean McGivern2018-04-041-40/+61
| |\ | | | | | | | | | | | | | | | | | | | | | | | | into 'master' Use shard name in Git::GitlabProjects instead of shard path Closes gitaly#1110 See merge request gitlab-org/gitlab-ce!18015
| | * Use shard name in Git::GitlabProjects instead of shard pathAhmad Sherif2018-04-031-40/+61
| | | | | | | | | | | | Closes gitaly#1110
| * | Extend API for exporting a project with direct upload URLFrancisco Javier López2018-03-301-0/+28
| |/
* | Send emails for issues due tomorrowSean McGivern2018-03-303-17/+44
| | | | | | | | | | | | Also, refactor the mail sending slightly: instead of one worker sending all emails, create a worker per project with issues due, which will send all emails for that project.
* | Merge branch 'master' into stuartnelson3/gitlab-ce-stn/issue-due-emailSean McGivern2018-03-301-0/+108
|\ \ | |/
| * Merge remote-tracking branch 'origin/master' into 40781-os-to-ceMicaël Bergeron2018-03-0814-42/+148
| |\
| * | fixing some broken mergesMicaël Bergeron2018-03-021-1/+1
| | |
| * | remove geo specific codeMicaël Bergeron2018-03-011-0/+108
| | |
* | | Remove 'useless' variable assignmentStuart Nelson2018-03-261-2/+2
| | |
* | | Add spec for issue_due_workerStuart Nelson2018-03-261-0/+7
| | |
* | | Create cron issue due spec skeletonStuart Nelson2018-03-261-0/+10
| |/ |/|