Pavel Tumik
389f7767fb
[ws-daemon] fix WaitForInit not found error in tracing
2022-10-05 10:35:21 +02:00
Pavel Tumik @ GitPod
c8c906e278
replace os.IsNotExist with errors.Is(err, fs.ErrNotExist)
2022-08-24 03:35:40 +02:00
Thomas Schubart
212b4712f4
[ws-daemon] Include workspace id in error
2022-08-09 15:38:53 +02:00
JenTing Hsiao
9017476767
Return error to the client and only ignore tracing error
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-08-06 19:18:50 -03:00
JenTing Hsiao
d5c9bd792f
Log warning instead of tracing error span
...
Special handling the error message for tracing when we can't find
workspace in memory.
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-08-04 06:46:48 -03:00
Manuel Alejandro de Brito Fontes
ccb4e180a7
Remove backup trail
2022-08-04 05:00:48 -03:00
JenTing Hsiao
80eedafd74
The instance ID is required field
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-08-02 05:34:46 -03:00
Manuel Alejandro de Brito Fontes
797f440c7c
Simplify configuration of git setting safe.directory
2022-07-19 17:23:14 +02:00
Manuel Alejandro de Brito Fontes
38b886bb6a
[ws-daemon] Increase number of concurrent backup uploads
2022-07-15 01:45:01 +02:00
Pavel Tumik
af62571a40
Update components/ws-daemon/pkg/content/service.go
...
Co-authored-by: Christian Weichel <chris@gitpod.io>
2022-07-14 09:24:01 +02:00
Pavel Tumik
52717d7104
[ws-daemon] do not fail workspace if git status failed during dispose
2022-07-14 09:24:01 +02:00
Pavel Tumik
6dd7fc82b4
[ws-daemon] improve DisposeWorkspace logging
2022-07-13 02:01:59 +02:00
Christian Weichel
8248935e44
[ws-manager] Add Git token to workspace secret
2022-07-06 19:22:53 +05:30
Pavel Tumik
7d005012a8
Add PVC support to prebuilds
2022-06-24 22:22:33 +05:30
Christian Weichel
d9a66c466b
[ws-daemon] Add backup ratelimiting timeout
2022-06-01 01:52:49 +05:30
Manuel Alejandro de Brito Fontes
afdf9614d5
[ws-daemon] Use a metric for backup waiting time instead logs
2022-05-30 16:12:48 +05:30
Manuel Alejandro de Brito Fontes
2dbef7ad51
[ws-daemon] Limit the number of concurrent workspace backups
2022-05-26 19:24:45 +05:30
Pavel Tumik
56d1756376
remove daemon-api change as it is not needed
2022-05-25 13:17:39 +05:30
Pavel Tumik
88768f6e50
snapshot volume support
2022-05-25 13:17:39 +05:30
Pavel Tumik
0cdce52b73
[ws-daemon] update git safe directory at init workspace phase
2022-05-14 00:15:28 +05:30
Sven Efftinge
d8f51d3cf0
[supervisor] inflate all git repos
...
fixes [multi-repo] Shallow clones are not inflated #9021
2022-05-13 15:01:28 +05:30
Pavel Tumik @ GitPod
08acca87c1
[content-service] add prestop hook to extract git status when workspace is using pvc
2022-05-10 19:27:25 +05:30
Pavel Tumik
0ffc77d16a
PR feedback fixes
2022-05-04 03:08:19 +05:30
Pavel Tumik
301190db53
Add persistent volume support for workspaces
...
fix
2022-05-04 03:08:19 +05:30
Christian Weichel
fc1b0ac4a6
[ws-daemon] Support storage quota per class
2022-04-29 14:24:15 +05:30
Pavel Tumik
f9531f3915
[ws-daemon] update log message to be unique
2022-04-28 09:47:14 +05:30
Thomas Schubart
3bf6664eac
Use checkout location during content init
2022-04-08 00:29:21 +05:30
Christian Weichel
9d3669713b
[ws-daemon] Remove tar file size limit
2022-03-31 13:58:14 +05:30
Sven Efftinge
cc2f3b30fe
[multi-repo] Support prebuilds on multi-repo setup
2022-03-10 15:46:17 +05:30
Christian Weichel
5702a9c74c
[iws] Prepare cgroup when prearing for user NS
2022-03-04 04:08:11 +05:30
Christian Weichel
990dd33e86
[content-init] Propagate sensible error messages
...
when the content initializer fails
2022-01-21 14:03:13 +01:00
Gero Posmyk-Leinemann
2f55599b1e
[ws-daemon] Make 'takeSnapshot' return early
...
The motivation here is to get the URL as identifiable attribute back to the caller so we can make this look re-entrant from the outside.
For backwards compatibilities sake, there is a "returnImmediately" flag on the call that needs to be set for the early return.
2021-11-04 12:18:12 +01:00
Manuel Alejandro de Brito Fontes
461d65c671
[ws-daemon] Check if workspace has remote storage configured before backing up logs
2021-10-06 14:40:53 -03:00
Christian Weichel
47bd9d6c8e
[ws-daemon] Support per-workspace FS quota
2021-10-06 10:15:53 -03:00
rl-gitpod
87ea360977
[gpctl] add workspace backup command
2021-09-30 04:50:47 -03:00
Christian Weichel
da1919f1cc
[ws-daemon] Properly handle mark unmount
2021-09-29 09:07:46 -03:00
rl-gitpod
9e4554f215
[ws-daemon] Improve backup logging
2021-09-22 20:42:47 -03:00
Manuel Alejandro de Brito Fontes
88e4f7b5e5
[ws-daemon] Increase messages log level
2021-09-22 07:09:47 -03:00
Christian Weichel
db3187d223
[ws-daemon] Use unique container names for init
2021-09-21 14:14:46 -03:00
Manuel Alejandro de Brito Fontes
ed48ca506d
[ws-daemon] Refactor mark unmount
2021-09-01 10:25:31 -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
59ba5ee071
Do not upload ghost workspace logs
2021-08-12 17:53:11 +02:00
Christian Weichel
3d313d29af
[ws-daemon] Serve IWS on restart
2021-08-10 12:11:09 +02:00
Christian Weichel
698a17bdd0
[ws-daemon] Don't remove the backup tar before uploading it
2021-07-28 22:49:32 +02:00
Christian Weichel
06c27e94d0
[ws-daemon] Remove old sandboxing behaviour
2021-07-28 18:31:32 +02:00
Christian Weichel
c3bea3b9c0
[ws-daemon] Support workspaces without remote storage
2021-07-28 17:52:32 +02:00
Christian Weichel
7f25cc04ce
[ws-daemon] Currectly use limit writer
2021-07-27 14:56:31 +02:00
Christian Weichel
cf0e5123cc
[ws-daemon] Always remove temp backup file
2021-07-25 23:28:29 +02:00
Gero Posmyk-Leinemann
54087c136b
[content-service] Introduce HeadlessLogService
2021-07-15 09:00:38 +02:00
Gero Posmyk-Leinemann
000da4503b
[ws-daemon] Upload logs
2021-07-15 09:00:38 +02:00