614 Commits

Author SHA1 Message Date
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
Anton Kosyakov
6479901957 [supervisor] proxy Worker to allow redirects to blobserve 2020-11-03 11:53:31 +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
11406fc397 [user namespace] Disable seccomp to make clone work
The default containerd seccomp profile seems to prevent the clone
syscall with `CLONE_NEWUSER` and/or `CLONE_NEWNS`.
2020-10-23 16:20:08 +02: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
4444675ce0 [user namespaces] Start IDE and terminals as gitpod user again 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
75558809c7 [go] go mod tidy in all components 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
3a6587470a [supervisor] Directly support newuid/newgidmap CLI 2020-10-13 11:10:53 +02:00
Christian Weichel
a494eb7cff [ws-manager-node] Add uidmapper canary support 2020-10-13 11:10:53 +02:00
Christian Weichel
285edb4c7b [go] go mod tidy all components 2020-10-13 11:10:53 +02:00
Christian Weichel
1a509f2f23 [supervisor] Add ws-manager-node IWH to support triggering uid mappings 2020-10-13 11:10:53 +02:00
Anton Kosyakov
d8f3229b0a integrate supervisor into code 2020-10-12 13:00:29 +02:00
Anton Kosyakov
fbfdb1f147 enable the supervisor frontend to control when to start the ide frontend 2020-10-12 13:00:29 +02:00
Anton Kosyakov
1a1730847c support integration of the supervisor frontend into the IDE top window 2020-10-10 14:09:04 +02:00
Anton Kosyakov
758ccbe50d fix #1954: prevent multi confirmation dialogs on beforeunload event 2020-10-07 13:19:37 +02:00
Anton Kosyakov
114dc9d361 [supervisor/theia] fix #1945: allow IDE window to notify the supervisor window about state changes 2020-10-05 16:09:02 +02:00
Anton Kosyakov
1bb8623ac5 [supervisor/frontend] ensure that supervisor returns true for ready checks 2020-10-05 16:09:02 +02:00
Anton Kosyakov
df88af1c66 fix #1931: remove gitpod-ide-index query param from ide frame 2020-10-05 16:09:02 +02:00
Christian Weichel
0ccaff0cf7 [supervisor-frontend] Don't "wait" for the supervisor status endpoint 2020-10-05 09:33:11 +02:00
Anton Kosyakov
23e2743309 [supervisor/frontend] only reveal ide for regular workspaces 2020-10-05 08:51:39 +02:00
Anton Kosyakov
4c2fab7a93 [dashboard] proxy gitpod server connection via top window 2020-09-30 07:21:47 +02:00
Anton Kosyakov
f7f2382397 move not running overlay to the supervisor 2020-09-30 07:21:47 +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
Anton Kosyakov
91aad2e746 move heartbeat to supervisor frontend 2020-09-25 11:55:33 +02:00
Anton Kosyakov
95e75d59e3 downgrade style-loader to hoist proper version for Theia 2020-09-25 11:53:01 +02:00
Anton Kosyakov
9cb4125f08
Merge pull request #1884 from gitpod-io/ak/expose_server_to_ide
[supervisor/frontend] expose gitpod server on ide frame
2020-09-23 09:16:27 +02:00
Christian Weichel
7f9c56111c [supervisor] Add info service which provides basic workspace info 2020-09-23 09:16:17 +02:00
Anton Kosyakov
175588b366 [supervisor-frontend] delegating keyboard APIs to the ide host window context
Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
2020-09-22 13:46:59 +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
Anton Kosyakov
7fc7fbd828 [supervisor/frontend] support loading screen 2020-09-14 10:01:00 +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