338 Commits

Author SHA1 Message Date
Cornelius A. Ludmann
ca9e19431c [supervisor] Fix IDE shutdown 2021-11-03 16:52:11 +01:00
Manuel Alejandro de Brito Fontes
5934558596 Provide a stable port order 2021-11-03 14:58:11 +01:00
Manuel Alejandro de Brito Fontes
d70eb53070 [supervisor] Lint code 2021-11-03 14:58:11 +01:00
Gero Posmyk-Leinemann
61d51310c7 [dev] Bump dev-environment: gpl-dev-reliable-wipe.19 2021-11-03 14:12:11 +01:00
Manuel Alejandro de Brito Fontes
12d50f26f5 Update dev-environment image 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
Christian Weichel
d75a880036 [supervisor] Provide child proc env to SSH session 2021-10-29 11:02:06 +02:00
Christian Weichel
659e261564 [supervisor] Don't check file modes for SSH login 2021-10-29 11:02:06 +02:00
Manuel Alejandro de Brito Fontes
d6766b1716 Enable sftp Subsystem 2021-10-29 11:02:06 +02:00
Manuel Alejandro de Brito Fontes
d3ce797ae7 [supervisor] Start dropbear on-demand 2021-10-29 11:02:06 +02:00
Pudong Zheng
9d5f489722 fix git config error 2021-10-27 14:03:05 +02:00
Cornelius A. Ludmann
19dcaa45d8 [supervisor] Add desktop IDE backend support
/werft with-clean-slate-deployment
2021-10-27 12:49:04 +02:00
Christian Weichel
8f6e4bc79b [supervisor] Add slirp4netns support 2021-10-26 20:42:04 +02:00
Manuel Alejandro de Brito Fontes
f930e75c01 [image-builder-bob] Switch to buildctl 2021-10-26 08:16:03 +02:00
Anton Kosyakov
9f5270c694 fix #5929: use sync.Cond to notify about gitpod config changes
There was some kind of deadlock while one listener was trying to read a config changes.
I rewrote gitpod config service to use conditional variable to announce changes in gitpod config to avoid synchronization over map of listeners.
I changed clients as well that they don't consider nil config as closed channel and stop reading.
2021-10-14 09:57:01 -03:00
Lou Bichard
6bf6485369 fix: remove added quotation marks on strings from env in .gitpod.yml 2021-10-14 09:14:01 -03:00
Jan Keromnes
ca51c382fd [supervisor] Add carret return to prebuild terminal message 2021-10-01 04:13:48 -03:00
Christian Weichel
8d2d97721a [supervisor] Add last task output to failure message 2021-09-29 06:51:46 -03:00
iQQBot
f2299db634 make socketActivationForDocker always work
Signed-off-by: iQQBot <love@iqqbot.com>
2021-09-28 04:49:45 -03:00
Manuel Alejandro de Brito Fontes
17c3a999dc [supervisor] Do not emit a warning creating symlinks 2021-09-23 10:23:48 -03:00
Anton Kosyakov
afd2cb3a2a fix #5699: fix parisng of tasks env vars in go 2021-09-17 05:36:42 -03:00
Manuel Alejandro de Brito Fontes
a079bc48b8 [supervisor] Check for canceled context and reword message 2021-09-15 20:28:40 +05:30
Jan Koehnlein
601bcafa1e [supervisor] reduce noise when terminating child processes
Fixes #5562
2021-09-09 14:18:15 +05:30
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