Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-12Remove auto ssl feature flagsVladimir Shushlin
* remove feature flag for admin settings * remove feature flag for domain settings
2019-07-10Add a rubocop for Rails.loggerMayra Cabrera
Suggests to use a JSON structured log instead Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102
2019-07-05Add queue_size method to ApplicationWorkerDouwe Maan
2019-07-04Allow asynchronous rebase operations to be monitoredNick Thomas
This MR introduces tracking of the `rebase_jid` for merge requests. As with `merge_ongoing?`, `rebase_in_progress?` will now return true if a rebase is proceeding in sidekiq. After one release, we should remove the Gitaly-based lookup of rebases. It is much better to track this kind of thing via the database.
2019-07-02Includes logic to persist namespace statisticsMayra Cabrera
- Add two new ActiveRecord models: - RootNamespaceStoragestatistics will persist root namespace statistics - NamespaceAggregationSchedule will save information when a new update to the namespace statistics needs to be scheduled - Inject into UpdateProjectStatistics concern a new callback that will call an async job to insert a new row onto NamespaceAggregationSchedule table - When a new row is inserted a new job is scheduled. This job will update call an specific service to update the statistics and after that it will delete thee aggregated scheduled row - The RefresherServices makes heavy use of arel to build composable queries to update Namespace::RootStorageStatistics attributes. - Add an extra worker to traverse pending rows on NAmespace::AggregationSchedule table and schedule a worker for each one of this rows. - Add an extra worker to traverse pending rows on NAmespace::AggregationSchedule table and schedule a worker for each one of this rows
2019-06-25Use project depended feature flag for pages sslVladimir Shushlin
Also add ::Gitlab::LetsEncrypt.enabled? shortcut and simplify it a lot
2019-06-24Renew Let's Encrypt certificatesVladimir Shushlin
Add index for pages domain ssl auto renewal Add PagesDomain.needs_ssl_renewal scope Add cron worker for ssl renewal Add worker for ssl renewal Add pages ssl renewal worker queues settings
2019-06-24Merge branch 'remove_create_deployment_from_build_success_worker' into 'master'Douwe Maan
Remove deprecated call in BuildSuccessWorker Closes #63622 See merge request gitlab-org/gitlab-ce!29958
2019-06-24Merge branch '60617-enable-project-cluster-jit' into 'master'Thong Kuah
Enable JIT Kubernetes resource creation for project level clusters See merge request gitlab-org/gitlab-ce!29515
2019-06-24Remove deprecated call in BuildSuccessWorkerThong Kuah
We now create_deployment on Ci::Build create. No need to call create_deployment again
2019-06-19Merge branch 'ce-12014-incremental-es-wiki-updates' into 'master'Nick Thomas
Backport of 12014-incremental-es-wiki-updates See merge request gitlab-org/gitlab-ce!29531
2019-06-19Backport of 12014-incremental-es-wiki-updatesMario de la Ossa
Bringing in the DB migration and some light changes for CE classes
2019-06-19Add 2nd response for container api bulk deleteSteve Abrams
The bulk delete api endpoint for container registries can only be called once per hour. If a user calls the endpoint more than once per hour, they will now receive a 400 error with a descriptive message.
2019-06-18Enable project-level JIT resource creationTiger
Previously this behaviour was only available to group and instance-level clusters, as some project clusters relied on Kubernetes credentials being passed through to the runner instead of having their resources managed by GitLab (which is not available when using JIT). These clusters have been migrated to unmanaged, so resources can be created on demand for the remaining managed clusters.
2019-06-05Delete unauthorized Todos when project is privateFelipe Artur
Delete Todos for guest users when project visibility level is updated to private.
2019-06-05Ensure DB is writable before continuing jobsAsh McKenzie
In the context of a Geo setup, some jobs can be running on a Geo secondary where the database is read-only and therefore we should guard against various jobs attempting to write.
2019-06-04Merge branch 'introduce-auto-merge-process-worker' into 'master'Thong Kuah
Introduce sidekiq worker for auto merge process See merge request gitlab-org/gitlab-ce!28780
2019-06-04Merge branch ↵Kamil Trzciński
'set-real-next-run-at-for-preventing-duplciate-pipeline-creations' into 'master' Make pipeline schedule worker resilient Closes gitlab-com/gl-infra/production#805 and #61955 See merge request gitlab-org/gitlab-ce!28407
2019-06-04Introduce sidekiq worker for auto merge processShinya Maeda
As we have a central domain for auto merge process today, we should use a single worker for any auto merge process.
2019-06-03Abstract auto merge processesShinya Maeda
We have one auto merge strategy today - Merge When Pipeline Succeeds. In order to add more strategies for Merge Train feature, we abstract the architecture to be more extensible. Removed arguments Fix spec
2019-06-03Make pipeline schedule worker resilientShinya Maeda
Currently, pipeline schedule worker is unstable because it's sometimes killed by excessive memory consumption. In order to improve the performance, we add the following fixes: 1. next_run_at is always real_next_run, which means the value always takes into account of worker's cron schedule 1. Remove exlusive lock. This is already covered by real_next_run change. 1. Use RunPipelineScheduleWorker for avoiding memory killer. Memory consumption is spread to the multiple sidekiq worker.
2019-05-29Add wiki size to project statisticsPeter Marko
2019-05-21Add GitDeduplicationService for deduplication housekeepingJohn Cai
GitDeduplicationService performs idempotent operations on deduplicated projects.
2019-05-21Expire pipeline cache on finishMatija Čupić
2019-05-20Remove remove_disabled_domains feature flagVladimir Shushlin
2019-05-17Stop configuring group clusters on creationTiger
Immediate configuration is not ideal for group and instance level clusters as projects that may never be deployed would still have Kubernetes namespaces and service accounts created for them. As of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/25586 we now create only the resources that are required for the project being deployed, at the time of deployment.
2019-05-16Include MR information if possible when emailing notification of closing an ↵Michał Zając
issue
2019-05-09Change DetectRepositoryLanguagesWorker to not receive userDiego Silva
Fixes #60425
2019-05-03Add gitlab-managed option to clusters formMayra Cabrera
When this option is enabled, GitLab will create namespaces and service accounts as usual. When disabled, GitLab wont create any project specific kubernetes resources Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56557
2019-05-03Use git_garbage_collect_worker to run pack_refsJan Provaznik
PackRefs is not an expensive gitaly call - we want to call it more often (than as part of full `gc`) because it helps to keep number of refs files small - too many refs file may be a problem for deployments with slow storage.
2019-04-30Remove disabled pages domainsVladimir Shushlin
Domain will be removed by verification worker after 1 week of being disabled
2019-04-30DELETE clusters/:id/:application endpointThong Kuah
Add endpoint to delete/uninstall a cluster application
2019-04-30Services to uninstall cluster applicationThong Kuah
+ to monitor progress of uninstallation pod
2019-04-29Merge branch 'lock-pipeline-schedule-worker' into 'master'Stan Hu
Prevent concurrent execution of PipelineScheduleWorker Closes gitlab-com/gl-infra/production#805 See merge request gitlab-org/gitlab-ce!27781
2019-04-29Port changes for design management to CEBob Van Landuyt
This ports the changes from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10462/ to CE
2019-04-28Prevent concurrent execution of PipelineScheduleWorkerShinya Maeda
Currently, PipelineScheduleWorker is fired in a short period on our production server. We can stop this behavior by locking the execution thread with in_lock method.
2019-04-27Add deployment events to chat notification servicesJason Goodman
This enables sending a chat message to Slack or Mattermost upon a successful, failed, or canceled deployment
2019-04-17Merge branch ↵Kamil Trzciński
'60500-disable-jit-kubernetes-resource-creation-for-project-level-clusters' into 'master' Disable JIT Kubernetes resource creation for project level clusters Closes #60500 See merge request gitlab-org/gitlab-ce!27352
2019-04-16Disable JIT resource creation for project clustersTiger
JIT resource creation blocks deployments if a user is self-managing their cluster, as it will fail the build if unable to create a namespace and service account. Using a custom namespace and service account was previously supported for project level clusters, so we should preserve this functionality. https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/27352
2019-04-15Properly expire all pipeline caches when pipeline is deletedStan Hu
When deleting a pipeline, only some of the cache structures were being expired, but not the full pipeline list. We have to synchronously schedule a pipeline cache expiration because the pipeline will be deleted if the Sidekiq expiration job picks it up. To do this, properly extract all the logic buried in the Sidekiq worker into a service, and then call the service. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60469
2019-04-11Merge branch 'limit-amount-of-created-pipelines' into 'master'Grzegorz Bizon
Process at most 4 pipelines during push See merge request gitlab-org/gitlab-ce!27205
2019-04-10Externalize strings in app/workersMartin Wortschack
- email_receiver_worker - object_storage/migrate_uploads_worker - Update PO file
2019-04-10Process at most 4 pipelines during pushKamil Trzciński
This adds a limitation that we will try to create pipeline for at most 4 first changes (branches and tags). This does not affect processing of Pipelines for Merge Requests, as each updated MR will have associated pipeline created.
2019-04-09Merge branch '43263-git-push-option-to-create-mr' into 'master'Nick Thomas
Git push options to create a merge request, set target_branch and set merge when pipeline succeeds Closes #53198 and #43263 See merge request gitlab-org/gitlab-ce!26752
2019-04-09Merge branch 'delay-update-statictics' into 'master'Douwe Maan
Fix the bug that the project statistics is not updated See merge request gitlab-org/gitlab-ce!26854
2019-04-09Use Gitlab::PushOptions for `ci.skip` push optionLuke Duncalfe
Previously the raw push option Array was sent to Pipeline::Chain::Skip. This commit updates this class (and the chain of classes that pass the push option parameters from the API internal `post_receive` endpoint to that class) to treat push options as a Hash of options parsed by GitLab::PushOptions. The GitLab::PushOptions class takes options like this: -o ci.skip -o merge_request.create -o merge_request.target=branch and turns them into a Hash like this: { ci: { skip: true }, merge_request: { create: true, target: 'branch' } } This now how Pipeline::Chain::Skip is determining if the `ci.skip` push option was used.
2019-04-05Refactor: extract duplicate steps to a service classHiroyuki Sato
2019-04-04Allow reactive caching to be used in servicesReuben Pereira
Add support for defining a reactive_cache_worker_finder function that will be used by the reactive_caching_worker to generate/initialize the calling object. This allows reactive caching to work with Services where the object cannot be obtained from DB but a new object can be initialized.
2019-04-04Update the project statistics immediatellyHiroyuki Sato
2019-04-04Refactor project_cache_worker_keyHiroyuki Sato