Pudong
81ff3d16e4
[ws-manager-mk2] redact log ( #18906 )
...
* update to logrusr v4
* Add DeepCopyStruct to scrubber
* use DeepCopyStruct to scrub log
* mark wrokspace.stauts.url redact
2023-10-16 13:48:23 +03:00
Christian Weichel
f482e0a02d
Add subassembly service API ( #18834 )
...
* Add subassembly service API
* Make workspacekit image configurable
2023-09-28 14:55:07 +03:00
Manuel Alejandro de Brito Fontes
8ef82ff356
Update go modules to 1.21 ( #18805 )
2023-09-26 17:52:05 +03:00
Huiwen
181c983405
[server,dashboard] verify image accessibility when updating org workspace image setting ( #18747 )
...
* [server] verify image accessibility before update settings
* [dashboard] update org settings page
* fixup disable button for members
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* hid change button for members
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: Filip Troníček <filip@gitpod.io>
* update image hint
* Add description to WorkspaceImageButton
* Lighter description
* render desc list
---------
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
Co-authored-by: Filip Troníček <filip@gitpod.io>
2023-09-20 23:01:59 +02:00
Alex Tugarev
0189623c4b
🧹 Update mocha and remove resolutions ( #18736 )
...
* remove resolutions in root package.json
update mocha to avoid pulling in minimatch@3.0.4
* adjust mocha config
* also consider *.spec.db.*
* re-add missing exclude of node_modules
* remove recursive
* fix mocha execution
2023-09-19 09:22:58 +02:00
Manuel Alejandro de Brito Fontes
258651f923
Filter subscriber reconciler events (v2) ( #18696 )
...
* Filter subscriber reconciler events (v2)
* Ignore LastActivity
2023-09-12 20:54:52 +02:00
Wouter Verlaek
2ac49194c6
Revert "Filter subscriber reconciler events ( #18660 )" ( #18694 )
...
This reverts commit 9470fb880093522021c1eaeecfb0373d087c39c3.
2023-09-11 11:28:09 +02:00
Manuel Alejandro de Brito Fontes
9470fb8800
Filter subscriber reconciler events ( #18660 )
...
* Filter subscriber reconciler events
* Notify changes in the port visibility
* Switch to reflect.DeepEquals
* Address feedback
2023-09-06 16:33:04 +02:00
Gero Posmyk-Leinemann
938f0ba841
[ws-manager-api] Remove deprecated fields ( #18641 )
2023-09-01 14:38:58 +02:00
Sven Efftinge
841b616c34
[spicedb] fix stale connection handling ( #18631 )
2023-09-01 12:53:58 +02:00
Manuel Alejandro de Brito Fontes
687f337899
Enable leader election in ws-manager-mk2 (v3) ( #18539 )
...
* Enable leader election in ws-manager-mk2
* Update go modules
* Move workspace activity to CRD
* Remove workspace activity
* Cleanup
* Update ws-manager-mk2 CRD
* Cleanup
* Restore lastActivity logic
* TEST
* Disable observability
* Start the grpc server after leader election
* Bount the source of subscribers to an informer
* Cleanup
* Avoid deepCopy
* Remove goroutine to execute OnReconcile
* Refactor last activity to be consistent acrtoss the controllers
* Address feedback
2023-08-26 22:28:52 +02:00
Wouter Verlaek
bf3d548266
[ws-manager-mk2] Scrub status fields, add vscode launch.json ( #18595 )
...
* [ws-manager-mk2] Scrub status fields, add vscode launch.json
* Fix scrubber panic on unexported pointer
2023-08-25 13:00:51 +02:00
Manuel Alejandro de Brito Fontes
513ca768f6
Update buildkit to v0.12.1 ( #18505 )
...
* Update buildkit to v0.12.1
* Update DisplaySolveStatus signature
* Switch to github.com/containerd/typeurl/v2
2023-08-15 09:17:40 +02:00
Kyle Brennan
34b4602286
[ws-manager-mk2] remove experimental mode feature ( #18513 )
...
* [installer] remove experimental mode
* [ws-manager-mk2] remove experimental node selector
* [ws-manager-api] remove ExperimentalMode from configuration
* Add `ws-manager-api` to vscode workspace
* [preview] remove experimental & bump deps
Depends on https://github.com/gitpod-io/gitpod-packer-gcp-image/pull/246
* [preview] LocalStorageCapacityIsolation is GA, no needed as a gate in 1.27
2023-08-15 06:37:41 +02:00
Manuel Alejandro de Brito Fontes
de4bbbea1c
Add a new trust bundle for custom SSL certificates ( #18450 )
...
* Add a new trust bundle for custom SSL certificates
* Mount the customer certificate in the workspace
* Use the custom certificate in components
* Cleanup
* Set env variables and mount the crt in a different file
* rename custom ca cert file name
* Fix the filename in env vars
* Enable custom SSL certificate conditionally
---------
Co-authored-by: nandajavarma <nandaja.varma@gmail.com>
2023-08-08 16:46:34 +02:00
Sven Efftinge
7f81d83956
fix watch mode ( #18414 )
2023-08-07 17:04:33 +02:00
Manuel Alejandro de Brito Fontes
61f89f8436
Update go modules ( #18372 )
2023-07-28 16:20:30 +08:00
Manuel Alejandro de Brito Fontes
8c6d8e28f3
Update dependencies ( #18362 )
...
* Update k8s dependencies to v1.27.3
* Update opencontainers/runtime-spec to v1.1.0
* Update controller runtime to v0.15.0
* Update go modules
* Fix build
* Cleanup
* Fix ws-manager e2e tests
2023-07-27 23:34:29 +08:00
Manuel Alejandro de Brito Fontes
54c2040632
Update go modules to 1.20 ( #18360 )
2023-07-27 22:24:29 +08:00
Alex Tugarev
afac02330b
Downgrade grpc-js ( #18346 )
...
Current version seems to have issues with tearing down the node processes.
2023-07-26 17:46:42 +08:00
Gero Posmyk-Leinemann
d7acfb662a
Updated outdated dependencies to avoid CVEs ( #18144 )
...
* Update grpc/grpc-js
* Update http-cache-semantics
* decode-uri-component
2023-07-04 16:40:21 +08:00
Manuel Alejandro de Brito Fontes
57c605ddc4
Cleanup scrubber go module dependency ( #18149 )
2023-07-04 16:37:21 +08:00
Gero Posmyk-Leinemann
cc52d25280
Upgrade yarn packages ( #18128 )
...
* [ts] Pin mimimatch and minimist
* [server] Update minio
* [ts] Remove superfluous node-pre-gyp dep
* [ts] Pin jsonwebtoken to 9.0.0
* [grpc] Update grpc-toolsis
* [ts] Upgrade from mocha-typescript to @testdeck/mocha
* fix rimraf
2023-07-03 14:47:19 +08:00
Milan Pavlik
2933eeef54
Upgrade ts-node to 10.4 WEB-575, WEB-576 ( #18102 )
...
* Upgrade ts-node to 10.4
* [server] Make typings work in workspace AND leeway
* [leeway] Increase node heap size to 8GB
---------
Co-authored-by: Gero Posmyk-Leinemann <gero@gitpod.io>
2023-06-30 20:26:48 +08:00
Anton Kosyakov
f580e6bd00
fix SID-285: hook scrubber as logrus formatter ( #17781 )
2023-06-29 17:16:47 +08:00
Wouter Verlaek
cbc8b38a91
[ws-daemon] Add OWI to logs ( #18017 )
2023-06-22 21:44:12 +08:00
Gero Posmyk-Leinemann
909955d2c4
[db, ts] Introduce a generic db.transaction() ( #17980 )
...
* [ts] Upgrade inversify 5.0.1 -> 6.0.1
* [server, db] Introduce TransactionalDB for User, Workspace, Projects
* Fix tests
2023-06-21 16:12:11 +08:00
Gero Posmyk-Leinemann
54307a551e
[server] Remove dead permissions code ( #17918 )
2023-06-19 17:45:10 +08:00
Thomas Schubart
20164cbb4a
[wsman-mk2] Simplify condition checking ( #17961 )
2023-06-17 22:59:07 +08:00
Thomas Schubart
4584f8fda9
[wsman-mk2] Change default class to g1-standard ( #17950 )
...
* [wsman-mk2] Change default class to g1-standard
* [preview] Update workspace classes
2023-06-15 20:23:05 +08:00
Thomas Schubart
c729eb8dd9
[ws-manager-mk2] Make workspace class limiting the default ( #17917 )
...
* [wsman-api] Remove class limiting feature flag
* [wsman-mk2] Remove class limiting feature flag
2023-06-15 17:15:05 +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
e4688a23a7
[ws-manager-mk2] Configure max workspace lifetime ( #17767 )
...
* [wsman-api] Add maximum lifetime to workspace request
* [wsman-api] Add maximum lifetime to workspace CRD
* [wsman] Set maximum lifetime during workspace start
* [wsman] Check custom max lifetime
* [wsman-api] Fix conflicting raw proto
* [wsman-mk2] Test custom max lifetime
2023-06-12 19:25:02 +08:00
Thomas Schubart
fe08421325
[ws-daemon] Remove full workspace backup ( #17803 )
2023-06-01 17:36:06 +08:00
Kyle Brennan
1a7c50a8b5
[ws-manager-mk2] support storage quotas ( #17606 )
...
* [ws-manager-mk2] add support for storage quotas
This way, on workspace create, `ws-daemon` can set XFS limits for `/workspace`
* [preview] set smaller /workspace limits
This way we don't have to spend more on preview environments.
* [ws-daemon] warn when xfs is missing
* Partial revert of "Revert "[ws-daemon] Restart IWS if ws-daemon is restarted (#17552 )" (#17645 )"
This reverts commit e082b7f48885199013df927d3c71c62935f74047.
It avoids reverts on notify.go and workspace_provider.go.
* [ws-daemon] log when handling running workspaces
* [test] add test for xfs quotas
2023-05-19 20:49:53 +08:00
Pudong
176393a0c8
Add support to forward https protocol port ( #17644 )
...
* add support to forward https protocol port
* Update components/ws-proxy/pkg/proxy/routes.go
Co-authored-by: Kyle Brennan <kyle@gitpod.io>
---------
Co-authored-by: Kyle Brennan <kyle@gitpod.io>
2023-05-19 15:22:53 +08:00
Wouter Verlaek
da50b8ceb6
[ws-manager-mk2] Cleanup and fail workspaces when node disappears ( #17599 )
...
* [ws-manager-mk2] Cleanup and fail workspaces when node disappears
* Cache nodes
* Fix test, and reconcile ws when node gets deleted
2023-05-15 22:53:00 +08:00
Wouter Verlaek
bfa7b301b7
[ws-manager-mk2] Fix headless task failures ( #17429 )
2023-04-28 19:26:36 +08:00
Manuel Alejandro de Brito Fontes
891cd5417d
Update k8s dependencies to v0.26.2 ( #17211 )
...
* Update k8s dependencies to v0.26.2
* Update controller-runtime to v0.14.6
* Update cloud storage
https://github.com/googleapis/google-cloud-go/issues/6857
* Update copy options
* Update wolfi image
* Remove controller-runtime replace directives
* Fix integration tests
2023-04-18 03:59:49 +08:00
Manuel Alejandro de Brito Fontes
27979c9395
Update go dependencies ( #17101 )
...
* Update go dependencies
Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
* Update runc to v1.1.5
* Update docker cli to v23.0.2+incompatible
---------
Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
2023-04-12 10:03:52 +02:00
Wouter Verlaek
06ec36b564
[ws-manager-mk2] Refactor metrics with EverReady condition ( #17114 )
...
* [ws-manager-mk2] Refactor metrics with EverReady condition
* Fix test, default failure message
* Add stop reason metric
2023-04-08 11:57:48 +02:00
Pudong
24c401ab78
[ws-manager-mk2] support custom closed timeout ( #16988 )
...
* [ws-manager-mk2] support custom closed timeout
* Default to the RegularWorkspace timeout
* remove code
---------
Co-authored-by: Wouter Verlaek <wouter@gitpod.io>
2023-03-31 20:05:40 +02:00
Thomas Schubart
697d81ecbf
[ws-manager-mk2] Introduce experimental mode ( #17048 )
...
* [installer] Add experimental mode for mk2
* [wsman-mk2] Use ExperimentalMode flag
2023-03-28 17:56:26 +02:00
Wouter Verlaek
c14a25cfdf
[ws-manager-mk2] Report content init/dispose failures ( #17015 )
2023-03-27 17:22:25 +02: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
Wouter Verlaek
57840fc6ed
[ws-manager-mk2] Refactor maintenance mode to end at a timestamp ( #16925 )
...
* [ws-manager-mk2] Maintenance until
* Fix configmap
* Always show field
* Remove todo
2023-03-22 16:39:14 +01:00
Manuel Alejandro de Brito Fontes
5b30eb5b8c
Remove unused caCertSecret ( #16793 )
...
* Add trust.cert-manager.io for to bundle CA certificates
Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
* Configure CA volume and volumemount in components
* Update ws-manager golden files
* Deploy trust manager in preview
* Remove duplicated volume
* Update installer golden files
* Generate a bundle only for registry-facade
* Update golden files
* Fix initcontainer volume mounts
* Update golden files
* Fix registry-facade certificate
* Update golden files
* Disable skip_verify
* Enable force conflict with apply server side
Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
* Avoid random werft namespace errors
Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
---------
Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
2023-03-21 11:44:13 +01:00
Thomas Schubart
42a3602fce
[ws-manager-mk2] Emit events for workspaces and snapshots ( #16907 )
...
* [wsman-mk2] Emit workspace events
* [installer] Permissions for events
* [ws-man-mk2] Emit snapshot events
* [installer] Update render tests
* [wsman-mk2] Include review comments
2023-03-20 13:59:12 +01:00
Wouter Verlaek
3a561bf274
[ws-manager-mk2] Check empty ns, delete secrets before finalizer ( #16900 )
2023-03-20 11:32:12 +01:00
Thomas Schubart
ace513ad7e
[ws-manager-mk2] Refactor workspace status conditions ( #16896 )
...
* [wsman-mk2] Refactor conditions
* [wsman-mk2] Specify reason
2023-03-20 11:10:12 +01:00