162 Commits

Author SHA1 Message Date
Anton Kosyakov
6533581a0e [ssh-proxy] only mark first active when user establish ssh connection
VS Code Remote SSH will reestablish a ssh connection even if window is not uesd.
It will retrigger heartbeat over and over in SSH Gateway.
SSH Gateway should only triggert heartbeat if pty sessions is present.

Co-authored-by: Pudong <tianshi8650@gmail.com>
2022-11-09 21:46:39 +02:00
JenTing Hsiao
a4dacef491 ws-manager: add prebuild PVC configuration
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-11-09 14:58:39 +01:00
Andrew Farries
956c97961f Run ws-manager-api typescript tests
The component defines tests but the tests were never run since leeway
was instructed not to to run tests for this component.

Start running the tests and add the necessary dev dependencies to allow
leeway to run them.
2022-11-08 16:33:38 +01:00
Pavel Tumik
17d51f5228 pass workspace type when deleting volume snapshots 2022-11-04 16:14:09 +01:00
Thomas Schubart
7b468c43ef [ws-manager-api] Remove protected secrets from grpc 2022-11-02 21:25:07 +01:00
Andrew Farries
2ede9de6e0 Pass applicationCluster everywhere
Connect the configured installationShortname aka applicationCluster from
server, ws-manager-bridge, and the image-builder-api to workspace
cluster provider.
2022-10-26 17:26:42 +02:00
Andrew Farries
fcf18c43e1 Make client providers filter by app cluster
This reverts commit 17531ae098f1098084e58ce1284a635ee7704483.
2022-10-26 17:26:42 +02:00
Thomas Schubart
8382abc381 [ws-manager-api] Generate grpc for psi 2022-10-21 10:42:36 +02:00
Andrew Farries
dac3b74e8b Revert "Make client providers filter by app cluster"
This reverts commit 83a33cbad6e4acf004ecf475df9bf04c3e50d998.
2022-10-20 13:39:35 +02:00
Andrew Farries
ee54e2c23e Make client providers filter by app cluster 2022-10-20 09:52:35 +02:00
Andrew Farries
975743e715 Update test data 2022-10-17 18:34:32 +02:00
Pudong Zheng
a83040893e [ws-manager] refactory image layers 2022-10-13 20:08:30 +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
000cadead8 Update grpc code 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
Milan Pavlik
8b94c543e9 [ws-manager] Remove Probe workspace type 2022-09-29 10:25:30 +02:00
Christian Weichel
d6023c989a Revert "Switch to Go workspaces"
This reverts commit 6bc34cf17512cb0a10a3a6cce44141b1f06b624e.
2022-09-29 05:28:29 +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
Christian Weichel
6bc34cf175 Switch to Go workspaces 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
Anton Kosyakov
008ea3fadc [jb] prepare to split backend and plugin images 2022-08-30 09:36:14 +02:00
Thomas Schubart
e1faf34708 [ws-manager-api] Add connection limiting feature 2022-08-24 14:14:40 +02:00
Pavel Tumik
07d80c8fa8 add support for aborting workspaces 2022-08-23 20:20: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
Thomas Schubart
e437e18680 [ws-daemon/manager] Use feature flag 2022-08-05 11:42:49 -03:00
Thomas Schubart
b257cd8f2c [ws-manager] Update tests 2022-08-05 11:42:49 -03:00
Thomas Schubart
ee20a83d80 [ws-manager] Add cpu constraint annotations 2022-08-05 11:42:49 -03:00
Thomas Schubart
0571d40d16 [installer] Configure resource limits 2022-08-05 11:42:49 -03:00
Thomas Schubart
4b402429b1 Remove fixed resources 2022-08-04 06:57:48 -03:00
Manuel Alejandro de Brito Fontes
d0e6bd7656 Refactor Manager StartWorkspace 2022-07-22 11:07:17 -03:00
Gero Posmyk-Leinemann
2dc450d595 [protocol, et al] Extract gRPC ClientCallMetrics into protocol 2022-07-20 09:31:15 -03:00
Christian Weichel
65326d58f1 [ws-manager-api] Clean up "ExtendedUser"
after the removal of the has-user-level and
has-more-resources admission constraint
2022-07-15 14:31:02 +02:00
Christian Weichel
76ad6c215e [ws-manager-bridge] Remove HasMoreResources admission constraint
We've moved to workspace classes for this feature.
2022-07-15 14:31:02 +02:00
Gero Posmyk-Leinemann
6ace17b547 [server] Use workspace cluster as image-builder (feature flag: "movedImageBuilder") 2022-07-12 14:40:59 +05:30
Gero Posmyk-Leinemann
87f2e3d395 [image-builder] Format sugar.ts 2022-07-12 14:40:59 +05:30
Christian Weichel
3518346650 [ws-manager] Ship env vars as secret 2022-07-06 19:22:53 +05:30
JenTing Hsiao
856371178d Revert "Update k8s dependencies to v0.24.2"
This reverts commit 2911bc3283c2b79aacde0d16bce056de62eb696b.
2022-07-05 11:11:01 +02:00
Manuel Alejandro de Brito Fontes
2911bc3283 Update k8s dependencies to v0.24.2 2022-07-05 03:37:52 +05:30
Thomas Schubart
d537b24994 [installer] Add display name to workspace class 2022-06-30 21:26:38 +05:30
Thomas Schubart
347ed6bfc2 [manager-api] Introduce endpoint for cluster info 2022-06-30 21:26:38 +05:30
Pudong Zheng
fe6e39e3a3 [workspace] support user upload ssh keys
Co-authored-by: Huiwen <huiwen@gitpod.io>
Co-authored-by: Christian Weichel <chris@gitpod.io>
Co-authored-by: Pavel Tumik <18602811+sagor999@users.noreply.github.com>
2022-06-15 22:58:25 +05:30
Thomas Schubart
45b0b45ec0 Make some workspace metadata properties optional 2022-06-15 21:43:25 +05:30
Thomas Schubart
e11e13ec79 Add team and project to workspace request 2022-06-15 21:43:25 +05:30
Pavel Tumik
7a7792f531 volume snapshot delete and restore support, garbage collection 2022-06-15 02:37:25 +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
Pavel Tumik
be4da3eb37 [ws-manager] add config setting that allows to debug workspaces 2022-06-03 21:24:52 +05:30
Mads Hartmann
2823606369 Ensure we close spans 2022-05-28 23:44:47 +05:30
Pavel Tumik
99204170c5 ensure volume snapshot naming consistency 2022-05-25 13:17:39 +05:30