200 Commits

Author SHA1 Message Date
Milan Pavlik
874a6b5511 [public-api] Validate Workspace ID is a UUID 2022-12-20 13:34:29 -03:00
Andrea Falzetti
50caba2cda add run-gp layer to certain users
Co-authored-by: Anton Kosyakov <anton@gitpod.io>
Co-authored-by: Victor Nogueira <victor@gitpod.io>
2022-12-20 09:22:29 -03:00
Milan Pavlik
84f5b2d04d Revert "[configcat] Stop logging info messages"
This reverts commit fbac9a213f6406a704d669245c0fb892a1e6cb16.
2022-12-14 07:20:23 -03:00
Milan Pavlik
fbac9a213f [configcat] Stop logging info messages 2022-12-14 00:27:23 -03:00
mustard
f4ea3a56a1 Revert "Revert "[supervisor] use public api in supervisor""
This reverts commit 44dfc5e19be3b89d96ab25f2f83476d57aa7b8ef.
2022-12-12 09:05:22 -03:00
Huiwen
44dfc5e19b Revert "[supervisor] use public api in supervisor"
This reverts commit f3fcfbf003425f947bf3a0a28e452709623b6d74.
2022-12-09 08:21:19 -03:00
mustard
f3fcfbf003 [supervisor] use public api in supervisor
Co-authored-by: mustard <mhqnwt@gmail.com>
Co-authored-by: Anton Kosyakov <anton@gitpod.io>
Co-authored-by: Jean Pierre <jeanp413@hotmail.com>
Co-authored-by: iQQBot <tianshi8650@gmail.com>
2022-12-08 17:48:18 -03:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Milan Pavlik
114a3bd1b4 [oidc] Add stub RPCs 2022-12-07 05:05:17 -03:00
Milan Pavlik
00c77a9d85 [configcat] Log at error level only in Golang client 2022-11-30 13:16:59 -03:00
Pudong Zheng
0d08d0b9b3 [common] Improve log time accuracy 2022-11-29 05:12:58 -03:00
Milan Pavlik
265f6f8746 [configcat] Set UserID as a custom attribute on configcat user data 2022-11-23 05:09:53 -03:00
Laurie T. Malau
ee08e7863c [db] Move db models to gitpod-db/go module 2022-11-21 08:37:50 -03:00
Jan Keromnes
e97e8e91b4 [usage] Address nits from https://github.com/gitpod-io/gitpod/pull/14485 2022-11-16 13:29:45 +02:00
Milan Pavlik
e4daab98a4 [common-go] Move base database connection & types to common-go 2022-11-16 10:59:45 +02:00
Milan Pavlik
d9bd0bf619 [public-api] Add test for CreateToken when feature flag enabled 2022-11-15 17:25:45 +02:00
Milan Pavlik
bc3efb28bd [common-go] Add experiments test client 2022-11-15 15:29:45 +02:00
Laurie T. Malau
98e6fe730c [public api] Use tokens feature flag 2022-11-15 14:36:45 +02:00
Pudong Zheng
a4ffeb8cb5 [openvsx-proxy] support dynamic upstream url 2022-11-14 13:18:44 +02:00
Manuel Alejandro de Brito Fontes
4a13cd940c Adjust livenessProbe timeouts 2022-10-28 08:24:02 +02:00
Thomas Schubart
5f56949463 [ws-daemon] Scrape psi conditionally 2022-10-21 10:42:36 +02:00
Thomas Schubart
b75f878e29 [psi] Add comment and clean up test files 2022-10-21 10:42:36 +02:00
Thomas Schubart
785193ef65 [common-go] Add test for reading psi values 2022-10-21 10:42:36 +02:00
Thomas Schubart
cf257cfe9c [common-go] Change cgroup package name 2022-10-21 10:42:36 +02:00
Thomas Schubart
183ec3cae3 [ws-daemon] Plugin for PSI metrics 2022-10-21 10:42:36 +02:00
Thomas Schubart
3018a7619b [common-go] Support reading of PSI metrics 2022-10-21 10:42:36 +02:00
utam0k
d46531d51c log: Add a test case for redact. 2022-10-21 03:47:36 +02:00
Sven Efftinge
fef62f3e9e [supervisor] shutdown processes gracefully 2022-10-07 13:09:22 +02:00
Manuel Alejandro de Brito Fontes
d5eb5815b5 Update to 1.19 2022-10-04 15:17:22 +02:00
Manuel Alejandro de Brito Fontes
3f6cbd07f1 Update go dependencies 2022-10-04 15:17:22 +02:00
Christian Weichel
174a09222f Revert "Run go work sync"
This reverts commit 6b23167e09f74062b31150d4044a8fe7cacbc34b.
2022-09-29 05:28:29 +02:00
ArthurSens
b50ebe734e common-go: Add code line to all emitted logs
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-09-28 23:37:29 +02:00
Christian Weichel
6b23167e09 Run go work sync 2022-09-28 08:45:28 +02:00
Anton Kosyakov
8af104c2c4 [baseserver] do not log error when the server successfully closes 2022-09-26 14:14:27 +02:00
Milan Pavlik
6f461f5714 [baseserver] Track metrics for HTTP requests automatically 2022-09-20 09:05:21 +02:00
JenTing Hsiao
13cccd8324 Force all the values redacted once one of the values matches redact fields
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-17 04:09:17 +02:00
Milan Pavlik
42224aeee9 [baseserver] Add metric with version of the server, use in public api and usage 2022-09-16 14:20:17 +02:00
JenTing Hsiao
cd0247a7ce Redact the rest values once the previous one matches redact fields
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-15 11:37:16 +02:00
Sven Efftinge
8b8ffda181 [grpc] log stack on panic 2022-09-07 12:10:22 +02:00
Thomas Schubart
2d7e29c9e2 [ws-daemon] Include time unit and use struct for map 2022-08-24 14:14:40 +02:00
Thomas Schubart
4fe7402203 [ws-daemon] Plugin for setting up network limits 2022-08-24 14:14:40 +02:00
Thomas Schubart
a35deebe83 [common] Exend unit test for cpu.max 2022-08-24 13:22:40 +02:00
Thomas Schubart
ec7a0d4c9e [ws-daemon] Prevent divide by zero error 2022-08-24 13:22:40 +02:00
Pavel Tumik @ GitPod
c8c906e278 replace os.IsNotExist with errors.Is(err, fs.ErrNotExist) 2022-08-24 03:35:40 +02:00
Manuel Alejandro de Brito Fontes
438ffab694 Update k8s dependencies to v0.24.4 2022-08-23 08:18:39 +02:00
Manuel Alejandro de Brito Fontes
7b4a885ee3 Update k8s dependencies to v0.24.3 2022-08-23 08:18:39 +02:00
Manuel Alejandro de Brito Fontes
9500ed33eb Remove duplication of parsing SUPERVISOR_ADDR 2022-08-11 01:40:54 +02:00
Andrew Farries
1199c4e7bd Set baseserver gRPC max receive message size
Allow the gRPC server to receive messages up to 100MB in size.
2022-08-09 16:57:53 +02:00
Anton Kosyakov
01487c9a61 [supervisor] fix gitpod config changed analytics 2022-08-09 09:54:53 -03:00
Manuel Alejandro de Brito Fontes
4e941c628a [common-go] Remove unused WorkspaceSupervisorEndpoint helper 2022-08-08 20:02:52 -03:00