191 Commits

Author SHA1 Message Date
Prince Rachit Sinha
4d48ccb997 Add maximum lifetime constraint for a workspace 2022-02-22 16:25:02 +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
Mads Hartmann
dd8b5b728a Remove OWNERS related files
Fixes https://github.com/gitpod-io/ops/issues/844
2022-02-08 09:15:30 +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
Jan Koehnlein
d30815e685 [owners] rename team meta to webapp 2022-01-26 08:27:17 +01:00
Manuel Alejandro de Brito Fontes
82d786e2bb Remove ws-scheduler 2022-01-24 20:08:17 +01:00
Manuel Alejandro de Brito Fontes
6d33af4106 Add support for ephemeral storage 2021-12-09 13:34:34 +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
Manuel Alejandro de Brito Fontes
353b33eb42 Update typescript dependencies 2021-11-02 15:50:10 +01:00
Manuel Alejandro de Brito Fontes
9b90bd5f6b Update protoc generated code 2021-11-02 15:50:10 +01:00
Gero Posmyk-Leinemann
7abe78c917 [dev] Upgrade to node.js v16 and all major TS libs
This commit includes the following commits:
 - @iqqbot update dev image to nodejs v16lts
 - @iqqbot update dev-environment-image to use nodejs v16
 - @iqqbot update component to nodejs v16 lts
 - [licensor] Adjust to v16
 - [ts] Bump @types/node to ^16.11.0 accordingly
 - @aledbf Update typescript dependencies
 - @aledbf Update typescript configuration
 - @aledbf / @geropl Update typescript code
 - [server] Fix express/passport types
 - [db] typeorm upgrade 0.1.20 -> 0.2.22: fix compile and runtime issues
 - [db] typeorm upgrade 0.2.22 -> 0.2.38: fix compile and runtime issues
 - [dev] Upgrade amqplib and smaller libs
 - [dev] Upgrade uuid
 - [dev] Update probot
 - [dev] Final yarn.lock
2021-11-02 13:59:10 +01:00
Cornelius A. Ludmann
e7c93eb382 [ws-manager] Add destkop_ide_image 2021-10-26 15:02:04 +02:00
Pudong Zheng
40c8138d2b upgrade typescript compiler target to es6 2021-10-21 15:30:59 +02:00
Christian Weichel
20adf1dbe6 [ws-manager] Introduce stoppedByRequest condition 2021-10-14 18:12:01 -03:00
Manuel Alejandro de Brito Fontes
1854bfae70 Update controller-runtime and k8s go dependencies 2021-10-14 12:14:01 -03:00
Christian Weichel
9605e0b386 [wsman-bridge] Introduce admission preferences 2021-10-14 06:00:00 -03:00
Manuel Alejandro de Brito Fontes
5bdc814286 [ws-manager-api] Change log level for ws-manager unavailable 2021-10-12 16:27:59 -03:00
Simon Emms
64cb84b1cc [installer]: configure leeway to build installer 2021-10-12 10:44:59 -03:00
Christian Weichel
d5471f7f99 [server] Use different cluster when start fails 2021-10-11 02:19:57 -03:00
Christian Weichel
24e3a41c3d [ws-manager-api] Support filtered cluster selection 2021-10-11 02:19:57 -03:00
Christian Weichel
df120dc4ef [installer] Add support for workspace templates 2021-10-08 04:45:54 -03:00
Manuel Alejandro de Brito Fontes
7ede29579c Update go dependencies 2021-09-30 11:31:47 -03:00
rl-gitpod
87ea360977 [gpctl] add workspace backup command 2021-09-30 04:50:47 -03:00
Christian Weichel
c9d4e37444 [ws-manager] Provide ordering of status updates 2021-09-29 07:37:46 -03:00
Jan Koehnlein
353ddc20fb [server] Add gRPC client side metrics for image-builder and ws-manager 2021-09-17 08:34:42 -03:00
Christian Weichel
b5b5d537c1 [ws-manager] Add service config to API 2021-09-13 10:51:38 +05:30
Christian Weichel
e5551dcd1b [ws-manager] Make config part of the API 2021-09-13 10:51:38 +05:30
Manuel Alejandro de Brito Fontes
53de07d605 [ws-manager-api] Partially revert the use of a deadline per grpc call 2021-09-10 19:13:16 +05:30
Manuel Alejandro de Brito Fontes
a8e41ec703 [ws-manager-api] Remove hardcoded grpc call deadline 2021-09-06 13:38:12 +02:00
Manuel Alejandro de Brito Fontes
c7ba93c52e Configure grpc client ChannelOptions 2021-09-02 09:09:31 +02:00
Prince Rachit Sinha
a0f4ed58eb Upgrade grpc-js library 2021-08-31 08:43:29 -03:00
Manuel Alejandro de Brito Fontes
f7cf8e33e7 Update go dependencies 2021-08-27 12:33:26 -03:00
Manuel Alejandro de Brito Fontes
6e7340dc86 Update k8s dependencies to v1.22.0 2021-08-11 17:31:10 +02:00
Manuel Alejandro de Brito Fontes
4606a42d03 Update typescript generated code 2021-08-04 15:49:04 +02:00
Manuel Alejandro de Brito Fontes
44d5f0a81f Update npm dependencies 2021-08-04 15:49:04 +02:00
Manuel Alejandro de Brito Fontes
4edfce5ebf Update grpc dependencies
Signed-off-by: Manuel Alejandro de Brito Fontes <aledbf@gmail.com>
2021-08-04 15:49:04 +02:00
Christian Weichel
140c897d0d Remove old headless log infrastructure 2021-07-28 12:33:31 +02:00
Christian Weichel
5002453de7 [image-builder-mk3] Adapt to new log infrastructure 2021-07-22 16:32:26 +02:00
Christian Weichel
07f97d3f27 [ws-manager] Add support for workspace annotations 2021-07-22 16:32:26 +02:00
Christian Weichel
c8eb943822 [prow] Add OWNERS files 2021-07-15 11:29:47 +02:00
Gero Posmyk-Leinemann
8f0c24af66 [ws-manager, supervisor, bridge] Prebuild workspaces are done when their container stops 2021-07-08 09:27:34 +02:00
Manuel Alejandro de Brito Fontes
9681a2ba9b Update k8s dependencies to v0.21.1 2021-06-15 09:45:54 -04:00
Manuel Alejandro de Brito Fontes
a57e2e73ea Update go dependencies 2021-06-15 09:45:54 -04:00
Gero Posmyk-Leinemann
578b7bd392 [dev] Enable unit tests 2021-06-08 11:47:50 +02:00