summaryrefslogtreecommitdiff
path: root/app/workers
Commit message (Collapse)AuthorAgeFilesLines
* Do not schedule pipelines if the user can'tZ.J. van de Weg2017-05-151-1/+7
| | | | | | | | | | | When the owner of a pipelines schedule was either blocked or was removed from the project, the pipeline schedular would still schedule the pipeline. This would than fail however, given the user had no access to the project and it contents. However, a better way to handle it would be to not schedule it at all. Furthermore, from now on, such schedules will be deactivated so the schedule worker can ignore it on the next runs.
* Added repository_update hookGabriel Mazetto2017-05-121-3/+22
|
* Merge branch '27144-enforce-rubocop-trailing_commas-no_comma-style' into ↵Robert Speicher2017-05-102-2/+2
|\ | | | | | | | | | | | | | | | | | | 'master' Resolve "Use consistent style for trailing commas" Closes #27144 See merge request !11063
| * Enable the Style/TrailingCommaInArguments copRémy Coutable2017-05-102-2/+2
| | | | | | | | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
* | No user needed to cleanup namespaceless pending delete projectsToon Claes2017-05-101-4/+1
| | | | | | | | | | Since this is a cleanup, ran by a post-deploy, there is no need to lookup the admin to run the cleanup.
* | Use worker to destroy namespaceless projects in post-deployToon Claes2017-05-101-0/+46
|/ | | | | | | | Destroying projects can be very time consuming. So instead of destroying them in the post-deploy, just schedule them and make Sidekiq do the hard work. They are scheduled in batches of 5000 records. This way the number of database requests is limited while also the amount data read to memory is limited.
* Merge branch 'deltas-only' into 'master' Sean McGivern2017-05-091-3/+3
|\ | | | | | | | | Don't use DiffCollection for deltas See merge request !11201
| * Don't use DiffCollection for deltasJacob Vosmaer2017-05-091-3/+3
| |
* | Merge branch '28359-skip-process-commit-worker-unless-issues-referenced' ↵31977-ensure-all-webpack-bundles-which-include-vue-are-children-of-common_vue-jsDmitriy Zaporozhets2017-05-081-0/+3
|\ \ | |/ |/| | | | | | | | | | | | | | | into 'master' Use regex to skip unnecessary reference processing in ProcessCommitWorker Closes #28359 See merge request !10867
| * Use regex to skip unnecessary reference processing in ProcessCommitWorkerJames Edwards-Jones2017-05-041-0/+3
| |
* | Add Pipeline Schedules that supersedes experimental Trigger ScheduleZeger-Jan van de Weg2017-05-072-18/+19
| |
* | Merge branch ↵Sean McGivern2017-05-051-13/+25
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | '29925-gitlab-shell-hooks-can-no-longer-send-absolute-paths-to-gitlab-ce' into 'master' Generate and handle a gl_repository param to pass around components Closes #29925 See merge request !10992
| * | Pass GL_REPOSITORY in Workhorse responses29925-gitlab-shell-hooks-can-no-longer-send-absolute-paths-to-gitlab-ceAlejandro Rodríguez2017-05-051-0/+7
| | |
| * | Allow gl-repository strings as project identifiers in PostReceive workerAlejandro Rodríguez2017-05-051-13/+18
| | |
* | | refactor code based on feedbackfix/admin-integrationsJames Lopez2017-05-051-2/+0
| | |
* | | refactor code based on feedbackJames Lopez2017-05-051-3/+3
| | |
* | | refactor a few things based on feedbackJames Lopez2017-05-041-1/+1
| | |
* | | update lease timeoutJames Lopez2017-05-041-1/+1
| | |
* | | refactor worker into serviceJames Lopez2017-05-041-30/+4
| | |
* | | add propagate service worker and updated spec and controllerJames Lopez2017-05-031-0/+49
|/ /
* | Update Carrierwave and fog-coreZeger-Jan van de Weg2017-05-011-1/+1
| |
* | Refactor ExpirePipelineCacheWorker#performToon Claes2017-04-241-5/+11
| | | | | | | | | | Make it gracefully handle unexisting pipelines and refactor iterating all the merge request paths.
* | Use a better performing query to find all MRs for pipelineToon Claes2017-04-241-2/+2
| | | | | | | | And add some specs.
* | Properly expire cache for **all** MRs of a pipelineToon Claes2017-04-241-0/+51
|/ | | | | Turn ExpirePipelineCacheService into Worker so it can fetch all the merge requests for which the pipeline runs or did run against.
* Remove the ClearDatabaseCacheWorkerNick Thomas2017-04-211-24/+0
|
* Merge branch 'hook_retries' into 'master' Douwe Maan2017-04-191-0/+2
|\ | | | | | | | | | | | | Add retries to system hook worker Closes #31109 See merge request !10801
| * Add retry to system hook workerDrew Blessing2017-04-191-0/+2
| | | | | | | | | | | | | | | | | | The default number of Sidekiq retries is 25 over about 21 days. If an external system is unavailable for a length of time, hooks can pile up in the Sidekiq queues. If the situation gets bad enough the retry jobs dropping back into the main queue can slow down other jobs. Limit the retries to a sane number to avoid this scenario.
* | Remove Geo referencesSean McGivern2017-04-142-4/+0
| |
* | Add new ScheduleUpdateUserActivityWorker and UpdateUserActivityWorkerRémy Coutable2017-04-142-0/+40
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Fix usage ping worker queueSean McGivern2017-04-141-3/+1
| |
* | Used named parameter for refreshing usage dataStan Hu2017-04-141-1/+1
| |
* | Cache the last usage data to avoid unicorn timeoutsStan Hu2017-04-141-1/+1
| |
* | Port 'Add more usage data to EE ping' to CESean McGivern2017-04-141-8/+1
| | | | | | | | CE port of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/735
* | Port 'Add EE usage ping' to CESean McGivern2017-04-141-0/+40
| | | | | | | | CE port of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/557
* | Return nil as coverage instead of a File objectzj-fix-coverage-bugZ.J. van de Weg2017-04-121-2/+1
| | | | | | | | | | | | | | | | | | Given a valid pipeline job, and a regex which wouldn't match to a jobs trace, the stream of the trace would return the File object. This was not the case when it matched a value, as that would have been return from the block. Now the `extract_coverage` method returns `nil` if no match was found.
* | Fix ref referenceKamil Trzcinski2017-04-071-1/+1
| |
* | Maintain MRShinya Maeda2017-04-061-1/+0
| |
* | Brush up 2Shinya Maeda2017-04-061-2/+0
| |
* | Brush upShinya Maeda2017-04-061-0/+3
| |
* | Use delegate for ref on ci_triggerShinya Maeda2017-04-061-2/+2
| |
* | Fixed strcture for db changeShinya Maeda2017-04-061-5/+6
| |
* | Rename ScheduledTrigger to TriggerSchedule. Because table structure changed.Shinya Maeda2017-04-061-3/+2
| |
* | basic componentsShinya Maeda2017-04-061-4/+4
| |
* | Add scheduled_trigger model. Add cron parser. Plus, specs.Shinya Maeda2017-04-061-0/+18
| |
* | remove unnecessary lease as cron jobfix/gh-import-status-checkJames Lopez2017-04-061-13/+0
| |
* | Periodically mark projects that are stuck in importing as failedJames Lopez2017-04-052-1/+53
| | | | | | | | | | | | Adds import jid to projects Refactor middleware to set custom expiration time via sidekiq options Add completed_jids option to sidekiq status and a few other changes
* | Merge branch '29492-useless-queries' into 'master'Sean McGivern2017-04-041-0/+2
|\ \ | | | | | | | | | | | | | | | | | | remove useless queries with false conditions (e.g 1=0) Closes #29492 See merge request !10141
| * | Remove useless queries with false conditions (e.g 1=0)mhasbini2017-04-041-0/+2
| | |
* | | Remove unused include from RepositoryImportWorkerDouglas Barbosa Alexandre2017-04-031-1/+0
|/ /
* | Helper method for storage path strippingJacob Vosmaer2017-03-291-8/+4
| |