Age | Commit message (Collapse) | Author |
|
The `gitaly_praefect_read_only_repositories` metric has been renamed to
`gitaly_praefect_unavailable_repositories` and is deprecated. This
change removes all references to the deprecated metric.
|
|
Remove snowman parameters from links to issues URL
Closes #4442
See merge request gitlab-org/gitaly!4830
|
|
[ci skip]
|
|
praefect: Add `track-repositories` command
See merge request gitlab-org/gitaly!4845
|
|
A somewhat common way to migrate to Gitaly Cluster it to copy the
contents of an existing storage onto one node of the cluster and
manually track each repository. This is convenient for instances where
the migration must happen as a single 'big bang' with some downtime, vs
the zero-downtime, but much slower method of migrating via the API.
Currently admins can script the `track-repository` to run in a loop when
ingesting large numbers of repositories, but this is inconvenient and
error-prone. To better support this use case, a way to import
repositories in-bulk into Praefect is needed.
This commit add a new `track-repositories` subcommand that takes a JSON
file as input and adds each entry in a single execution.
Changelog: added
|
|
In preparation for a new Praefect subcommand that will track many
repositories in a single request, convert `track-repository` to use a
`trackRepositoryRequest` struct internally.
This will allow us to re-use this code when looping over multiple
requests.
|
|
Currently most output from the `track-repository` subcommand is made via
the commands writer, but a subset is done via logger. This leads to an
inconsistent format where some output is plaintext, while other messages
are in JSON, which is difficult to read.
Let's make this consistent by making all non-debug output use the
writer, which will be simpler to parse for a one-off CLI command.
|
|
Correct spelling of 'executed' in help string for `track-repository`
subcommand.
|
|
Address client issues
Closes #3206
See merge request gitlab-org/gitaly!4846
|
|
|
|
ruby: Update dependency gitlab-labkit to '~> 0.24'
See merge request gitlab-org/gitaly!4664
|
|
Simplify response type of FindLocalBranches
See merge request gitlab-org/gitaly!4850
|
|
template: Update issue templates
See merge request gitlab-org/gitaly!4837
|
|
[ci skip]
|
|
[ci skip]
|
|
[ci skip]
|
|
README: Add Praefect walkthrough video to training section
See merge request gitlab-org/gitaly!4852
|
|
|
|
New Gitaly team members need access to both Zendesk and gitaly ruby gem.
This change adds these requests to the onboarding issue template.
|
|
The `#g_create_gitaly` Slack channel has been renamed to `#g_gitaly`.
This change updates the feature flag and onboarding issue templates
accordingly.
|
|
[ci skip]
|
|
Do not assume client users want the same tracing interceptors with the same configuration.
|
|
|
|
Using a feature flag 'SimplifyFindLocalBranchesResponse', let's add
'LocalBranches' to the 'FindLocalBranchesResponse' structure. After the
rollout we'll deprecate the usage of 'Branches' field and only use
'LocalBranches'.
Modify the tests to accommodate this new flag.
|
|
Add a new flag 'SimplifyFindLocalBranchesResponse' which will facilitate
the addition of the new response type to 'FindLocalBranchesResponse'.
The new field 'LocalBranches' is meant to deprecate the existing
'Branches' field. The new field is of the generic 'Branch' type.
|
|
In the previous commit (cd071fd027d4dddecf69db4477e2becb25becf59) we
renamed 'assertContainsBranch' to
'assertContainsAllBranchesResponseBranch'. In this commit, let's
introduce a new 'assertContainsBranch' function which checks if a
'gitalypb.Branch' is present in a list of the same type.
|
|
Rename the function 'assertContainsAllBranchesResponseBranch' and its
usecases because its name is not generic enough and we want to
introduce a more generic 'assertContainsBranch' commit in the following
commits.
|
|
go: Update module github.com/rubenv/sql-migrate to v1
See merge request gitlab-org/gitaly!4698
|
|
'master'
Convert UserCreateBranch to use structured errors
Closes #4227
See merge request gitlab-org/gitaly!4835
|
|
Fix flaky tests of the TestGitalyServerFactory test suite
Closes #3916
See merge request gitlab-org/gitaly!4841
|
|
docs: Public Grafana dashboards does not exist any more
See merge request gitlab-org/gitaly!4831
|
|
proto: return 'Branch' in 'FindLocalBranchesResponse'
See merge request gitlab-org/gitaly!4842
|
|
proto: Remove deprecated drift_threshold_millis
Closes #4417
See merge request gitlab-org/gitaly!4843
|
|
This commit utilizes the newly added 'UserCreateBranchError' in the
'UserCreateBranch' function. Since this replaces the old behavior and is
a breaking change because the old behavior would return StatusOk with
the error ingrained, we add this functionality behind a feature flag
introduced in the previous commit (1117a3665).
|
|
Add a new flag to control the release of 'UserCreateBranchError' which
was introduced in the previous
commit (2d7e0ee3598caa9b127864c6bd8956ae80a9b8a9).
This flag will be used in the upcoming commits to enable the use of this
struct and eventually be deprecated once the struct is released and
adopted.
|
|
Add a new message type `UserCreateBranchError`, which will be used to
provide structured errors for the `UserCreateBranch` RPC. This will be
released behind a feature flag.
Currently this structure only holds a single data type within it, i.e.
`CustomHookError`. Potentially can be extended in the future.
Run `make proto` to generate the related proto files from this.
Signed-off-by: Karthik Nayak <knayak@gitlab.com>
|
|
Currently 'FindLocalBranchesResponse' contains 'FindLocalBranchResponse'
which is a custom type drawn over the common 'Branch' type. In due of
deprecating the old and keeping type consistency we introduce
'local_branches' as a new field of type 'Branch'.
In subsequent releases we will deprecate the old
'FindLocalBranchResponse' from 'FindLocalBranchesResponse' and only keep
'Branch' type in it.
|
|
Also performance. is replaced with dashboards.
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
Changelog: other
|
|
|
|
The field is removed as it was deprecated in 8f9dd5ab5
(proto: Introduce drift_threshold to replace
drift_threshold_millis, 2022-08-05) and not used anymore.
Closes: https://gitlab.com/gitlab-org/gitaly/-/issues/4417
|
|
go: Update module gocloud.dev to v0.26.0
See merge request gitlab-org/gitaly!4808
|
|
feat(gitaly-git2go): sign commits with OpenPGP key
See merge request gitlab-org/gitaly!4802
|
|
|
|
Update maintainers
See merge request gitlab-org/gitaly!4838
|
|
|
|
STYLE.md: Discourage the use of seed repos for test data
Closes #4308
See merge request gitlab-org/gitaly!4799
|
|
[ci skip]
|
|
|
|
|
|
license: Extend license find response with additional data
Closes #3782
See merge request gitlab-org/gitaly!4198
|