115 Commits

Author SHA1 Message Date
Gero Posmyk-Leinemann
5d557f73c8
[spicedb] Fix intermittent "Error: 4 DEADLINE_EXCEEDED...Waiting for LB pick" (#20637)
* [dev] Bump grpc/grpc-js 1.10.8 -> 1.12.6 and authzed/authzed-node 0.15.0 -> 1.2.2

Tool: gitpod/catfood.gitpod.cloud

* [server] Streamline spicedb gRPC client usage and creation options

 - instead of doing retries on two levels, rely on the gRPC-level retries
 - to mitigate the loss of insights, introduce createDebugLogInterceptor
  - client options: use sane defaults derived from the documentation instead of the excessive ones we had in place before
  - use "waitForReady" option: it should a) make our calls for responsive on re-connects, while b) - because we keep re-trying on DEADLINE_EXCEEDED - should be as reliable as before

Tool: gitpod/catfood.gitpod.cloud

* [protocol] Centralize grpc.isConnectionAlive

Tool: gitpod/catfood.gitpod.cloud

* [server] SpiceDB client: retry with new client on "Waiting for LB pick" error

Tool: gitpod/catfood.gitpod.cloud
2025-03-17 05:13:46 -04:00
Kyle Brennan
58c9a1808a
[ws-manager-mk2] update to support k8s 0.30 API (#20580)
* [go components] Fixed "go test ./..." in various components

Tool: gitpod/catfood.gitpod.cloud

* [go components] Update k8s 0.29.3 -> 0.30.9 API

 - update the go-update-wc-deps.sh script to handle the brunt of that transition
 - fixes Maintenance- + Subscriber-Controller
 - document steps

Tool: gitpod/catfood.gitpod.cloud

* [ws-manager-mk2] Decide how to apply appamor config based on serverversion to support k8s 1.30+

Tool: gitpod/catfood.gitpod.cloud

* [gpctl] Missing go mod tidy

Tool: gitpod/catfood.gitpod.cloud

* Replace vulnerable outcaste-io/badger/v3 with original dgraph-io/badger/v3

Tool: gitpod/catfood.gitpod.cloud

* more go mod tidy

Tool: gitpod/catfood.gitpod.cloud

* [image-builder-bob, installer] Select the correct version of containerd....

Tool: gitpod/catfood.gitpod.cloud

---------

Co-authored-by: Gero Posmyk-Leinemann <gero@gitpod.io>
2025-02-07 03:58:22 -05:00
Gero Posmyk-Leinemann
2686bc2f47
[server, bridge] Bump grpc-js and authzed clients (#19849)
* [yarn] Bump @grpc/grpc-js to 1.10.8 and @authzed/authzed-node to 0.15.0

* [server] SpiceDB: explicit re-try on UNAVAILABLE

We tried to configured this inside the SpiceDBClientProvider already, but somehow it still surfaced.

* [server, bridge] Configure "grpc.dns_min_time_between_resolutions_ms" to be 2s instead of 30s
2024-06-06 13:57:19 +08:00
Pudong
b2592b14cc
[image-build] refactor image build (#19474)
* add experimental config for set baseImageRepo and workspaceImageRepo

* use crane speed up build workpace image layer

* refactor image build logic

* Indicate when BuildStarted fails

* Revert "Indicate when BuildStarted fails"

This reverts commit 11f36f1b76164a3777d27430dd35aacb322fe2f4.

* Apply suggestions from code review

Co-authored-by: Kyle Brennan <kyle@gitpod.io>

* update readme

* remove warn

---------

Co-authored-by: Kyle Brennan <kyle@gitpod.io>
2024-03-28 13:54:37 +01:00
Manuel Alejandro de Brito Fontes
5992b0f614
Update go dependencies (#19577)
* Update go dependencies

* Update S3

* Caddy plugins cannot use 1.22

* Update controller runtime signatures

* Update webhook suite test

* Update IPFS signatures

* Update go modules

* Update ipfs-cluster to v1.0.8

* Fix node-labeler build

* Fix IPFS CID parsing

* Update ipfs-cluster version

* Update controller-runtime signature

* Update statefulset signature

* Disable controller-runtime metrics

* Add comments
2024-03-26 20:55:35 +01:00
Wouter Verlaek
185c0428c2
[scrubber] Improve KeyValue performance (#19052)
* [scrubber] Improve KeyValue performance

* Update benchmark comment

* update go mod

* Add metaID to hashed fields

---------

Co-authored-by: Pudong Zheng <pudong@gitpod.io>
2023-11-10 16:17:48 +02:00
Thomas Schubart
9f5c35cf45
Extend subassembly service with manifest (#18896) 2023-10-09 15:51:17 +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
Sven Efftinge
841b616c34
[spicedb] fix stale connection handling (#18631) 2023-09-01 12:53:58 +02:00
Kyle Brennan
f0617d86ef
[image-builder-api] log more, traces aren't always available (#18579)
* [image-builder-api] log more, traces aren't always available

* [server] log interesting params for actuallyStartWorkspace

* Log params when starting actuallyStartWorkspace

Co-authored-by: Milan Pavlik <milan@gitpod.io>

* [image-builder-api] don't bother logging source

It's redacted

---------

Co-authored-by: Milan Pavlik <milan@gitpod.io>
2023-08-23 16:32:49 +02:00
Manuel Alejandro de Brito Fontes
64994160d9
Remove FUSE support (#18536)
* Remove FUSE support

* Update docs

* Remove fuse-overlayfs

* Fix installer validation
2023-08-18 16:13:44 +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
Christian Weichel
59900e8dc2
Add ECR authentication support to image-builder (#18506)
* Add ECR auth support

* Add EnableAdditionalECRAuth to Gitpod config

* Simplify ECR integration

* Make TrustedValue interface implementable

* Allow ECR registries by default
2023-08-14 10:36:40 +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
Anton Kosyakov
f580e6bd00
fix SID-285: hook scrubber as logrus formatter (#17781) 2023-06-29 17:16:47 +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
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
Milan Pavlik
0e2ec6cd24
Remove usage of applicationCluster column from WorkspaceCluster (#16824)
* Remove usage of applicationCluster column from WorkspaceCluster

* fix

* Fix

* fix

* Fix

* fix

* Fix

* fix

* Fix

* Fix

* fix
2023-03-14 13:13:07 +01:00
Milan Pavlik
e4e05143e2
[baseserver] Initialize tracer with server (#16586)
* [baseserver] Initialize tracer with server

* fix

* Fix

* fix
2023-03-03 14:57:01 +01:00
Gero Posmyk-Leinemann
3a854eb450 [server] Male sure to only ever finish this span once 2023-02-08 16:50:47 +01:00
Sven Efftinge
74aa6db6e4 [ws-manager-api] Add region for cluster selection 2023-02-08 10:51:46 +01:00
Anton Kosyakov
ab0f640656 fix #15266: decouple deployment of supervisor for image builds 2022-12-12 12:28:22 -03:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Andrew Farries
2ede9de6e0 Pass applicationCluster everywhere
Connect the configured installationShortname aka applicationCluster from
server, ws-manager-bridge, and the image-builder-api to workspace
cluster provider.
2022-10-26 17:26:42 +02:00
Milan Pavlik
560b45cca5 [image-builder] Do not log full request, unless in debug mode 2022-10-21 09:48:36 +02:00
Manuel Alejandro de Brito Fontes
d5eb5815b5 Update to 1.19 2022-10-04 15:17:22 +02:00
Manuel Alejandro de Brito Fontes
000cadead8 Update grpc code 2022-10-04 15:17:22 +02:00
Manuel Alejandro de Brito Fontes
3f6cbd07f1 Update go dependencies 2022-10-04 15:17:22 +02:00
Milan Pavlik
4ed6a9b195 [image-builder-mk3] Use baseserver 2022-10-03 11:10:19 +02:00
Christian Weichel
d6023c989a Revert "Switch to Go workspaces"
This reverts commit 6bc34cf17512cb0a10a3a6cce44141b1f06b624e.
2022-09-29 05:28:29 +02:00
Christian Weichel
174a09222f Revert "Run go work sync"
This reverts commit 6b23167e09f74062b31150d4044a8fe7cacbc34b.
2022-09-29 05:28:29 +02:00
Christian Weichel
6b23167e09 Run go work sync 2022-09-28 08:45:28 +02:00
Christian Weichel
6bc34cf175 Switch to Go workspaces 2022-09-28 08:45:28 +02:00
Manuel Alejandro de Brito Fontes
438ffab694 Update k8s dependencies to v0.24.4 2022-08-23 08:18:39 +02:00
Manuel Alejandro de Brito Fontes
7b4a885ee3 Update k8s dependencies to v0.24.3 2022-08-23 08:18:39 +02:00
Jean Pierre
3014435230 Match google-protobuf version across components 2022-08-17 08:14:33 +02:00
Gero Posmyk-Leinemann
2dc450d595 [protocol, et al] Extract gRPC ClientCallMetrics into protocol 2022-07-20 09:31:15 -03:00
Gero Posmyk-Leinemann
6ace17b547 [server] Use workspace cluster as image-builder (feature flag: "movedImageBuilder") 2022-07-12 14:40:59 +05:30
Gero Posmyk-Leinemann
87f2e3d395 [image-builder] Format sugar.ts 2022-07-12 14:40:59 +05:30
JenTing Hsiao
856371178d Revert "Update k8s dependencies to v0.24.2"
This reverts commit 2911bc3283c2b79aacde0d16bce056de62eb696b.
2022-07-05 11:11:01 +02:00