56 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Gero Posmyk-Leinemann
8f0c24af66 [ws-manager, supervisor, bridge] Prebuild workspaces are done when their container stops 2021-07-08 09:27:34 +02:00
Gero Posmyk-Leinemann
578b7bd392 [dev] Enable unit tests 2021-06-08 11:47:50 +02:00
Christian Weichel
83cc11aee3 [pwc] Add admission constraints to gpctl 2021-05-07 08:23:08 +02:00
Christian Weichel
d063fb7153 [pwc] Support admission constraints
when selecting a workspace cluster for starting a workspace.
2021-05-07 08:23:08 +02:00
Jan Keromnes
1b2605ff53 [protoc] Re-run 'leeway run components:generate-code-from-protobuf' 2021-04-20 15:04:10 +02:00
Manuel Alejandro de Brito Fontes
99ed68c43c [manager-bridge-api] Switch to @grpc/grpc-js 2021-04-15 08:54:05 -04:00
Manuel Alejandro de Brito Fontes
bd69de008b [ws-manager-api] Switch to @grpc/grpc-js 2021-04-15 08:54:05 -04:00
Autofix
af51739d34 Autofix: trailing-spaces 2021-04-12 08:29:10 +02:00
Manuel Alejandro de Brito Fontes
1569e1a3ba Update generated code 2021-04-07 07:39:04 -04:00
Christian Weichel
0f60c1757b [ws-manager-bridge] Improve initial connection error handling
Prior we might return `UNAVAILABLE` which would make some
gRPC clients retry.
2021-04-07 10:59:56 +02:00
Gero Posmyk-Leinemann
0af1980f8c [gpctl, bridge, db, protocol, server, ws-proxy] Dynamic WorkspaceCluster 2021-04-01 14:47:31 +02:00
Manuel Alejandro de Brito Fontes
326b3227be Enable user_namespace feature 2021-03-22 08:22:01 -03:00
Manuel Alejandro de Brito Fontes
1e1b3ae459 Update ws-manager 2021-03-12 12:54:40 -03:00
Anton Kosyakov
0623a65543 [supervisor-api] fix generate.sh script
and add missing copyrights
2021-03-08 09:48:50 +01:00
Gero Posmyk-Leinemann
9be229e4a2
[admin] More runtime info: podName and nodeIp (#3197)
* [admin] Render additional workspace properties

* [protocol] add instance.status.podName

* [protocol] Introduce instance.status.nodeIp
2021-02-23 10:19:26 +01:00
Christian Weichel
1046faf0f9 [registry-facade] Remove feature flag
and enable registry-facade by default.
2021-02-18 09:25:56 +01:00
Christian Weichel
5b6325f0de Remove privileged feature flag and permission
now that we have user-namespaced workspaces the privileged flag
has become even more of a nuisance and technical debt.

Fixes gitpod-io/gitpod#3058
2021-02-12 09:19:48 +01:00
Anton Kosyakov
4cc6245ab8 [supervisor] terminal API enhancements 2021-01-28 09:33:09 +01:00
Christian Weichel
b7dda84ad0 [license] Update license header from TypeFox GmbH to Gitpod GmbH 2021-01-04 15:12:02 +01:00
Christian Weichel
31372243e2 [ws-manager] Support ghost workspaces
which act as palceholders for actual workspaces.
2020-12-08 16:35:44 +01:00