127 Commits

Author SHA1 Message Date
Christian Weichel
337f8f3960
Bump golang.org/x/crypto (#20683)
* Bump golang.org/x/crypto

* Don't bump toolchain

* go mod tidy

* go mod tidy

* Fix proxy build
2025-03-21 06:49:50 -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
iQQBot
663fcb9587
[ws-proxy] upgrade golang-crypto (#20499)
* [ws-proxy] upgrade golang-crypto

* Upgrade all direct deps

* Upgrade `golang.org/x/crypto` to v0.31.0

* bump up

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>
2025-01-08 01:31:23 -05:00
mustard
825fb445e7
Reapply "[supervisor] set pod failure reason when supervisor is reaped" (#20327)
* Revert "[supervisor] revert recent changes to reduce frequency of `supervisor run error with unexpected exit code` (#20325)"

This reverts commit 3f066ce935d282d20c3098fbc6c7f6d2d5b1f152.

* Ignore expected case: pod kill / process kill by supervisor

* Debug commit

* fix

* Revert "Debug commit"

This reverts commit 1473e3d147c5f20e65f0a44a67d48dfd8bf9b258.
2024-10-30 15:05:56 -04:00
Kyle Brennan
3f066ce935
[supervisor] revert recent changes to reduce frequency of supervisor run error with unexpected exit code (#20325)
* Revert "[supervisor] switch lib back to use upstream `ramr/go-reaper` (#20322)"

This reverts commit 9442b52b9a1ade40857d16c65dca7993703bc5d9.

* Revert "[supervisor] set pod failure reason when supervisor is reaped (#20318)"

This reverts commit 9e8da3bdd041b1a42fd8d2ef1d732907bb0630c7.
2024-10-28 23:14:54 -04:00
mustard
9442b52b9a
[supervisor] switch lib back to use upstream ramr/go-reaper (#20322) 2024-10-28 05:53:54 -04:00
mustard
9e8da3bdd0
[supervisor] set pod failure reason when supervisor is reaped (#20318)
* [supervisor] set pod failed reason when supervisor been reap

* Debug commit

* upgrade pkg

* Revert "Debug commit"

This reverts commit 1b6bde80c410034b62e235438b8f7262fa7f63b6.
2024-10-25 09:04:55 -04: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
Manuel Alejandro de Brito Fontes
8ef82ff356
Update go modules to 1.21 (#18805) 2023-09-26 17:52:05 +03: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
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
Anton Kosyakov
d4592d44d4
fix EXP-19: allow access to supervisor logs within a workspace (#18322) 2023-07-20 22:33:36 +08:00
Pudong
9bb400b0e8
[supervisor] improve docker activation (#18284)
* Revert "Revert "[supervisor] improve docker activation (#18143)" (#18236)"

This reverts commit 9b21205074aff9fb4474354195e77b8827fdf7aa.

* only start docker activation if content is ready
2023-07-17 17:11:33 +08:00
Filip Troníček
9b21205074
Revert "[supervisor] improve docker activation (#18143)" (#18236)
This reverts commit 0f9d3192fbba4922d122fefd4d6e070f56efb551.
2023-07-11 20:29:28 +08:00
Anton Kosyakov
0f9d3192fb
[supervisor] improve docker activation (#18143)
* [supervisor] fix leaking docker sockets

* [supervisor] remote outcome for gitpod_activate_docker

* [supervisor] don't log expected docker activation socket errors

* [supervisor] add max retries on exit code errors

* only notification if not in headless and logFile successful created

* move retry logic to listener

* change max retry attempts

* ignore canceled error

* add sleep

---------

Co-authored-by: Pudong Zheng <tianshi8650@gmail.com>
2023-07-11 17:50:28 +08:00
Manuel Alejandro de Brito Fontes
57c605ddc4
Cleanup scrubber go module dependency (#18149) 2023-07-04 16:37:21 +08:00
Manuel Alejandro de Brito Fontes
e2c416c442
Fix build error undefined: scrubber.TrustedValue (#18134) 2023-07-03 16:45:20 +08:00
Anton Kosyakov
f580e6bd00
fix SID-285: hook scrubber as logrus formatter (#17781) 2023-06-29 17:16:47 +08:00
Pudong
c1e80f5f8d
Support forward https protocol port (#16547)
* introduce this feature to user

* use tcp proxy
2023-05-31 14:41:05 +08:00
Huiwen
6474e9f25e
Revert "use nftPortForwarder" (#17690)
it will cause port not accessible if it only listen on localhost
2023-05-22 16:38:56 +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
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
Manuel Alejandro de Brito Fontes
846510d06b
Fix supervisor memory and CPU stats (#16861)
* Fix supervisor memory and CPU stats

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>

* Update supervisor go modules

---------

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
2023-03-27 16:33:25 +02:00
Anton Kosyakov
f260c31439
[rebuild] decoule IDE env vars from registry-facade (#16812)
by moving in supervisor-ide-config.json
2023-03-13 13:24:48 +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
Manuel Alejandro de Brito Fontes
b336a5cb65 Update go dependencies 2023-02-10 09:24:15 +01:00
JenTing Hsiao
6794550e21 Update go modules
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2023-01-19 09:59:26 +01:00
Anton Kosyakov
697696029b [gp-run] experimental workspace config debug mode
Co-authored-by: Anton Kosyakov <anton@gitpod.io>
Co-authored-by: Victor Nogueira <victor@gitpod.io>
Co-authored-by: Andrea Falzetti <andrea@gitpod.io>
2023-01-09 06:32:48 +01:00
Jean Pierre
6f29dd45b4 Set default cols and rows when creating a pty
Align attributes with node-pty

Related https://github.com/gitpod-io/gitpod/issues/8055
2022-12-20 05:46:29 -03:00
mustard
f4ea3a56a1 Revert "Revert "[supervisor] use public api in supervisor""
This reverts commit 44dfc5e19be3b89d96ab25f2f83476d57aa7b8ef.
2022-12-12 09:05:22 -03:00
Christian Weichel
799e6059c4 [content-service] Implement support for S3 2022-12-09 10:29:19 -03:00
Huiwen
44dfc5e19b Revert "[supervisor] use public api in supervisor"
This reverts commit f3fcfbf003425f947bf3a0a28e452709623b6d74.
2022-12-09 08:21:19 -03:00
mustard
f3fcfbf003 [supervisor] use public api in supervisor
Co-authored-by: mustard <mhqnwt@gmail.com>
Co-authored-by: Anton Kosyakov <anton@gitpod.io>
Co-authored-by: Jean Pierre <jeanp413@hotmail.com>
Co-authored-by: iQQBot <tianshi8650@gmail.com>
2022-12-08 17:48:18 -03:00
Anton Kosyakov
bbdda647d7 fix #13710: reduce cost of supervisor observability
Co-authored-by: Pudong tianshi8650@gmail.com
2022-10-18 08:55:33 +02:00
Sven Efftinge
fef62f3e9e [supervisor] shutdown processes gracefully 2022-10-07 13:09:22 +02:00
Anton Kosyakov
2a7b920da7 random exponential backoff of port exposure 2022-10-05 11:16:20 +02:00
Anton Kosyakov
08a8412774 random exponential backoff of server connections 2022-10-05 11:16:20 +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
3f6cbd07f1 Update go dependencies 2022-10-04 15:17:22 +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
Milan Pavlik
6f461f5714 [baseserver] Track metrics for HTTP requests automatically 2022-09-20 09:05:21 +02:00
mustard
95fa4439e5 [gp-cli] provide workspace class info in top command 2022-08-30 10:25:14 +02:00
Manuel Alejandro de Brito Fontes
438ffab694 Update k8s dependencies to v0.24.4 2022-08-23 08:18:39 +02:00