summaryrefslogtreecommitdiff
path: root/spec/workers
Commit message (Collapse)AuthorAgeFilesLines
* Remove 10.3 comments (Tracked by a tech debts issue). Refactor spec factory ↵refactor-clustersShinya Maeda2017-11-062-2/+2
| | | | name. Use ArgumentError
* Merge branch 'master' into refactor-clustersShinya Maeda2017-11-011-2/+7
|\
| * Make merge_jid handling less stateful in MergeServiceOswaldo Ferreira2017-10-271-2/+7
| |
* | specs for workers.Shinya Maeda2017-10-312-51/+29
|/
* Backports EE 38771 changes to CE.Tiago Botelho2017-10-102-0/+39
|
* Replaces `tag: true` into `:tag` in the specsJacopo2017-10-071-1/+1
| | | | | | Replaces all the explicit include metadata syntax in the specs (tag: true) into the implicit one (:tag). Added a cop to prevent future errors and handle autocorrection.
* Add a project forks spec helperBob Van Landuyt2017-10-071-3/+7
| | | | | The helper creates a fork of a project with all provided attributes, but skipping the creation of the repository on disk.
* Merge branch 'master' into '37970-ci-sections-tracking'Kamil Trzciński2017-10-073-0/+105
|\ | | | | | | # Conflicts: # db/schema.rb
| * Use utc for time comparisionShinya Maeda2017-10-061-1/+1
| |
| * Add some empty spacesKamil Trzcinski2017-10-051-0/+2
| |
| * Fix failing specKamil Trzcinski2017-10-051-2/+2
| |
| * Fix Rubocop failuresKamil Trzcinski2017-10-041-2/+2
| |
| * fetch_gcp_operation_service_spec. finalize_cluster_creation_service_spec. ↵Shinya Maeda2017-10-051-4/+44
| | | | | | | | wait_for_cluster_creation_worker_spec.
| * create_cluster_service_spec. cluster_provision_worker_spec. cluster_queue_spec.Shinya Maeda2017-10-043-0/+63
| |
* | Add CI build trace sections extractorAlessio Caiazza2017-10-052-0/+25
|/
* Hide Gollum inside Gitlab::Git::WikiJacob Vosmaer (GitLab)2017-10-031-1/+6
|
* Make Repository#has_visible_content more efficientJacob Vosmaer (GitLab)2017-09-291-4/+2
|
* Add support to migrate existing projects to Hashed Storage asynchashed-storage-migration-pathGabriel Mazetto2017-09-282-0/+59
|
* Fix post receive specs regarding pipeline creationGrzegorz Bizon2017-09-261-5/+8
|
* Stop using Sidekiq for updating Key#last_used_atremove-use-key-workerYorick Peterse2017-09-201-23/+0
| | | | | | | | | | | | | | | This makes things simpler as no scheduling is involved. Further we remove the need for running a SELECT + UPDATE just to get the key and update it, whereas we only need an UPDATE when setting last_used_at directly in a request. The added service class takes care of updating Key#last_used_at without using Sidekiq. Further it makes sure we only try to obtain a Redis lease if we're confident that we actually need to do so, instead of always obtaining it. We also make sure to _only_ update last_used_at instead of also updating updated_at. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36663
* Restore has_visible_content? to improve performance (cache)repo-cache-fixJarka Kadlecova2017-09-141-2/+2
| | | | This method was moved to ::Git but it is not cached there which causes performance problems
* Merge branch ↵Douwe Maan2017-09-071-20/+101
|\ | | | | | | | | | | | | | | | | '35558-only-one-garbage-collection-should-be-running-per-project-at-once' into 'master' Adds exclusive lease to Git garbage collect worker. Closes #35558 See merge request !14036
| * Adds exclusive lease to Git garbage collect worker.35558-only-one-garbage-collection-should-be-running-per-project-at-onceTiago Botelho2017-09-071-20/+101
| |
* | Removes default scope from sortable23079-remove-default-scope-in-sortableTiago Botelho2017-09-071-0/+2
|/
* pass whole commit to Gitlab::Gpg::Commit againAlexis Reigel2017-09-051-2/+7
| | | | | we need the commit object for the updated verification that also checks the committer's email to match the gpg key and user's emails.
* Improve specShinya Maeda2017-09-051-9/+12
|
* Fix enum listsShinya Maeda2017-09-051-1/+1
|
* Implement `failure_reason` on `ci_builds`Shinya Maeda2017-09-051-0/+1
|
* Move GitOperationService to Gitlab::Gitmove-git-operation-serviceJacob Vosmaer2017-09-011-1/+1
|
* Prepare GitOperationService for move to Gitlab::GitJacob Vosmaer2017-08-311-3/+3
|
* Add changelogOswaldo Ferreira2017-08-281-11/+0
|
* Merge branch '36792-inline-user-refresh-when-creating-project' into 'master'Douwe Maan2017-08-281-4/+51
|\ | | | | | | | | | | | | Don't wait for project authorization sidekiq jobs when creating projects Closes #36792 See merge request !13775
| * Move sidekiq-based project authorization refresh out of Projects::CreateServiceNick Thomas2017-08-251-4/+51
| | | | | | | | | | | | | | | | | | | | | | If the project is in a group, the `group.refresh_members_authorized_projects` is made non-blocking, and we call `current_user.refresh_authorized_projects` directly. Projects in a personal namespace are more difficult. Rather than passing the `blocking:` parameter through the entire `add_master` chain, have the `AuthorizedProjectsWorker` automatically inline authorizations for three IDs or less. Since the maximum number of IDs in this path is 2, that has the same effect.
* | Merge branch 'master' into 'backstage/gb/rename-ci-cd-processing-sidekiq-queues'Kamil Trzciński2017-08-252-1/+15
|\ \ | |/ | | | | # Conflicts: # db/schema.rb
| * Merge branch 'backstage/gb/after-save-asynchronous-job-hooks' into 'master'Kamil Trzciński2017-08-241-1/+1
| |\ | | | | | | | | | | | | | | | | | | Do not fire synchronous hooks when creating a job Closes #35286 See merge request !13734
| | * Merge branch 'master' into backstage/gb/after-save-asynchronous-job-hooksGrzegorz Bizon2017-08-233-6/+34
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (115 commits) Use event-based waiting in Gitlab::JobWaiter Make sure repository's removal work for legacy and hashed storages Use `@hashed` prefix for hashed paths on disk, to avoid collision with existing ones Refactor project and storage types Prevent using gitlab import task when hashed storage is enabled Some codestyle changes and fixes for GitLab pages Removed some useless code, codestyle changes and removed an index Fix repository reloading in some specs Changelog Moving away from the "extend" based factory to a more traditional one. Enable automatic hashed storage for new projects by application settings New storage is now "Hashed" instead of "UUID" Add UUID Storage to Project Move create_repository back to project model as we can use disk_path and share it Codestyle: move hooks to the same place and move dependent methods to private Use non-i18n values for setting new group-level issue/MR button text indexes external issue tracker copyedit indexes user/search/ from /user/index Correctly encode string params for Gitaly's TreeEntries RPC ...
| | * | Fix pipeline job worker specsGrzegorz Bizon2017-08-231-1/+1
| | | |
| * | | Migration to remove pending delete projects with non-existing namespaceToon Claes2017-08-221-0/+14
| | |/ | |/| | | | | | | | | | | | | | | | There might be some projects where the namespace was removed, but the project wasn't. For these the projects still have a `namespace_id` set. So this adds a post-deploy migration remove all projects that are pending delete, and have a `namespace_id` that is non-existing.
* | | Merge branch 'master' into backstage/gb/rename-ci-cd-processing-sidekiq-queuesGrzegorz Bizon2017-08-223-6/+34
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (115 commits) Use event-based waiting in Gitlab::JobWaiter Make sure repository's removal work for legacy and hashed storages Use `@hashed` prefix for hashed paths on disk, to avoid collision with existing ones Refactor project and storage types Prevent using gitlab import task when hashed storage is enabled Some codestyle changes and fixes for GitLab pages Removed some useless code, codestyle changes and removed an index Fix repository reloading in some specs Changelog Moving away from the "extend" based factory to a more traditional one. Enable automatic hashed storage for new projects by application settings New storage is now "Hashed" instead of "UUID" Add UUID Storage to Project Move create_repository back to project model as we can use disk_path and share it Codestyle: move hooks to the same place and move dependent methods to private Use non-i18n values for setting new group-level issue/MR button text indexes external issue tracker copyedit indexes user/search/ from /user/index Correctly encode string params for Gitaly's TreeEntries RPC ...
| * | Merge branch '34533-inline-single-authorized-projects' into 'master'Douwe Maan2017-08-221-5/+11
| |\ \ | | | | | | | | | | | | | | | | Use an event-based system when waiting for AuthorizedProjectsWorker to complete See merge request !13564
| | * | Use event-based waiting in Gitlab::JobWaiterNick Thomas2017-08-221-5/+11
| | |/
| * | Refactor project and storage typesGabriel Mazetto2017-08-221-1/+1
| | |
| * | Merge branch 'backstage/gb/migrate-stages-statuses' into 'master'Kamil Trzciński2017-08-211-0/+22
| |\ \ | | |/ | |/| | | | | | | | | | | | | Migrate CI/CD stages statuses Closes #33453 See merge request !12584
| | * Merge branch 'master' into backstage/gb/migrate-stages-statusesGrzegorz Bizon2017-08-1621-47/+264
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (1000 commits) Fix username autocomplete group name with no avatar alignment Fix 'Projected tags' typo in protected_tags_spec.rb Many Repo Fixes Repo Editor Fixes Docs: New index for permissions link article from CI index link tech articles from the landing page new articles come first fix relative link fix date format Fixed changed files dropdown not being shown Update publication date Remove deprecated field from workhorse API responses Fix API responses when dealing with txt files Make sure MySQL would not use CURRENT_TIMESTAMP Add two more project templates Allow usage of any_projects? with an Array Copyedit Artifactory and GitLab article Rename Artifactory and GitLab article file Display GPG status loading spinner only when Ajax request is made ...
| | * | Add specs for stage update workerGrzegorz Bizon2017-07-311-0/+22
| | | |
* | | | Revert adding shared examples for every sidekiq workerGrzegorz Bizon2017-08-2255-110/+0
| | | | | | | | | | | | | | | | Since this already exists in `every_sidekiq_worker_spec.rb`.
* | | | Fix incorrect `let` in pipeline metrics worker specsGrzegorz Bizon2017-08-221-1/+8
| | | |
* | | | Fix typo in shared examples name in worker specsGrzegorz Bizon2017-08-221-1/+1
| | | |
* | | | Add sidekiq worker shared examples to workers specsGrzegorz Bizon2017-08-2144-2/+88
| | | |
* | | | Remove sidekiq build queue and assign pipeline queueGrzegorz Bizon2017-08-216-14/+10
| | | |