338 Commits

Author SHA1 Message Date
Anton Kosyakov
5a8db50513 [supervisor] reconnecting to server 2020-11-04 05:50:23 +01:00
Christian Weichel
43e26558bb [merge] Provide instance updates 2020-11-04 05:50:23 +01:00
Christian Weichel
1afe83d3b3 [supervisor] Provide holistic port view
including exposed ports, not just the served ones.
Also, auto-expose newly served ports.
2020-11-04 05:50:23 +01:00
Christian Weichel
403dea82f0 [supervisor] Replace supervisor opts with global values
To better support the IO usecase.

/werft no-preview
2020-10-30 09:34:48 +01:00
Christian Weichel
438c234bb2 [ws-daemon] Rename InWorkspaceHelper to more apt InWorkspaceService
and introduce rate limiting on that service to mimic the behaviour of
the former canaries.
2020-10-23 16:20:08 +02:00
Christian Weichel
4a9c8f910e [ws-daemon] Provide IWH through unix socket rather than canaries 2020-10-23 16:20:08 +02:00
Christian Weichel
5a7903b089 [supervisor] Introduce user-namespace rings 2020-10-23 16:20:08 +02:00
Christian Weichel
a6a84d0c93 [supervisor] Use SIGTERM instead of PreStop hook 2020-10-23 16:20:08 +02:00
Christian Weichel
4caab8cb07 [ws-daemon] Attempt to unmount shiftfs mark on teardown 2020-10-23 16:20:08 +02:00
Anton Kosyakov
6d2aae7c43 [supervisor] don't fail the process on tasks' errors 2020-10-23 13:24:27 +02:00
Anton Kosyakov
5c37b82d3d fixes #2039: don't log this task ran ... in prebuilds 2020-10-22 13:48:53 +02:00
Christian Weichel
2e3ec08811 [supervisor] Provide mock Gitpod API for testing 2020-10-21 11:42:31 +02:00
Christian Weichel
2ce766b203 [supervisor] Fix terminal test 2020-10-19 10:26:18 +02:00
Christian Weichel
d1cca07a62 [supervisor] Repair BackupService for FWB
/werft https=true
2020-10-19 07:46:04 +02:00
Christian Weichel
7172d822c7 [ws-daemon] Fold ws-manager-node into ws-daemon 2020-10-19 07:46:04 +02:00
Christian Weichel
6d93dd8348 [ws-daemon] Rename ws-sync to ws-daemon 2020-10-19 07:46:04 +02:00
Anton Kosyakov
75b97c7a6d [supervisor] tasks support 2020-10-14 11:14:31 +02:00
Christian Weichel
1a509f2f23 [supervisor] Add ws-manager-node IWH to support triggering uid mappings 2020-10-13 11:10:53 +02:00
Christian Weichel
23db877af1 [supervisor] Add Gitpod API endpoint details to workspace info 2020-09-25 13:14:06 +02:00
Christian Weichel
f108fa72bf [gitpod-protocol] Produce Go version of the JSON RPC API 2020-09-25 13:11:42 +02:00
Christian Weichel
7f9c56111c [supervisor] Add info service which provides basic workspace info 2020-09-23 09:16:17 +02:00
Christian Weichel
6974720578 Create a default Gitpod API token for each workspace 2020-09-22 12:14:07 +02:00
Christian Weichel
0e0bd79918 [supervisor] Add missing license header 2020-09-18 12:32:09 +02:00
Christian Weichel
d1581662d6 [supervisor] Initial design and implementation of the token service 2020-09-18 12:32:09 +02:00
Christian Weichel
d44eea1029 [supervisor squash] Time out terminal listener 2020-09-14 11:33:06 +02:00
Christian Weichel
fd29caa500 [supervisor] Add REST API support for terminals 2020-09-14 11:33:06 +02:00
Christian Weichel
8478e61d24 [supervisor] Add terminal multiplexing 2020-09-14 11:33:06 +02:00
Christian Weichel
49cd3880c3 [supvisor] Implement IDE readiness probe
and make /_supervisor/v1/status/ide useful
2020-09-11 14:32:45 +02:00
Christian Weichel
4c8f5978ec [supervisor] Split config into static, ide and workspace
to better support these individual concerns and lifecycles.
2020-09-11 14:32:45 +02:00
Christian Weichel
ae6dacab66 [supervisor] Provide SUPERVISOR_ADDR env var to IDE process
which points to supervisor's API endpoint, hence facilitates the IDE
connecting to supervisor.
2020-09-09 15:08:24 +02:00
Christian Weichel
ccb248e62e [supervisor] Split RegistrableService interface
to make providing one or the other service type easier.
2020-09-09 15:08:24 +02:00
Christian Weichel
1def8c0883 [supervisor] Add port status and localhost proxy support 2020-09-09 15:08:24 +02:00
Christian Weichel
9068813620 [supervisor] Register gRPC REST gateway using dialling transport
instead of the in-process transport which doesn't support
streaming responses.
2020-09-09 15:08:24 +02:00
Christian Weichel
0b05b751d0 [ws-proxy] Serve supervisor's frontend on /_supervisor/frontend 2020-09-08 12:24:48 +02:00
Christian Weichel
20a7bd2fff [supervisor] Serve IDE host on "API endpoint" 2020-09-08 12:24:48 +02:00
Christian Weichel
372a3610be [supervisor] Move from /api to /_supervisor 2020-09-07 09:50:32 +02:00
Christian Weichel
46b091d7ab [supervisor] Future proof and harmonize the supervisor API 2020-09-07 09:50:32 +02:00
Christian Weichel
79f30c282f [supervisor] Move out of the Theia folder 2020-09-03 09:37:04 +02:00