98 Commits

Author SHA1 Message Date
Milan Pavlik
db05a7f5be [server] Typed workspace region 2023-02-10 15:26:15 +01:00
Pudong Zheng
377f00cb02 [ws-manager] Add custom closed timeout
Co-authored-by: Wouter Verlaek <wouter@gitpod.io>
2023-02-10 11:16:15 +01:00
Sven Efftinge
74aa6db6e4 [ws-manager-api] Add region for cluster selection 2023-02-08 10:51:46 +01:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
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
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
Milan Pavlik
8b94c543e9 [ws-manager] Remove Probe workspace type 2022-09-29 10:25:30 +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
Thomas Schubart
e437e18680 [ws-daemon/manager] Use feature flag 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
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
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
Pavel Tumik
88768f6e50 snapshot volume support 2022-05-25 13:17:39 +05:30
Christian Weichel
0150cf8cce [ws-manager] Introduce workspace classes 2022-04-29 14:24:15 +05:30
Manuel Alejandro de Brito Fontes
ab0d69cfea Update generated code 2022-04-25 15:52:37 +05:30
Christian Weichel
0303453c07 Remove checkoutLocation from StartWorkspaceReq 2022-04-08 00:29:21 +05:30
Pavel Tumik
5a62315e27 add PVC feature flag 2022-04-06 01:59:19 +05:30
Manuel Alejandro de Brito Fontes
90fe82a508 Remove ghost from the codebase 2022-02-28 14:17:07 +05:30
Gero Posmyk-Leinemann
caa8a23300 [ws-manager-api, protocol] Slight refactor of cluster selection
1. Generalized cluster selection for "HasPermission" AdmissionConstraints
 Before the "constraintNewWorkspaceCluster" was seen as special case, that also was too general. This way it's straight forward to extend to other permissions

 2. Separated "cluster authorization" into a separate Constraint which is applied to all ClusterSets. Before the authoritzation was more an optimization of the cluster precedence
2022-02-15 10:37:36 +01:00
Gero Posmyk-Leinemann
3a2fb8b5a3 [ws-manager-api] Fix cluster selection 2022-02-03 14:03:25 +01:00
Christian Weichel
b67e3ecdb7 [workspace-cluster] Introduce has-more-resources constraint 2022-02-02 18:46:24 +01:00
Christian Weichel
ecf598ac0e [ws-manager-api] Introduce start cluster preference sets 2022-02-02 18:46:24 +01:00
Manuel Alejandro de Brito Fontes
87e44ed256 [ws-manager-api] Log ws-manager call error 2021-11-19 09:20:16 +01:00
Christian Weichel
9299445090 [ws-manager] Support env vars from secrets 2021-11-12 10:58:09 +01:00
Cornelius A. Ludmann
6509092ad4 [ws-manager] Add supervisor ref to IDEImage 2021-11-11 08:34:08 +01:00
Manuel Alejandro de Brito Fontes
a30a1bff48 Add ExposedPorts message and remove Target and GlobalPort 2021-11-05 10:33:03 +01:00
Gero Posmyk-Leinemann
2f55599b1e [ws-daemon] Make 'takeSnapshot' return early
The motivation here is to get the URL as identifiable attribute back to the caller so we can make this look re-entrant from the outside.
For backwards compatibilities sake, there is a "returnImmediately" flag on the call that needs to be set for the early return.
2021-11-04 12:18:12 +01:00