596 Commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
92853b5180
Update runc to v1.1.9 (#18495)
* Update runc to v1.1.9

* Update runc to v1.1.9

* Update runc test
2023-08-11 18:12:37 +02:00
Kyle Brennan
79df02b0ed
[ws-daemon] additional logging for markunmount (#18486)
Relates to ENG-473
2023-08-11 14:14:37 +02:00
Robo Quat
6292b66b06
update index (#18434)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-08-05 13:15:31 +08:00
Robo Quat
60cea25d6b
update index (#18422)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-08-03 21:29:29 +08:00
Wouter Verlaek
1d68d002d5
[ws-daemon] Fix workspace location for log backup (#18401)
* [ws-daemon] Fix workspace location for log backup

* Update integration test to check for uploaded logs
2023-08-02 17:36:27 +08:00
Robo Quat
5a7b3467f3
update index (#18396)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-08-01 19:06:26 +08: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
Robo Quat
72d59cb859
update index (#18352)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-07-27 15:13:28 +08:00
Robo Quat
ba59f2e90c
update index (#18324)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-07-21 17:40:37 +08:00
Robo Quat
dd5ae6b6b5
update index (#18251)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-07-20 20:52:36 +08:00
Robo Quat
d44af7a7e1
update index (#18047)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-07-10 18:50:27 +08:00
Manuel Alejandro de Brito Fontes
5ae94d2bb6
Update ws-daemon gcloud dependency (#18193) 2023-07-07 18:02:24 +08:00
Thomas Schubart
bfcb6e308f
Log ip address for default gateway (#18180) 2023-07-06 03:11:22 +08:00
Wouter Verlaek
516b67cfbc
[test] Fix slack footer and improve ws-daemon log (#18168)
* [test] Fix slack footer

* Add OWI and err size log
2023-07-05 19:01:22 +08:00
Thomas Schubart
4d9831e1d3
Log network link state (#18172)
* [nsinsider] Dump network info

* [ws-daemon] Dump network info in case of error
2023-07-05 16:56:22 +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
Robo Quat
423ce2ffc9
update index (#18010)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-06-23 15:34:13 +08:00
Wouter Verlaek
cbc8b38a91
[ws-daemon] Add OWI to logs (#18017) 2023-06-22 21:44:12 +08:00
Thomas Schubart
20164cbb4a
[wsman-mk2] Simplify condition checking (#17961) 2023-06-17 22:59:07 +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
Robo Quat
b27795e15c
update index (#17856)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-06-12 14:29:02 +08:00
Thomas Schubart
460875058f
[ws-manager-mk2] Remove ws-manager-mk2 from experimental section (#17848)
* [wsman-mk2] Remove ws-manager-mk2 from experimental

* [ws-daemon] Remove readiness check for service

* [ws-daemon] Use mk2 working area only

* [preview] Remove mk2 customization

* [installer] Remove constant
2023-06-06 22:56:57 +08:00
Robo Quat
99e74f600e
update index (#17662)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-06-02 15:05:07 +08:00
Thomas Schubart
fe08421325
[ws-daemon] Remove full workspace backup (#17803) 2023-06-01 17:36:06 +08:00
Thomas Schubart
588d2919de
[ws-manager-mk2] Remove workspace service (#17801)
* [ws-daemon] Remove workspace service

* [ws-daemon] Move metrics
2023-05-31 23:08:06 +08:00
Thomas Schubart
4dadd7be61
[ws-manager-mk2] Ensure restarting ws-daemon does not break running workspaces (#17711)
* [ws-daemon] Ensure backup can be taken

* [wskit] Retry mount call

* [ws-daemon] Ensure hard storage quota is applied

* [ws-daemon] Replace map with sync.Map
2023-05-25 20:46:59 +08:00
Thomas Schubart
2fb046fc1c
[wsman-mk2] Remove ws-manager-mk1 (#17738) 2023-05-25 17:05:59 +08:00
Kyle Brennan
80ac25ca97
[workspace] update deps for gen98 (#17719)
* [docker-up] update docker compose to 2.18.1-gitpod.2

* [workspace] update containerd

From v1.6.20 -> v1.6.21

* [image-builder-bob] fix build error after containerd update

Context:
[components/image-builder-bob:app] level=error msg="Running error: 1 error occurred:\n\t* can't run linter goanalysis_metalinter: buildir: failed to load package tracetransform: could not load export data: no export data for \"go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform\"\n\n"

* [preview] update VM image with fewer cached images

This will help us avoid pod eviction and improve stability

Related: https://github.com/gitpod-io/gitpod-packer-gcp-image/pull/235

* [test] more cowbell
2023-05-24 21:18:59 +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
Wouter Verlaek
09981c4661
[ws-daemon] Log backup failure error (#17655) 2023-05-17 22:39:51 +08:00
Wouter Verlaek
e082b7f488
Revert "[ws-daemon] Restart IWS if ws-daemon is restarted (#17552)" (#17645)
This reverts commit b84404abd559b4f14556b2ce94c76ab7b0c2bac3.
2023-05-17 18:10:51 +08:00
Thomas Schubart
b84404abd5
[ws-daemon] Restart IWS if ws-daemon is restarted (#17552)
* [ws-daemon] Restart IWS if ws-daemon is restarted

* [workspacekit] Back-off IWS interaction

* Post rebase fix

---------

Co-authored-by: csweichel <chris@gitpod.io>
2023-05-17 05:00:02 +08:00
Manuel Alejandro de Brito Fontes
6772864f10
Update runc to v1.1.7 (#17620) 2023-05-16 04:58:00 +08:00
Manuel Alejandro de Brito Fontes
4eff2355c1
Without RequeueAfter the concurrent reconciles will process immediately (#17567)
* Without RequeueAfter the concurrent reconciles will process immediately

* Fix metric test listening address collision
2023-05-11 22:11:56 +08:00
Thomas Schubart
b262fa428d
[ws-manager-mk2] Test automation for ws-daemon (#17502)
* [ws-daemon] Generate mocks

* [ws-daemon] Add tests

* [ws-daemon] Remove unused constant

* [ws-daemon] Find CRDs during leeway build

* Delete symlink

* Add dummy file

* [installer] Update go.mod
2023-05-10 17:59:55 +08:00
Thomas Schubart
9618c53d8b
[ws-daemon] Ensure correct cgroup path is returned when not QoS (#17535) 2023-05-08 20:44:46 +08:00
Robo Quat
2cd57728ae
update index (#17474)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-05-08 18:46:46 +08:00
Thomas Schubart
81a6623ac3
[wsman-mk2] Ensure stop reason is logged (#17517) 2023-05-05 23:21:43 +08:00
Robo Quat
ae59069ecf
update index (#17443)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-05-02 14:37:40 +08:00
Thomas Schubart
f78093f858
[wsman-mk2] Log reconcilliations (#17434) 2023-05-01 16:00:39 +08:00
Wouter Verlaek
c1e627a66f
[ws-manager-mk2] Improve reconcile err logging (#17419)
* [ws-manager-mk2] Improve reconcile err logging

* Update StopWorkspace err log

* Fix errors
2023-04-28 14:56:36 +08:00
Manuel Alejandro de Brito Fontes
c407cafe2e
Add new github action to update container images digest (#17349)
* Add new github action to update container images digest

* Add latest tag to dockerfiles

* Update .github/workflows/update-image-digest.yml

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

---------

Co-authored-by: Milan Pavlik <milan@gitpod.io>
2023-04-26 21:13:34 +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
c6facae79d
Update runc to v1.1.6 (#17204) 2023-04-14 16:33:53 +02:00
Kyle Brennan
8e0646a9d4
[go deps] update to containerd 1.6.20 (#17193) 2023-04-13 20:39:53 +02:00