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

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-18config: update a bin_dir of config.toml.exampleKamil Trzciński
A default usage of `make` does compile binaries in `_build/bin`. To make a `config.toml.example` be easy to use in a default setting this aligns `bin_dir` with this change. If a `make install` is done, a default `DESTDIR=/usr/local/bin` a `bin_dir` needs to be aligned as well.
2021-03-23config: Allow injection of git config via Gitaly's configPatrick Steinhardt
Now that we're moving git configuration into Gitaly, we are starting to discourage users to use the global git configuration to configure git. We must provide a way to inject configuration though to allow customers to inject custom configuration in special situations. This commit thus adds new git configuration which allows users to inject custom git config pairs.
2021-02-12Gitaly config default for maintenance windowPaul Okstad
When the zero value for the maintenance window is provided, Gitaly will use a default maintenance window that runs on all configured storages at +1200 GMT for 10 minutes. This way, all GitLab instances can enjoy optimized repositories. This feature can be overriden by setting "Disabled = true" in the toml config.
2020-12-09Add initial implementation of spawning git inside cgroupsAhmad Sherif
Related to https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/11648
2020-08-26Merge branch 'sh-support-gitlab-shell-relative-path' into 'master'Sami Hiltunen
Fix Git hooks when GitLab relative URL path and UNIX socket in use See merge request gitlab-org/gitaly!2485
2020-08-26Move integration to server factoryPaul Okstad
This moves the integration of the walker and scheduler to the server factory called by the bootstrap process. This is higher up in the call stack than the original location. This also changes the walker to use the client to call the repository service via internal socket.
2020-08-21Fix Git hooks when GitLab relative URL path and UNIX socket in useStan Hu
Previously if GitLab were configured to use a relative URL (e.g. `/gitlab`) and the Gitaly `gitlab.url` configuration used the http+unix:// scheme, the hooks would not be able to contact the API server. We add an explicit `relative_url_root` parameter to make it possible for all connections to go through Workhorse. This commit depends on changes in https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/406. NOTE: This only fixes the Git hooks that are implemented in Go. The Ruby gitlab-shell hooks don't appear to have ever work with GitLab installations using a relative URL when a UNIX domain socket is used. Omnibus installations bypass Workhorse and talk directly to the Web server. Relates to https://gitlab.com/gitlab-org/gitlab-shell/-/issues/476
2020-06-18Refactoring of TLS usagePavlo Strokov
In order to implement proper support of TLS connections for the praefect we require some refactoring of the existing codebase. Mainly it is about moving the things into other places and fixing `config.Config` global var usage where is it accessible as parameter. Part of: https://gitlab.com/gitlab-org/gitaly/-/issues/1698
2020-06-02Update config.toml.example to support ↵Kamil Trzciński
https://gitlab.com/gitlab-org/gitaly/-/commit/87b8dde88db42036d6c03b5537e7ee9b720c1aa5
2020-05-28Use workhorse socket instead of the Rails socketJustin Kromlinger
Reasoning: https://gitlab.com/gitlab-org/gitlab-workhorse/-/blob/master/README.md#quick-facts-how-does-workhorse-work https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/388#note_351164003
2020-05-25Use default puma socket in example configJustin Kromlinger
The unicorn replacement 'puma' uses a unix socket in the example config [1] instead of a tcp port. Using the non-existing tcp port results in "Internal API unreachable" on git operations. [1] https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/puma.rb.example#L34
2020-05-20Revert "Revert "Merge branch 'jc-change-to-hooks' into 'master'""John Cai
This reverts commit 51d96bd920b4f07e87e84fd79c72a9b3c2f9902e.
2020-05-20Revert "Merge branch 'jc-change-to-hooks' into 'master'"Sami Hiltunen
This reverts commit 5a24d9619e2472d70a9ca4fc8d6d5ec7a9fdbffa, reversing changes made to 4cd8d0c5614cafc3ca41f3473004adaeabc77e24.
2020-05-19Move gitlab shell hooks values under [hooks] and [gitlab]John Cai
2020-05-11Fixing gitlab-shell.http-settings portion of config.toml.exampleJohn Cai
2020-05-09Revert "Merge branch 'jc-revert-ee267' into 'master'"John Cai
This reverts commit 5a7280c223690cfff32a47f46930af57aa467c09, reversing changes made to 61dbe2ea087ebe4b5957972c7fb9e55eea1da7c5.
2020-04-23Revert "Merge branch 'jc-deprecate-gitlab-shell-config' into 'master'"John Cai
This reverts commit ee267f173b9ce8db2aaf07491f650bf74894ba31, reversing changes made to 645cf75dfd53e933f26469c25799a59c2a6db564.
2020-04-22Migrate gitlab shell config to gitaly tomlJohn Cai
2019-11-19Allow socket dir for Gitaly-Ruby to be configuredZeger-Jan van de Weg
In case the `/tmp` directory can't be used for security reasons, this can be configured. The default behaviour as in production right now will remain. So if nothing is set, `/tmp` will be reused.
2019-10-02Rename git_config_search_path -> rugged_git_config_search_pathStan Hu
2019-10-02Support configurable Git config search path for RuggedStan Hu
This commit adds an optional `git_config_search_path` parameter for gitaly-ruby. By default, Rugged searches inside `/etc/gitconfig` instead of `/opt/gitlab/embedded/etc/gitconfig` for system-wide options unless the `Rugged::Settings['search_path_system']` is set. This means that important options such as `core.fsyncObjectFiles` are not propagated to gitaly-ruby, which can result in data loss after servers are rebooted. The command-line `git` doesn't have this issue because it uses the `prefix` compile-time option, but this isn't available in Rugged. With this new parameter, package managers (e.g. Omnibus) can specify where the system `gitconfig` file should be. Closes https://gitlab.com/gitlab-org/gitaly/issues/2051
2019-10-02Move the user documentation in GitLab CEAchilleas Pipinellis
2019-06-27Pass down log config through env varsJohn Cai
2019-06-04Make catfile cache size configurableJacob Vosmaer
2018-12-04Add tls configuration to gitaly golang serverAhmad Hassan
2018-10-16Fix order in config.toml.exampleJacob Vosmaer
2018-08-02Add authentication to `config.toml.example`Andrew Newdigate
2018-07-24Lower gitaly-ruby default max_rss to 200MBJacob Vosmaer (GitLab)
2018-05-16Use round robin load balancing instead of 'pick first' for gitaly-rubyJacob Vosmaer (GitLab)
2018-04-26Allow configuration of log levelsZeger-Jan van de Weg
Log level cannot be set for Gitaly, which makes it very verbose in production. This is not a problem, but in a development environment it might be. Especially when other applications log to STDOUT too, details get lost. Closes https://gitlab.com/gitlab-org/gitaly/issues/1156
2018-04-06Send gitaly-ruby exceptions to their own DSNJacob Vosmaer (GitLab)
2018-02-22Send gitaly-ruby exceptions to SentryAhmad Sherif
Closes #988
2017-12-07Restart gitaly-ruby when it uses too much memoryJacob Vosmaer (GitLab)
2017-11-13Implement RepositoryService::FetchSourceBranchJacob Vosmaer (GitLab)
2017-09-30Rate limiterAndrew Newdigate
2017-08-07Add config for gitlab-shellKim "BKC" Carlbäcker
2017-07-27Implement CommitService.CommitLanguagesJacob Vosmaer (GitLab)
2017-07-12Add config to specify a git binary pathAlejandro Rodríguez
2017-06-02Merge branch 'master' of gitlab.com:gitlab-org/gitaly into use-sentryAndrew Newdigate
# Conflicts: # CHANGELOG.md # cmd/gitaly/main.go # config.toml.example
2017-06-02Allow Gitaly to be configured to use histograms for GRPC method callsAndrew Newdigate
2017-05-31Addressed @jacobvosmaer-gitlab’s MR review commentsAndrew Newdigate
2017-05-31Added configurable exception logging to sentry using the raven lib.Andrew Newdigate
2017-05-26Add logrus loggingAndrew Newdigate
2017-04-06Fix mistake in config.toml.exampleJacob Vosmaer
2017-04-06Add config.toml.exampleJacob Vosmaer