116 Commits

Author SHA1 Message Date
Wouter Verlaek
185c0428c2
[scrubber] Improve KeyValue performance (#19052)
* [scrubber] Improve KeyValue performance

* Update benchmark comment

* update go mod

* Add metaID to hashed fields

---------

Co-authored-by: Pudong Zheng <pudong@gitpod.io>
2023-11-10 16:17:48 +02:00
Manuel Alejandro de Brito Fontes
8ef82ff356
Update go modules to 1.21 (#18805) 2023-09-26 17:52:05 +03:00
Manuel Alejandro de Brito Fontes
513ca768f6
Update buildkit to v0.12.1 (#18505)
* Update buildkit to v0.12.1

* Update DisplaySolveStatus signature

* Switch to github.com/containerd/typeurl/v2
2023-08-15 09:17:40 +02:00
Manuel Alejandro de Brito Fontes
61f89f8436
Update go modules (#18372) 2023-07-28 16:20:30 +08:00
Manuel Alejandro de Brito Fontes
54c2040632
Update go modules to 1.20 (#18360) 2023-07-27 22:24:29 +08:00
Anton Kosyakov
d4592d44d4
fix EXP-19: allow access to supervisor logs within a workspace (#18322) 2023-07-20 22:33:36 +08:00
Pudong
9bb400b0e8
[supervisor] improve docker activation (#18284)
* Revert "Revert "[supervisor] improve docker activation (#18143)" (#18236)"

This reverts commit 9b21205074aff9fb4474354195e77b8827fdf7aa.

* only start docker activation if content is ready
2023-07-17 17:11:33 +08:00
Filip Troníček
9b21205074
Revert "[supervisor] improve docker activation (#18143)" (#18236)
This reverts commit 0f9d3192fbba4922d122fefd4d6e070f56efb551.
2023-07-11 20:29:28 +08:00
Anton Kosyakov
0f9d3192fb
[supervisor] improve docker activation (#18143)
* [supervisor] fix leaking docker sockets

* [supervisor] remote outcome for gitpod_activate_docker

* [supervisor] don't log expected docker activation socket errors

* [supervisor] add max retries on exit code errors

* only notification if not in headless and logFile successful created

* move retry logic to listener

* change max retry attempts

* ignore canceled error

* add sleep

---------

Co-authored-by: Pudong Zheng <tianshi8650@gmail.com>
2023-07-11 17:50:28 +08:00
Manuel Alejandro de Brito Fontes
57c605ddc4
Cleanup scrubber go module dependency (#18149) 2023-07-04 16:37:21 +08:00
Anton Kosyakov
f580e6bd00
fix SID-285: hook scrubber as logrus formatter (#17781) 2023-06-29 17:16:47 +08:00
Pudong
c1e80f5f8d
Support forward https protocol port (#16547)
* introduce this feature to user

* use tcp proxy
2023-05-31 14:41:05 +08:00
Huiwen
6474e9f25e
Revert "use nftPortForwarder" (#17690)
it will cause port not accessible if it only listen on localhost
2023-05-22 16:38:56 +08:00
Pudong
176393a0c8
Add support to forward https protocol port (#17644)
* add support to forward https protocol port

* Update components/ws-proxy/pkg/proxy/routes.go

Co-authored-by: Kyle Brennan <kyle@gitpod.io>

---------

Co-authored-by: Kyle Brennan <kyle@gitpod.io>
2023-05-19 15:22:53 +08:00
Manuel Alejandro de Brito Fontes
891cd5417d
Update k8s dependencies to v0.26.2 (#17211)
* Update k8s dependencies to v0.26.2

* Update controller-runtime to v0.14.6

* Update cloud storage
 https://github.com/googleapis/google-cloud-go/issues/6857

* Update copy options

* Update wolfi image

* Remove controller-runtime replace directives

* Fix integration tests
2023-04-18 03:59:49 +08:00
Manuel Alejandro de Brito Fontes
27979c9395
Update go dependencies (#17101)
* Update go dependencies

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>

* Update runc to v1.1.5

* Update docker cli to v23.0.2+incompatible

---------

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
2023-04-12 10:03:52 +02:00
Manuel Alejandro de Brito Fontes
846510d06b
Fix supervisor memory and CPU stats (#16861)
* Fix supervisor memory and CPU stats

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>

* Update supervisor go modules

---------

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
2023-03-27 16:33:25 +02:00
Anton Kosyakov
f260c31439
[rebuild] decoule IDE env vars from registry-facade (#16812)
by moving in supervisor-ide-config.json
2023-03-13 13:24:48 +01:00
Milan Pavlik
e4e05143e2
[baseserver] Initialize tracer with server (#16586)
* [baseserver] Initialize tracer with server

* fix

* Fix

* fix
2023-03-03 14:57:01 +01:00
Manuel Alejandro de Brito Fontes
b336a5cb65 Update go dependencies 2023-02-10 09:24:15 +01:00
JenTing Hsiao
6794550e21 Update go modules
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2023-01-19 09:59:26 +01:00
Anton Kosyakov
697696029b [gp-run] experimental workspace config debug mode
Co-authored-by: Anton Kosyakov <anton@gitpod.io>
Co-authored-by: Victor Nogueira <victor@gitpod.io>
Co-authored-by: Andrea Falzetti <andrea@gitpod.io>
2023-01-09 06:32:48 +01:00
Jean Pierre
6f29dd45b4 Set default cols and rows when creating a pty
Align attributes with node-pty

Related https://github.com/gitpod-io/gitpod/issues/8055
2022-12-20 05:46:29 -03:00
mustard
f4ea3a56a1 Revert "Revert "[supervisor] use public api in supervisor""
This reverts commit 44dfc5e19be3b89d96ab25f2f83476d57aa7b8ef.
2022-12-12 09:05:22 -03:00
Christian Weichel
799e6059c4 [content-service] Implement support for S3 2022-12-09 10:29:19 -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
Sven Efftinge
fef62f3e9e [supervisor] shutdown processes gracefully 2022-10-07 13:09:22 +02:00
Anton Kosyakov
08a8412774 random exponential backoff of server connections 2022-10-05 11:16:20 +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
Christian Weichel
6b23167e09 Run go work sync 2022-09-28 08:45:28 +02:00
Milan Pavlik
6f461f5714 [baseserver] Track metrics for HTTP requests automatically 2022-09-20 09:05:21 +02:00
mustard
95fa4439e5 [gp-cli] provide workspace class info in top command 2022-08-30 10:25:14 +02:00
Manuel Alejandro de Brito Fontes
f1c968f665 Remove deprecated test (because gsutil) 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
JenTing Hsiao
856371178d Revert "Update k8s dependencies to v0.24.2"
This reverts commit 2911bc3283c2b79aacde0d16bce056de62eb696b.
2022-07-05 11:11:01 +02:00
JenTing Hsiao
b1fd9b6703 Revert "Update docker dependencies"
This reverts commit 02831a9e9e021b2d36942f29c2a64a3531c8e06d.
2022-07-05 11:11:01 +02:00
JenTing Hsiao
4c3ae4ba9a Revert "Remove deprecated test (because gsutil)"
This reverts commit 5cac340917b8bd35b2b31f89f8e452f23c0e1c5a.
2022-07-05 11:11:01 +02:00
Manuel Alejandro de Brito Fontes
5cac340917 Remove deprecated test (because gsutil) 2022-07-05 03:37:52 +05:30
Manuel Alejandro de Brito Fontes
02831a9e9e Update docker dependencies 2022-07-05 03:37:52 +05:30
Manuel Alejandro de Brito Fontes
2911bc3283 Update k8s dependencies to v0.24.2 2022-07-05 03:37:52 +05:30
Thomas Schubart
637f360b70 [supervisor] Use workspace info 2022-06-28 22:45:37 +05:30
Manuel Alejandro de Brito Fontes
6f0bbbf5a2 Update go modules 2022-06-20 20:43:31 +05:30
Manuel Alejandro de Brito Fontes
6efe212447 Update sigs.k8s.io/e2e-framework to v0.0.7 2022-06-07 15:29:17 +05:30
Manuel Alejandro de Brito Fontes
f0bc3586cb Update go modules 2022-05-25 13:18:39 +05:30
Anton Kosyakov
52e422189c [supervisor] fix #9521: add resources endpoint respecting cgroup v1 2022-05-18 13:06:32 +05:30
Milan Pavlik
6b11a82af7 [content-service] Port to use baseserver 2022-05-17 23:52:32 +05:30
Manuel Alejandro de Brito Fontes
bbacba44aa Update go modules 2022-05-12 16:39:27 +05:30
Pudong Zheng
801ac5f52e Add metrics push gateway for supervisor 2022-05-10 19:06:25 +05:30