Age | Commit message (Collapse) | Author |
|
Ruby 2.7 made some deprecation warnings verbose and they become visible to users e.g.:
remote: gitlab-gitaly/ruby/gitlab-shell/lib/httpunix.rb:15: warning: URI.unescape is obsolete
remote: gitlab-gitaly/ruby/gitlab-shell/lib/gitlab_net.rb:63: warning: Passing the keyword argument as the last hash parameter is deprecated
remote: gitlab-gitaly/ruby/gitlab-shell/lib/http_helper.rb:98: warning: The called method `post' is defined here
remote: gitlab-gitaly/ruby/gitlab-shell/lib/httpunix.rb:15: warning: URI.unescape is obsolete
remote: gitlab-gitaly/ruby/gitlab-shell/lib/httpunix.rb:15: warning: URI.unescape is obsolete
Fix the warnings.
TESTS: unittests, manually by pushing to a gitlab server
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
|
|
Fix build-git target on musl-based systems
See merge request gitlab-org/gitaly!2171
|
|
Update config.toml.example to use `gitlab.url`
See merge request gitlab-org/gitaly!2240
|
|
https://gitlab.com/gitlab-org/gitaly/-/commit/87b8dde88db42036d6c03b5537e7ee9b720c1aa5
|
|
Upgrade to Git 2.27
See merge request gitlab-org/gitaly!2237
|
|
- update Docker base image
- update CI testing matrix
Part of: https://gitlab.com/gitlab-org/gitaly/-/issues/2829
|
|
failover: Default to enabling SQL strategy
Closes #2682
See merge request gitlab-org/gitaly!2218
|
|
Revert "Merge branch 'jc-deprecate-gitlab-shell-yml' into 'master'"
See merge request gitlab-org/gitaly!2235
|
|
This reverts commit 414c9b7c075bae42bd929be7e5abfee52770bfe6, reversing
changes made to 3b0d832d1d7162528d35171516969509beee7ead.
|
|
Remove usage of gitlab shell yml
Closes #2182
See merge request gitlab-org/gitaly!2168
|
|
Since we are now passing values from gitaly's config.toml to gitlab
shell hooks through an environment variable, we can deprecate usage of
the legacy yml file.
|
|
Dependency inject gitlab api
See merge request gitlab-org/gitaly!2214
|
|
|
|
|
|
Bump Ruby to v2.6.6
See merge request gitlab-org/gitaly!2231
|
|
This matches the version used in GitLab:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/33253
|
|
Clean configured storage paths
See merge request gitlab-org/gitaly!2223
|
|
Praefect: move of models package
Closes #2613
See merge request gitlab-org/gitaly!2228
|
|
[ci skip]
|
|
Cleans configured storage paths to ensure the paths are well-
formed.
|
|
Given the SQL strategy is a reasonable default, and tested well enough,
this change makes the SQL strategy the preferred strategy. This was
`local`, which creates dataloss scenarios when multiple Praefects are
behind a load balancer.
Additionally, this changes behaviour around the read only feature. This
would default to being enabled. Currently availability is favoured over
consistency. Now this is flipped.
Fixes: https://gitlab.com/gitlab-org/gitaly/-/issues/2682
|
|
Praefect gauge for replication jobs scoped by storage
Closes #2780
See merge request gitlab-org/gitaly!2207
|
|
|
|
Use default puma socket in example config
See merge request gitlab-org/gitaly!2213
|
|
After removal of Datastore struct it make sense to move
entities of the models package into config package.
As it is has only a configuration purpose.
As well 'node' configuration removed from Config as it is
not used anymore.
Closes: https://gitlab.com/gitlab-org/gitaly/-/issues/2613
|
|
Check auth before limit handler
Closes #2815
See merge request gitlab-org/gitaly!2221
|
|
[ci skip]
|
|
Remove outdated comment about alternates sync
See merge request gitlab-org/gitaly!2220
|
|
|
|
This comment links to an issue that's closed, referring:
https://gitlab.com/gitlab-org/gitaly/-/issues/1674#note_251566094.
Which points to https://gitlab.com/gitlab-org/gitaly/-/issues/2016,
itself closed too.
|
|
Praefect migration to drop gitaly_ tables
Closes #2796
See merge request gitlab-org/gitaly!2217
|
|
Allow danger to fail
See merge request gitlab-org/gitaly!2225
|
|
|
|
|
|
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
|
|
Praefect: removal of unnecessary Datastore wrapper
See merge request gitlab-org/gitaly!2222
|
|
Datastore is not needed anymore because of introduction of
nodes.NewManager. Now it is responsible for managing nodes.
Also Queue interface removed as unnecessary and replaced
with ReplicationEventQueue.
Part of: https://gitlab.com/gitlab-org/gitaly/-/issues/2613
|
|
|
|
Praefect: same storage name can't be used for different virtual storages
See merge request gitlab-org/gitaly!2215
|
|
As there was a rename of the tables in migrations after
migrations were applied all tables with old names are
still present on the envs.
New migration removes old tables with 'gitaly_' prefix
if they are still exist.
Closes: https://gitlab.com/gitlab-org/gitaly/-/issues/2796
|
|
[ci skip]
|
|
[ci skip]
|
|
[ci skip]
|
|
In order to exclude usage of Datastore struct as not actual anymore
migration to replication queue is node and set of virtual storages
is provided from outside in time of creation of replication manager.
Part of: https://gitlab.com/gitlab-org/gitaly/-/issues/2613
|
|
Praefect graceful stop
See merge request gitlab-org/gitaly!2210
|
|
In order to reduce usage of global configuration
Bootstrap struct changed to accept duration as
parameter.
That was a cause of adding a new configuration setting
to praefect configuration file, because previously it
used default value of 1m configured for gitaly.
|
|
gRPC proto registry can be lock free
See merge request gitlab-org/gitaly!2209
|
|
Remote branches via ls-remote is now a toggle
See merge request gitlab-org/gitaly!2183
|
|
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
|
|
The Registry of proto files free of locks as it
fully initialized by constructor before usage.
Creation of Registry for each test makes no sense
and to make them more consistent the global
protoregistry.GitalyProtoPreregistered is used.
|