201 Commits

Author SHA1 Message Date
Anton Kosyakov
e52153eb1d [supervisor] expose IDE alias on workspace info endpoint 2021-08-30 05:47:28 -03:00
ArthurSens
3e108e3821 Add 'type' label to workspace stop metric
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-08-30 02:57:28 -03:00
Manuel Alejandro de Brito Fontes
347ad95d80 Switch from fmt.Errorf to xerrors.Errorf 2021-08-30 02:47:28 -03:00
Manuel Alejandro de Brito Fontes
f7cf8e33e7 Update go dependencies 2021-08-27 12:33:26 -03:00
Manuel Alejandro de Brito Fontes
844c6fd36e Update go format 2021-08-27 12:33:26 -03:00
Christian Weichel
da28f48f11 [ws-manager] Recognise terminated pods as running 2021-08-27 06:38:25 -03:00
Christian Weichel
902f9b4e49 [ws-manager] Stop workspaces who's content init fails 2021-08-27 06:38:25 -03:00
Christian Weichel
18b08d8a42 [ws-manager] Properly stop workspaces with failed img pull 2021-08-27 06:38:25 -03:00
Christian Weichel
b4a99407b0 [ws-manager] Stop workspaces that never ran 2021-08-27 06:38:25 -03:00
Christian Weichel
cd10b6eaa1 [ws-manager] Add unit test for actOnPodEvent 2021-08-27 06:38:25 -03:00
Manuel Alejandro de Brito Fontes
a1da634398 [ws-daemon] Refactor unmount 2021-08-25 16:09:24 +02:00
Manuel Alejandro de Brito Fontes
18f11881b6 [ws-manager] Ensure status before setting phase tag 2021-08-23 09:37:22 +02:00
Manuel Alejandro de Brito Fontes
6f15a43554 Update golden files 2021-08-13 14:48:12 +02:00
Manuel Alejandro de Brito Fontes
4cfa7e2558 [ws-manager] Adjust probe InitialDelaySeconds value 2021-08-13 14:48:12 +02:00
Manuel Alejandro de Brito Fontes
59ba5ee071 Do not upload ghost workspace logs 2021-08-12 17:53:11 +02:00
Manuel Alejandro de Brito Fontes
6e7340dc86 Update k8s dependencies to v1.22.0 2021-08-11 17:31:10 +02:00
Christian Weichel
631322bcdc [agent-smith] Support CPU limit penalties 2021-08-09 08:40:08 +02:00
Manuel Alejandro de Brito Fontes
4edfce5ebf Update grpc dependencies
Signed-off-by: Manuel Alejandro de Brito Fontes <aledbf@gmail.com>
2021-08-04 15:49: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
a32b5c088f [ws-manager] Don't nil-deref on timeout computation 2021-07-29 17:37:33 +02:00
Christian Weichel
479abb7869 [ws-manager] Don't add failed condition when headless task fails 2021-07-29 10:12:32 +02:00
Christian Weichel
5b15f69021 [ws-manager] Don't use remote storage for image builds and ghosts 2021-07-28 17:52:32 +02:00
Christian Weichel
140c897d0d Remove old headless log infrastructure 2021-07-28 12:33:31 +02:00
Christian Weichel
1c7b10e228 [ws-manager] Stop workspaces timing out during backup 2021-07-26 16:14:30 +02:00
Christian Weichel
60b9307c85 [ws-manager] Disallow unknown config fields 2021-07-26 10:22:29 +02:00
Christian Weichel
3bb79b04da [ws-manager] Properly stop all headless workspaces
not just prebuilds
2021-07-22 16:32:26 +02:00
Christian Weichel
5002453de7 [image-builder-mk3] Adapt to new log infrastructure 2021-07-22 16:32:26 +02:00
Christian Weichel
c61b777ef6 [ws-manager] Handle AlreadyExists in StartWorkspace 2021-07-22 16:32:26 +02:00
Christian Weichel
133cdcfa0c [image-builder] Backport mk3 from gitpod-com 2021-07-22 16:32:26 +02:00
Christian Weichel
07f97d3f27 [ws-manager] Add support for workspace annotations 2021-07-22 16:32:26 +02:00
Manuel Alejandro de Brito Fontes
cad4fbfcbb [ws-manmager] Remove span logs from WorkspaceReadyProbe 2021-07-20 19:16:24 +02:00
Christian Weichel
ef090bb5bf [ws-manager] Pull images if not present 2021-07-16 14:17:21 +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
Christian Weichel
c8eb943822 [prow] Add OWNERS files 2021-07-15 11:29:47 +02:00
Gero Posmyk-Leinemann
000da4503b [ws-daemon] Upload logs 2021-07-15 09:00:38 +02:00
Manuel Alejandro de Brito Fontes
a2d0d79091 Update golden files 2021-07-14 12:18:33 -04:00
Manuel Alejandro de Brito Fontes
f3deee638d [ws-manager] Add annotation to avoid removal of nodes with running workspaces 2021-07-14 12:18:33 -04:00
Gero Posmyk-Leinemann
95224cc905 [ws-manager] Improve devx for ws-manager docker image 2021-07-09 15:12:31 +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
Mike Nikles
334c135d50 Spell "instance" correctly. 2021-07-08 09:01:34 +02:00
Manuel Alejandro de Brito Fontes
adc1ddf507 Fix propagation of span error 2021-07-07 05:40:06 -04:00
Manuel Alejandro de Brito Fontes
ce50d2a812 Update alpine to 3.14 2021-07-01 15:42:52 -04:00
Christian Weichel
eb0f0c37d8 [ws-manager] Backport #4405 to use nodeName 2021-06-25 15:50:48 +02:00
rl
ceb0b26180 [ws-daemon] Add ws-daemon headless service
Use endpoint on the ws-manager node to avoid pod/nodePort access issues.
2021-06-25 15:50:48 +02:00
Manuel Alejandro de Brito Fontes
8b224a0b10 [ws-manager] Set GracePeriodSeconds for deletion of objects 2021-06-25 05:29:32 -04:00
Manuel Alejandro de Brito Fontes
cc6fea03d9 Update minio-go dependency 2021-06-25 05:29:22 -04:00
Manuel Alejandro de Brito Fontes
6ab9ee12a9 [registry-facade] Add client-side reconnection 2021-06-24 11:24:20 -04:00
Manuel Alejandro de Brito Fontes
97d432b689 [supervisor] Reduce probe time and close Body 2021-06-24 02:07:34 -04:00
Manuel Alejandro de Brito Fontes
b6eaadbf18 [ws-manager] Revert #4338 and fix /dev/net/tun permissions 2021-06-23 17:57:46 -04:00
Christian Weichel
93c0c0afde [supervisor] Remove theiaSupervisorToken 2021-06-23 22:35:54 +02:00