165 Commits

Author SHA1 Message Date
Anton Kosyakov
f002fa5e83 run dropbear as gitpod user to produce proper env vars 2021-09-07 15:02:13 +02:00
Christian Weichel
da5c8325f0 [supervisor] Be more resilient towards a too agressive reaper 2021-09-07 10:59:13 +02:00
Christian Weichel
d76b449adb [supervisor] Provide info on headless task failure 2021-09-07 10:59:13 +02:00
Anton Kosyakov
15397bf233 [supervisor] remove prebuild task progress logging 2021-09-06 16:27:12 +02:00
Manuel Alejandro de Brito Fontes
cbd0718a8c [supervisor] Remove unnecessary log about port already exposed 2021-09-03 07:26:09 +02:00
Anton Kosyakov
e52153eb1d [supervisor] expose IDE alias on workspace info endpoint 2021-08-30 05:47:28 -03:00
Manuel Alejandro de Brito Fontes
bc3d41a154 Replace old protobuf package 2021-08-30 02:47:28 -03:00
Manuel Alejandro de Brito Fontes
347ad95d80 Switch from fmt.Errorf to xerrors.Errorf 2021-08-30 02:47:28 -03:00
Jean Pierre
fd13e9afc9 Add WorkspaceUrl api to supervisor info.proto 2021-08-27 04:51:25 -03:00
Manuel Alejandro de Brito Fontes
34b420b528 [supervisor] Refactor supervisor exit to allow defer execution 2021-08-20 15:53:19 +02:00
Manuel Alejandro de Brito Fontes
5bd688b34b [supervisor] Close docker unix socket on termination 2021-08-20 15:03:19 +02:00
Manuel Alejandro de Brito Fontes
98a7dc7ed0 [supervisor] Remove misleading error message 2021-08-20 14:42:19 +02:00
Anton Kosyakov
33096feed3 fix #4935: open task terminal in correct workspace location 2021-08-19 10:29:18 +02:00
Cornelius A. Ludmann
0791761c4f [supervisor] Fix segfault in supervisor.go 2021-08-17 18:14:16 +02:00
Christian Weichel
a31e09fafb [supervisor] Add buildChildProcEnv unit test 2021-08-08 14:46:07 +02:00
Anton Kosyakov
b2627c6cdd [supervisor] fix #5104: don't truncate env values after = char 2021-08-08 14:46:07 +02:00
Christian Weichel
4d47edc045 [supervisor] Correctly reap child processes 2021-08-07 09:51:06 +02:00
Manuel Alejandro de Brito Fontes
bbacd23132 [supervisor] Reword upload message 2021-08-05 12:34:04 +02:00
Christian Weichel
8c2894febb [supervisor] Set JAVA_TOOL_OPTIONS to curb RAM 2021-08-04 14:59:04 +02:00
Christian Weichel
29007fd6c6 [supervisor] Include gitpod-cli 2021-08-04 14:59:04 +02:00
Christian Weichel
5e9cdd474b [supervisor] Provide helpful errors when useradd fails 2021-08-04 14:59:04 +02:00
Christian Weichel
b47b0f1713 [supervisor] Set HOME env var if there's none.
usually the login process would set that,
but we're not executing child processes using a login process,
but rather run them directly without a login shell.
2021-08-04 14:59:04 +02:00
Christian Weichel
f1dbc257fc [image-builder] Remove gitpod layer
and just push the image instead
2021-08-04 14:59:04 +02:00
Christian Weichel
8c38329044 [supervisor] Add gitpod user if it doesn't exist 2021-08-04 14:59:04 +02:00
Christian Weichel
ac7529fc3d [supervisor] Add unit tests for task composition 2021-07-23 07:08:27 +02:00
Anton Kosyakov
ed076d77a8 [code] fix #4529: serve each webview from own origin
decoupled from workpace origin (also extension host origin)
2021-07-16 14:08:25 +05:00
Gero Posmyk-Leinemann
000da4503b [ws-daemon] Upload logs 2021-07-15 09:00:38 +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
44732abeb4 [supervisor] Improve IDE ReadinessHTTPProbe 2021-06-25 14:40:45 -04:00
Manuel Alejandro de Brito Fontes
965efd4754 [supervisor] Remove IDE not ready log (loop) 2021-06-25 05:29:40 -04:00
Manuel Alejandro de Brito Fontes
97d432b689 [supervisor] Reduce probe time and close Body 2021-06-24 02:07:34 -04:00
Gero Posmyk-Leinemann
5f01d9c1d9 [server] Introduce /headless-logs/... and Server.getHeadlessLog 2021-06-23 13:53:30 +02:00
Gero Posmyk-Leinemann
8c18484d87 [supervisor-api] Make available with grpc-web 2021-06-23 13:53:30 +02:00
Anton Kosyakov
57b7b7cfb6 [supervisor] allow retry auto exposing port 2021-06-23 11:43:24 +05:00
Anton Kosyakov
9ab3b02d26 [supervisor] fix caching Not Found as OTS token 2021-06-23 11:29:26 +05:00
Cornelius A. Ludmann
caa322c871 Make port visibility private by default 2021-06-21 16:22:15 +02:00
Anton Kosyakov
fc8edff8aa [supervisor] api to set terminal's title and update annotations 2021-06-18 07:11:51 +05:00
Manuel Alejandro de Brito Fontes
bd3ba7cdec Refactor port parsing 2021-06-16 10:45:31 -04:00
Jan Keromnes
b6ce0080ce [supervisor] Better reflect ♻️ incremental prebuilds in prebuild logs 2021-06-05 10:36:45 +02:00
Christian Weichel
0851301c52 [supervisor] Skip flaket title tests 2021-05-26 16:02:23 +02:00
Anton Kosyakov
57f1670a88 [tunnel] close the tunnel if at least one side is dropped 2021-05-26 13:11:06 +02:00
Christian Weichel
a2c08bc8dc [supervisor] Force gitpod user during Git init 2021-05-26 13:10:54 +02:00
Manuel Alejandro de Brito Fontes
001fde1661 [ws-daemon] Refactor full workspace backup 2021-05-26 13:10:54 +02:00
Jan Keromnes
862e3a27b6 Implement incremental prebuilds 2021-05-21 15:53:06 +02:00
Anton Kosyakov
f7b2e37cbd [supervisor] support tunneled ports 2021-05-20 09:49:33 +02:00
Manuel Alejandro de Brito Fontes
ef2048dfda [supervisor] Fix negative WaitGroup counter 2021-05-18 05:41:22 -04:00
Prince Rachit Sinha
701348b74b
Fix lint failure (#4204)
Remove unused constant to fix go lint checks
2021-05-12 13:39:21 +05:30
Manuel Alejandro de Brito Fontes
d3ebfd454b Update golangci-lint 2021-05-11 07:15:24 -04:00
Christian Weichel
c2a2352f12 [supervisor] Add config change analytics 2021-05-06 16:21:40 +02:00
Manuel Alejandro de Brito Fontes
a0a5017b58 Remove deprecated grpc time helpers 2021-05-05 06:10:32 -04:00