GitLab Bot
811f549164
Add latest changes from gitlab-org/gitlab@master
2021-10-19 09:09:54 +00:00
GitLab Bot
b794758ce4
Add latest changes from gitlab-org/gitlab@master
2021-05-20 09:10:30 +00:00
GitLab Bot
b4e854a900
Add latest changes from gitlab-org/gitlab@master
2021-02-16 15:09:50 +00:00
GitLab Bot
89b770bb38
Add latest changes from gitlab-org/gitlab@master
2021-02-08 18:09:49 +00:00
GitLab Bot
df40cd1c38
Add latest changes from gitlab-org/gitlab@master
2020-11-19 21:09:07 +00:00
GitLab Bot
8d96319c80
Add latest changes from gitlab-org/gitlab@master
2020-07-01 00:09:02 +00:00
GitLab Bot
c59765a50a
Add latest changes from gitlab-org/gitlab@master
2020-06-24 18:09:03 +00:00
GitLab Bot
5abd2b70c8
Add latest changes from gitlab-org/gitlab@master
2020-05-21 00:08:06 +00:00
GitLab Bot
e33f87ac0f
Add latest changes from gitlab-org/gitlab@master
2020-04-21 15:21:10 +00:00
GitLab Bot
411cc77938
Add latest changes from gitlab-org/gitlab@master
2020-01-24 18:09:00 +00:00
GitLab Bot
a5ab3467a7
Add latest changes from gitlab-org/gitlab@master
2020-01-13 15:07:53 +00:00
GitLab Bot
3ad11f24ca
Add latest changes from gitlab-org/gitlab@master
2019-12-22 09:07:51 +00:00
GitLab Bot
9763c08170
Add latest changes from gitlab-org/gitlab@master
2019-12-17 03:07:45 +00:00
GitLab Bot
d10a462fed
Add latest changes from gitlab-org/gitlab@master
2019-12-16 12:07:43 +00:00
GitLab Bot
8cc5f27909
Add latest changes from gitlab-org/gitlab@master
2019-12-13 12:07:41 +00:00
GitLab Bot
175b4fa261
Add latest changes from gitlab-org/gitlab@master
2019-12-11 18:08:10 +00:00
GitLab Bot
4e375367b7
Add latest changes from gitlab-org/gitlab@master
2019-12-07 00:07:51 +00:00
GitLab Bot
18a102a5b9
Add latest changes from gitlab-org/gitlab@master
2019-11-08 03:06:48 +00:00
GitLab Bot
f7a13c56bf
Add latest changes from gitlab-org/gitlab@master
2019-11-01 09:06:47 +00:00
GitLab Bot
e95a97594a
Add latest changes from gitlab-org/gitlab@master
2019-10-25 21:06:20 +00:00
GitLab Bot
81f7adf08b
Add latest changes from gitlab-org/gitlab@master
2019-09-19 18:06:18 +00:00
Ash McKenzie
124bad7bd8
Use stub_rails_env for Rails.env stubbing
...
RailsHelpers.stub_rails_env takes care of
stubbing Rails.env
2019-09-05 12:54:03 +10:00
John Cai
ebbd2aeb5f
Handle when server info doesn't have the storage in question
2019-08-23 08:42:00 -07:00
Stan Hu
3b76d2982f
Fix exception handling in Gitaly autodetection
...
In SELinux, the file cannot be written, and `Errno::EACCES`, not
`Errno::ACCESS` is thrown.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/65328
2019-07-30 07:03:45 -07:00
Stan Hu
ec5ceae623
Fix Gitaly auto-detection caching
...
If `GitalyClient#can_use_disk?` returned `false`, it was never cached
properly and led to excessive number of Gitaly calls. Instead of using
`cached_value.present?`, we need to check `cached_value.nil?`.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64802
2019-07-19 10:03:41 -07:00
John Cai
c77d7837bb
Remove catfile cache feature flag
2019-07-15 11:32:56 -07:00
Zeger-Jan van de Weg
968674e417
Move Gitaly feature flag logic to Feature::Gitaly
...
The GitalyClient held a lot of logic which was all very tightly coupled.
In this instance the feature logic was extracted to make it do just a
little less and create a bit more focus in the GitalyClient's
responsibilies.
2019-06-18 13:18:18 +02:00
John Cai
fe31f63ce8
Add gitaly session id & catfile-cache feature flag
2019-04-29 07:21:36 +00:00
Mark Lapierre
b3f54b3d8e
Add feature flag to enforce gitaly request limits
...
We typically don't want to enforce request limits in production
However, we have some production-like test environments, i.e., ones
where `Rails.env.production?` returns `true`. We do want to be able
to check if the limit is being exceeded while testing in those
environments.
2019-03-11 21:15:03 +00:00
Valery Sizov
e3cacb95a8
Add connection_data method to Gitaly client
...
Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/7434
2019-01-25 14:16:42 +02:00
Ahmad Hassan
907f0ce8a2
More tls gitaly docs
2018-12-21 18:06:46 +02:00
Ahmad Hassan
d975074e1f
Log certificate loading errors into sentry
2018-12-20 18:24:53 +02:00
Ahmad Hassan
32c4f70aa5
Followups on review
2018-12-19 15:19:43 +02:00
Ahmad Hassan
dfc54352c0
Merge remote-tracking branch 'origin/master' into support-gitaly-tls
2018-12-11 16:48:26 +02:00
Zeger-Jan van de Weg
5c131dac5e
Fix bug where ID is not set
...
On HEAD~ we remove the ID from the class, which created a bug. Given we
don't need the ID anymore, it has been removed and simplified.
2018-11-20 13:40:45 +01:00
Zeger-Jan van de Weg
16346eb5b9
Revert "Merge branch 'revert-e2aa2177' into 'master'"
...
This reverts merge request !23229
2018-11-20 12:29:56 +00:00
Sean McGivern
2742b871fe
Revert "Merge branch 'zj-improve-gitaly-pb' into 'master'"
...
This reverts merge request !23140
2018-11-20 10:36:52 +00:00
Zeger-Jan van de Weg
4ca5eadddb
Remove duplicate tests for Gitaly
...
The disabling of Gitaly was basically stubbing `Feature.enabled?` call,
which was never triggered.
2018-11-19 14:40:53 +01:00
Ahmad Hassan
08a57fe828
Add more specs
2018-10-31 15:43:05 +02:00
Ahmad Hassan
b8ab35d6fe
Add gitaly client specs
2018-10-31 15:20:39 +02:00
Stan Hu
8671261309
Add a gRPC health check to ensure Gitaly is up
...
This will enable Geo to skip shards that not operational.
Relates to gitlab-org/gitlab-ee#4329
2018-01-24 15:47:27 -08:00
Alejandro Rodríguez
11247ac97c
Move encoding methods to the more general EncodingHelper
2017-12-28 12:32:33 -03:00
Andrew Newdigate
64e5f996fa
Add timeouts for Gitaly calls
2017-11-29 09:12:12 +00:00
Andrew Newdigate
27cc1c2b28
Fix for Gitaly nil encoding issue
2017-10-03 08:03:19 +00:00
Andrew Newdigate
64d7ec0a9e
Detect n+1 issues involving Gitaly
2017-09-19 10:55:37 +00:00
Andrew Newdigate
94680e1448
Gitaly feature toggles are on by default in development environments
2017-09-07 17:39:00 +00:00
Rémy Coutable
ddccd24c13
Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Andrew Newdigate
a89f18bf2c
Renamed Gitaly services
2017-07-18 07:59:36 +00:00
Robert Speicher
a6ec5121f0
Correct RSpec/SingleLineHook cop offenses
2017-06-14 13:18:56 -05:00
Alejandro Rodríguez
671284ba37
Add feature toggles through Flipper
2017-05-31 21:06:01 +00:00