Huiwen
306ac3bf98
Add missing protocol property IDE-153 ( #17890 )
...
* Add missing protocol property
* 💄
2023-06-09 23:44:00 +08:00
Anton Kosyakov
9e55fed400
configure BROWSER to use gp open ( #17871 )
...
In order to allow tools to access the browser which rely on it.
2023-06-08 23:06:08 +08:00
Pudong
81b7f9f85a
[supervisor] add grpc_recovery middleware ( #17861 )
2023-06-07 18:29:58 +08:00
Pudong
27b9a40d08
[supervisor] concurrent map writes when terminals close ( #17859 )
...
* [supervisor] concurrent map writes when terminals close
* Update components/supervisor/pkg/terminal/terminal.go
* switch to waitgroup
* remove error in Close
2023-06-07 17:21:57 +08:00
Anton Kosyakov
b9b9065abc
fix IDE-16: run terminal tests with timeout ( #17830 )
2023-06-06 20:22:57 +08:00
Pudong
1a7828ddd0
[supervisor] fix port config nil panic ( #17834 )
2023-06-06 01:10:56 +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
Jean Pierre
6652c98a1a
Add WorkspaceUpdates method ( #17728 )
...
* Add WorkspaceUpdates method
* Replace InstanceUpdates
2023-05-30 23:56:04 +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
Pudong
744eb491bf
[supervisor] Persist bash history across workspace restarts PRD-59 ( #17612 )
...
* persistence command history
* fix test
* addressed feedback
2023-05-15 22:39:00 +08:00
Jean Pierre
293ec4abb7
Directly tunnel websocket connection to ssh server ( #17447 )
...
* Directly tunnel websocket connection to ssh server
* 💄
* 💄
2023-05-13 04:16:57 +08:00
Anton Kosyakov
8f1640ed0b
[supervisor-frontend] fix metrics reporting ( #17361 )
...
* [supervisor-frontend] fix metrics reporting
when workspace URL contains search, hash or path
* ensure that GitpodHostUrl always trim search, hash, path
+ remove unused arg type and function
2023-04-28 02:55:36 +08:00
Filip Troníček
83e56d54d5
Add the Browser Terminal as an IDE ( #17196 )
...
* Add xterm as an IDE
* Move the IDE to our GCP registry 🎉
* Also resolve the source code commit for IDEs in `ide-service`
* Add feature flag
* Xterm => terminal
* Revert "Also resolve the source code commit for IDEs in `ide-service`"
This reverts commit 06aee00959c24469e6fae904394badd4660dd97b.
* always add `<iframe>` to the top of `<body>`
* Add the next non-jb IDE :)
* Add latest image
* Filter out IDEs on the backend (#17324 )
* Address review comments
Never mutate `s.ideConfig` itself and make an in-memory copy of it to not use it every time.
* Pre-compute outside
* Stringify config instead of options
2023-04-24 19:42:45 +08:00
Anton Kosyakov
91d8c41e50
[supervisor] small fixes of previous leftovers ( #17315 )
2023-04-21 17:41:42 +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
Anton Kosyakov
45d1ac8305
[supervisor] log potentially leaking grpc streams ( #17243 )
2023-04-18 03:51: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
Anton Kosyakov
ffa75e5536
[jb] support running tests agaist latest backend version
2023-03-29 09:58:31 +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
Huiwen
260497b107
[supervisor] fix open access control not working when git permission missed ( #16987 )
...
- Update `runAsGitpodUser` to append correct env
- Fix .gitignore make whole supervisor component unsearchable
2023-03-24 14:48:16 +01:00
Pudong
b465d06617
Uniformly use proxy to get the configuration of configcat ( #16942 )
...
* Uniformly use proxy to get the configuration of configcat
* Add configcat enabled in workspace info api
* enabled configcat in ide-service
2023-03-23 11:01:15 +01:00
Pudong
c0d6fa978d
[gitpod-cli] change gp rebuild to gp validate ( #16867 )
...
* [gitpod-cli] change `gp rebuild` to `gp validate`
* fix `await-port` and `forward-port` command backward compatible
* Change the reference to `gp rebuild`
* update `gitpod-web` extension ref 3b076b9103
2023-03-17 06:51:08 +01: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
Jean Pierre
ca02b3f83b
Add custom supervisor metrics ( #16745 )
...
* Add custom supervisor metrics
Co-authored-by: Huiwen <mustard-mh@users.noreply.github.com>
* Add to allowlist
* Normalize error
---------
Co-authored-by: Huiwen <mustard-mh@users.noreply.github.com>
2023-03-10 20:54:46 +01:00
Manuel Alejandro de Brito Fontes
5c7eac6d3e
Allow TLS v1.2 ( #16774 )
2023-03-09 16:34:45 +01:00
Anton Kosyakov
00b723df59
[supservisor] configurable SSH log level ( #16713 )
...
as well rate limit SSH stdout
2023-03-07 19:38:05 +01:00
Pudong
2ff2d88ed0
[supervisor-frontend] only wait supervisor close in debug workspace ( #16700 )
...
* [supervisor-frontend] only wait supervisor close in debug workspace
* [supervisor-frontend] add workspace closed condition
2023-03-07 16:35:05 +01:00
Huiwen
b48dc338f8
Add x-client in ide-metrics component ( #16701 )
...
* [ide-metrics] add to add global client header to metrics
* [ide-metrics] fix default value fallback
* [installer] update ide-metrics configmap
* [supervisor] report metrics with `x-client`
2023-03-07 11:36:04 +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
Huiwen
6f58ed728e
[supervisor] instance update fatal if no permission ( #16620 )
2023-03-01 17:20:59 +01:00
Pudong
884a177f4d
[inner-loop] run Isolated docker in debug workspace ( #16363 )
2023-02-25 04:32:54 +01:00
Anton Kosyakov
b117862d0e
[supervisor] gracefully close public API connection ( #16566 )
...
also log unavailable
2023-02-24 17:52:54 +01:00
Anton Kosyakov
ad26ca1a57
[rebuild] fix 16535: auto manage windows ( #16561 )
2023-02-24 15:52:54 +01:00
Anton Kosyakov
f0d1d1f1ad
[supervisor] analyze image file changes ( #16513 )
2023-02-24 15:19:54 +01:00
Huiwen
46fc709cf6
[supervisor] reconnect to publicapi after 7m ( #16504 )
2023-02-23 09:48:53 +01:00
Anton Kosyakov
44f60692d0
[rebuild] map workspace location properly
2023-02-21 16:33:51 +01:00
Anton Kosyakov
c5dcc42eb9
Revert "[supervisor] improve config watch logging"
...
This reverts commit 224077d6569960e643c553d916cd45cf7d8b3f2c.
2023-02-20 10:22:50 +01:00
Anton Kosyakov
4172d04429
[supervisor] track workspaces with activated docker
2023-02-17 18:49:22 +01:00
Pudong Zheng
232a881cb8
[supervisor-frontend] only send heartbeat when logged user is owner
2023-02-17 18:20:22 +01:00
Huiwen
b16eae0e1d
[supervisor-frontend] implement encryption for code
2023-02-16 14:44:21 +01:00
Pudong Zheng
7197187149
supervisor: only write /dev/termination-log in init or run command
2023-02-10 16:13:15 +01:00
Manuel Alejandro de Brito Fontes
b336a5cb65
Update go dependencies
2023-02-10 09:24:15 +01:00
Huiwen
224077d656
[supervisor] improve config watch logging
2023-02-09 19:18:14 +01:00
Manuel Alejandro de Brito Fontes
609805dc27
Update openssh to v9.2
2023-02-09 18:42:14 +01:00
Huiwen
901dcd26a8
[supervisor-frontend] add open desktop ide entrypoint for browser code
2023-02-09 13:26:14 +01:00
Pudong Zheng
352393456b
gitpod-cli: add analytics
...
Co-authored-by: Andrea Falzetti <andrea@gitpod.io>
2023-02-08 17:43:46 +01:00
Jean Pierre
7ed2514e8f
Add missing stream api metrics
2023-02-06 19:52:44 +01:00
Anton Kosyakov
9b3f8a2cc4
gp rebuild with isolated debug workspace
...
Co-authored-by: Pudong Zheng <tianshi8650@gmail.com>
2023-02-06 14:47:44 +01:00
Manuel Alejandro de Brito Fontes
bcdde44633
Switch from alpine to wolfi
2023-02-05 12:10:43 +01:00