summaryrefslogtreecommitdiff
path: root/spec/workers
Commit message (Collapse)AuthorAgeFilesLines
* Ensure all project factories use `:repository` trait or `:empty_project`rs-empty_project-cleanupRobert Speicher2017-08-012-3/+3
|
* Rename ensure_dir_exist -> ensure_storage_path_existGabriel Mazetto2017-08-011-1/+1
|
* Merge branch 'gitaly-398-git-garbage-collect' into 'master'Sean McGivern2017-07-311-9/+43
|\ | | | | | | | | | | | | Migrate GitGarbageCollectWorker to Gitaly Closes gitaly#398 See merge request !12975
| * Migrate GitGarbageCollectWorker to Gitalygitaly-398-git-garbage-collectKim "BKC" Carlbäcker2017-07-281-9/+43
| |
* | remove log statements from workersAlexis Reigel2017-07-272-21/+0
| |
* | generate gpg signature on pushAlexis Reigel2017-07-271-0/+61
| |
* | perform signature update in sidekiq workerAlexis Reigel2017-07-271-0/+36
|/
* Merge branch '29289-project-destroy-clean-up-after-failure' into 'master'Sean McGivern2017-07-261-4/+16
|\ | | | | | | | | | | | | Handle errors while a project is being deleted asynchronously. Closes #29289 See merge request !11088
| * Move exception handling to executeTiago Botelho2017-07-261-10/+9
| |
| * Add specs for ProjectDestroyWorkerTiago Botelho2017-07-201-4/+17
| |
* | Merge remote-tracking branch 'upstream/master' into 30634-protected-pipelineLin Jen-Shin2017-07-174-18/+35
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (638 commits) Simplify background migrations stealing code Expire cached user IDs that can see the performance after 5 minutes Promote visibility level helpers from Group to Namespace Fix off-by-one error in background migration retries Recover from all exceptions when stealing bg migration Fix label creation from new list for subgroup projects move click handler to button. when on the icon it wasn't triggered in firefox Fix incorrect AWS ELB metrics. Fix wrong link to docs in docs styleguide Update issue-related docs Refactor groups docs Add subgroups limitations to Pages docs Update Google launcher details Split docs on IP whitelist for monitoring access Update health check docs Bump fog-core to 1.44.3 and fog providers' plugins to latest Introduce have_gitlab_http_status Remove Repository#search_files Update Pipeline's badge count in Merge Request and Commits view to match real-time content Fixes the user order being overriden in the autocomplete controller ...
| * Support multiple Redis instances based on queue typePaul Charlton2017-07-112-3/+3
| |
| * Merge remote-tracking branch 'origin/active-record-each-batch' into ↵Grzegorz Bizon2017-07-071-14/+0
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix/gb/stage-id-reference-background-migration * origin/active-record-each-batch: (59 commits) Added EachBatch for iterating tables in batches Extend MR tabs a bit to cover up the avatar holder and collapse icon on scroll Update VERSION to 9.4.0-pre. Add CHANGELOG Fix some N+1 queries in the GET /projects API Don't show auxiliary blob viewer for README when there is no wiki Improve & fix the performance bar UI and behavior Remove orphaned haml files Fixed CHANGELOG.md for 9.3.4 release Add table for merge request commits 34727 Remove two columned layout from project member settings Just draw :legacy_builds Re-enable polling for environments Cleanup minor UX issues in the performance dashboard Upgrade GitLab Workhorse to v2.3.0 Added test for the chart legend Use correct field for label name, fix default for unit to be blank Fix shorter route helpers in production environment Encode certificate-authority-data in base64 Revert "Merge branch 'winh-mr-widget-no-pipeline' into 'master'" ...
| | * Add many foreign keys to the projects tableYorick Peterse2017-07-061-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes the need for relying on Rails' "dependent" option for data removal, which is _incredibly_ slow (even when using :delete_all) when deleting large amounts of data. This also ensures data consistency is enforced on DB level and not on application level (something Rails is really bad at). This commit also includes various migrations to add foreign keys to tables that eventually point to "projects" to ensure no rows get orphaned upon removing a project.
| * | Make it possible to schedule bg migrations in bulkGrzegorz Bizon2017-07-071-1/+32
| |/
* | Merge remote-tracking branch 'upstream/master' into 30634-protected-pipelineLin Jen-Shin2017-06-2915-100/+114
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (1168 commits) Job details won't scroll horizontally to show long lines Bring back branches badge to main project page Limit OpenGraph image size to 64x64 Improve changelog Split up MergeRequestsController Add parent_id back to the tests Make changelog more descriptive Improve tests text Rename members_count to members_count_with_descendants and expose only to group admins Fix a bug where an invalid sort param value was passed to Gitaly Drop default ORDER scope when calling a find method on a Sortable model Add tests for project import state transition: [:started] => [:finished] Add CHANGELOG Perform housekeeping only when an import of a fresh project is completed Strip trailing whitespace in relative submodule URL Adjust projects spec on namespace fields Add "members_count" and "parent_id" data on namespaces API Removes redundant pending delete checks Fix gitaly ref encoding bugs Add ProjectWiki#ensure_repository ...
| * Use gl_repository exclusively as identifier on post-receivepostreceive-gl-repositoryAlejandro Rodríguez2017-06-271-25/+13
| |
| * Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-2112-55/+55
| |
| * Add “Project moved” error to Git-over-SSHMichael Kozono2017-06-161-1/+1
| |
| * Correct RSpec/SingleLineHook cop offensesRobert Speicher2017-06-145-8/+24
| |
| * Add the ability to perform background migrationsYorick Peterse2017-06-121-0/+13
| | | | | | | | | | | | | | | | Background migrations can be used to perform long running data migrations without these blocking a deployment procedure. See MR https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11854 for more information.
| * Merge branch 'port-post-receive-changes' into 'master'Robert Speicher2017-06-081-16/+13
| |\ | | | | | | | | | | | | Refactor PostReceive worker to limit merge conflicts See merge request !11916
| | * Refactor PostReceive worker to limit merge conflictsport-post-receive-changesDouglas Barbosa Alexandre2017-06-051-16/+13
| | |
* | | Try to report why it's failing and fix testsLin Jen-Shin2017-06-061-0/+1
|/ /
* | Merge branch 'pull-mirror-overhaul-ce-backport' into 'master'Douwe Maan2017-06-052-13/+36
|\ \ | |/ |/| | | | | backports changed import logic from pull mirroring feature into CE See merge request !11850
| * backports changed import logic from pull mirroring feature into CETiago Botelho2017-06-052-13/+36
| |
* | Add Conversational Development Index page to admin panelTaurie Davis, Simon Knox and Adam Niedzielski2017-06-011-14/+4
|/
* Introduce source to pipeline entitytrigger-sourceKamil Trzcinski2017-05-311-1/+2
|
* Merge branch 'issue_19262' into 'master'Douwe Maan2017-05-251-8/+12
|\ | | | | | | | | | | | | Prevent commits from upstream repositories to be re-processed by forks Closes #19262 See merge request !11511
| * Remove unecessary commit pattern checkFelipe Artur2017-05-251-8/+0
| |
| * Prevent commits from upstream repositories to be re-processed by forksFelipe Artur2017-05-221-0/+12
| |
* | Merge branch '17848-web-hook-logging' into 'master'Dmitriy Zaporozhets2017-05-251-0/+18
|\ \ | | | | | | | | | | | | | | | | | | Implement Web Hooks calls logging Closes #17848 See merge request !11027
| * | Implement web hooks loggingAlexander Randa2017-05-251-0/+18
| |/ | | | | | | | | | | | | | | * implemented logging of project and system web hooks * implemented UI for user area (project hooks) * implemented UI for admin area (system hooks) * implemented retry of logged webhook * NOT imeplemented log remover
* | Test the ExpireJobCacheWorker and related changeszj-fix-pipeline-etagZ.J. van de Weg2017-05-222-0/+33
| | | | | | | | These were untested by the cherry picked commit.
* | Fix ProjectCacheWorker for plain READMEsToon Claes2017-05-181-0/+12
|/ | | | | | The ProjectCacheWorker refreshes cache periodically, but it runs outside Rails context. So include the ActionView helpers so the `content_tag` method is available.
* Merge branch 'zj-pipeline-schedule-owner' into 'master' Kamil Trzciński2017-05-161-19/+32
|\ | | | | | | | | | | | | Foreign key for Pipeline schedule owner Closes #31932 See merge request !11233
| * Do not schedule pipelines if the user can'tZ.J. van de Weg2017-05-151-19/+32
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Disable auto_cancel_pending_pipelines in PostReceive testLin Jen-Shin2017-05-151-2/+5
|/
* Added repository_update hookGabriel Mazetto2017-05-121-1/+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-9/+7
| | | | | | | | | | 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/+81
|/ | | | | | | | 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.
* Fix specs 2Felipe Artur2017-05-081-1/+1
|
* Add merge requests association to pipelineFelipe Artur2017-05-081-1/+1
|
* 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/+8
|\ | | | | | | | | | | | | | | | | | | 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/+8
| |
* | Add Pipeline Schedules that supersedes experimental Trigger ScheduleZeger-Jan van de Weg2017-05-072-73/+51
| |
* | Merge branch ↵Sean McGivern2017-05-051-11/+32
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | '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
| * | Allow gl-repository strings as project identifiers in PostReceive workerAlejandro Rodríguez2017-05-051-11/+32
| | |