44 Commits

Author SHA1 Message Date
Wouter Verlaek
cbc8b38a91
[ws-daemon] Add OWI to logs (#18017) 2023-06-22 21:44:12 +08:00
Thomas Schubart
c4f9a428aa
[ws-manager-mk2] Simplify workspace session management (#17924)
* [ws-daemon] Simplify session management

* [ws-daemon] Remove duplicated code

* [ws-daemon] Fix names for tracing
2023-06-15 19:12:06 +08:00
Thomas Schubart
2cab1406dd
[ws-manager-mk2] Remove persistent volume claim feature (#17860)
* [ws-daemon] Remove PVC

* [installer] Remove PVC

* [workspacekit] Remove PVC

* [content] Remove PVC

* [preview] Remove PVC

* [wsman-api] Remove PVC

* [ws-daemon-api] Remove PVC

* [workspacekit] Mount workspace directory

* [supervisor] Remove PVC

* [test] Remove PVC

* Fix build
2023-06-13 18:35:04 +08:00
Thomas Schubart
fe08421325
[ws-daemon] Remove full workspace backup (#17803) 2023-06-01 17:36:06 +08:00
Thomas Schubart
c64c4f3530
[ws-manager-mk2] Rely on controller concurrency mechanism for content init and backup (#16823)
* [wsman-mk2] Replace in memory state handling

* [ws-daemon] Operate on latest workspace CR

* [ws-daemon] Review comments
2023-03-23 16:31:17 +01:00
Kyle Brennan
a2176718ec
[dev image] update to Jammy (#16718)
* [dev image] update to Jammy

Ref: https://github.com/gitpod-io/workspace-images/pull/1017

no more `python-dev`

ref:
https://github.com/lewagon/data-setup/issues/219#issuecomment-1207519811
https://wiki.termux.com/wiki/No_more_-dev_packages

* [dev image] update images latest dev image

* [ws-manager] avoid false positive linter errors

* [ws-daemon] fix ineffectual assignment for err

golangci-lint is catching more errors since upgrading to go 1.19.5

* Update to more recent gcloud

* Moar timeout
2023-03-22 19:37:14 +01:00
Thomas Schubart
f1454d3994 [ws-daemon] Only handle k8s operations in controller 2023-01-30 14:59:37 +01:00
Thomas Schubart
75be62fba0 [ws-daemon] Dispose workspace 2023-01-30 14:59:37 +01:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Pavel Tumik @ GitPod
94a9ee7b07 [ws-daemon] when WaitForInit ensure that state is indeed ready 2022-08-25 02:09:41 +02:00
Pavel Tumik @ GitPod
c8c906e278 replace os.IsNotExist with errors.Is(err, fs.ErrNotExist) 2022-08-24 03:35:40 +02:00
JenTing Hsiao
512e26fa5a ws-daemon: ignore error when workspace persistent state location not exist
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-08-15 19:36:32 +02:00
JenTing Hsiao
0c8fde8ec8 ws-daemon: add span when NewWorkspace
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-08-10 05:09:53 +02:00
JenTing Hsiao
9a7864c5be ws-daemon: enhance log
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-08-09 00:53:53 -03:00
Christian Weichel
b8f58bc3b1 [ws-daemon] Enable workspace content housekeeping 2022-08-05 04:55:49 -03:00
Thomas Schubart
bffbd32162 Ensure session is only deleted once 2022-08-02 07:07:46 -03:00
Manuel Alejandro de Brito Fontes
797f440c7c Simplify configuration of git setting safe.directory 2022-07-19 17:23:14 +02:00
Pavel Tumik
905be0afd1 address PR feedback 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
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
Manuel Alejandro de Brito Fontes
74c5ec3977 Errorf does not support error-wrapping directive 2022-04-25 15:52:37 +05:30
Manuel Alejandro de Brito Fontes
9fbd4bfd35 [supervisor] Configure new safe.directory setting 2022-04-13 13:20:26 +05:30
Thomas Schubart
3bf6664eac Use checkout location during content init 2022-04-08 00:29:21 +05:30
Christian Weichel
47bd9d6c8e [ws-daemon] Support per-workspace FS quota 2021-10-06 10:15:53 -03:00
Manuel Alejandro de Brito Fontes
347ad95d80 Switch from fmt.Errorf to xerrors.Errorf 2021-08-30 02:47:28 -03:00
Christian Weichel
c3bea3b9c0 [ws-daemon] Support workspaces without remote storage 2021-07-28 17:52:32 +02:00
Manuel Alejandro de Brito Fontes
adc1ddf507 Fix propagation of span error 2021-07-07 05:40:06 -04:00
Christian Weichel
515316a162 [ws-daemon] Properly handle git status for FWB workspaces 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
Christian Weichel
5a7da9393e [ws-daemon] Remove user namespace variance 2021-04-09 13:17:54 +02:00
Manuel Alejandro de Brito Fontes
326b3227be Enable user_namespace feature 2021-03-22 08:22:01 -03:00
Manuel Alejandro de Brito Fontes
76a04a0824 [ws-daemon] Lint code and cleanup protobuf 2021-03-16 07:35:57 -03:00
Manuel Alejandro de Brito Fontes
3b4ebc9bad Migrate deprecated methods from ioutil package 2021-03-02 06:37:49 -03:00
Manuel Alejandro de Brito Fontes
2b6a56bc40 Update go imports 2021-03-02 06:37:49 -03:00
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
Christian Weichel
b914e2df86 [ws-daemon] Allow user-namespaced ops only in user-namespaced workspaces 2020-11-05 08:08:32 +01:00
Christian Weichel
4a9c8f910e [ws-daemon] Provide IWH through unix socket rather than canaries 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
8d1664f81f [ws-daemon] Search and replace ws-sync
This should have happened in #2003

/werft https=true
2020-10-19 10:26:18 +02:00
Christian Weichel
7172d822c7 [ws-daemon] Fold ws-manager-node into ws-daemon 2020-10-19 07:46:04 +02:00
Christian Weichel
6d93dd8348 [ws-daemon] Rename ws-sync to ws-daemon 2020-10-19 07:46:04 +02:00