23 Commits

Author SHA1 Message Date
ArthurSens
be14b4897a Add golangci-linter and fixes most linting issues
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-01-05 08:38:03 -03:00
Christian Weichel
b7dda84ad0 [license] Update license header from TypeFox GmbH to Gitpod GmbH 2021-01-04 15:12:02 +01:00
Cornelius A. Ludmann
74f3567c11 [ws-daemon] Add nil pointer guard in content initializer for prebuilds 2020-12-15 16:36:19 +01:00
Alex Tugarev
7eea67a8a1 [ws-daemon] don't fail if prebuilt is not found 2020-12-14 14:17:12 +01:00
Christian Weichel
4760509b17 [content-initialiser] Improve logging and OWI association 2020-12-03 14:42:49 +01:00
Christian Weichel
712d1be698 [ws-daemon] Reintroduce the working_area_free_bytes metric 2020-11-30 17:58:38 +01:00
Christian Weichel
8d2002b57b [ws-daemon] Make content initialiser properly shift UID/GIDs
avoids a race between "content ready" and supervisor

/werft https
2020-11-27 09:59:36 +01:00
Christian Weichel
a3e24f8e1e [ws-daemon] Don't try to collect empty prebuild 2020-11-23 14:17:33 +01:00
Christian Weichel
e89727f677 [ws-daemon] Fix snapshot and prebuild remote content init 2020-11-18 10:58:59 +01:00
Christian Weichel
7f04181aa9 [ws-daemon] Make IWS available before content is initialized
Fixes gitpod-io/gitpod#2188
2020-11-17 14:13:30 +01:00
Christian Weichel
af411ca867 [ws-daemon] Use tar to unarchive backup instead of archive pkg
Fixes #2160
2020-11-12 11:05:41 +01:00
Christian Weichel
4bbf614979 [ws-daemon] Isolate content initialiser better 2020-11-11 12:00:31 +01:00
Christian Weichel
b914e2df86 [ws-daemon] Allow user-namespaced ops only in user-namespaced workspaces 2020-11-05 08:08:32 +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
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
Christian Weichel
16ae8cc5cf [ws-sync] Provide shiftfs mark mount upon request 2020-10-23 16:20:08 +02:00
Christian Weichel
d1cca07a62 [supervisor] Repair BackupService for FWB
/werft https=true
2020-10-19 07:46:04 +02:00
Christian Weichel
3cbfd6f191 [common-go] Move CRI to ws-daemon/container 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