319 Commits

Author SHA1 Message Date
Pudong
e102e72e84
[installer] fix mirror list get empty image (#19503) 2024-03-05 11:03:14 +02:00
Aleksandar
325e9fada7
[installer] add flags with ability to overwrite [repository, domain] in the config file for mirror list (#17207) 2023-04-17 17:47:49 +08:00
Manuel Alejandro de Brito Fontes
33a6144aa7
Remove golden files (#16979)
* Remove golden files

* Remove unused variable
2023-03-22 20:43:14 +01:00
Milan Pavlik
ed3231225e
[redis] Add explicit network policy (#16974) 2023-03-22 17:17:14 +01:00
Milan Pavlik
cb46c91b9f
[redis] Add role-binding & rbac proxy to scrape metrics (#16927)
* [redis] Add role-binding

* installer generated

* fix

* fix

* fix
2023-03-21 14:05:13 +01:00
Anton Kosyakov
2ae45cd29e
[jb] deploy latest backend plugin via usual deployment (#16938) 2023-03-21 11:53:13 +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
Pudong
c0d6fa978d
[gitpod-cli] change gp rebuild to gp validate (#16867)
* [gitpod-cli] change `gp rebuild` to `gp validate`

* fix `await-port` and `forward-port` command backward compatible

* Change the reference to `gp rebuild`

* update `gitpod-web` extension ref 3b076b9103
2023-03-17 06:51:08 +01:00
Filip Troníček
44ecb14d3d
Update VS Code Browser to 1.76.2 (#16870)
* Update VS Code Browser to `1.76.2`

* Update stable

* Update tests

* Fix the commit location aaargh

* Update test v2
2023-03-16 15:32:08 +01:00
Jean Pierre
6217a0c893
Allow vscode desktop error report (#16871) 2023-03-16 10:34:08 +01:00
Thomas Schubart
c800175c72
[ws-manager-mk2] Protect tokens (#16806)
* [wsman-mk2] Create token secret

* [installer] Fix casing for namespace type metadata

* [installer] Create secrets namespace

* [installer] Configure roles and bindings

* [installer] Move namespace constant to common pkg

* [installer] Create permissions for ws-daemon

* [wsman-mk2] Watch on multiple ns

* [ws-daemon] Use token secret

* [wsman-mk2] Remove secret from initializer

* [wsman-mk2] Test token secret

* [werft] Fix document index

* [installer] Update render tests

* [wsman-mk2] Fix imports

* [wsman-mk2] Ensure maintenance controller required permissions

* [wsman-mk2] Retry deleting secret

* [installer] Ensure objects in secrets namespace are only created with mk2 option
2023-03-15 12:57:07 +01:00
Manuel Alejandro de Brito Fontes
97f8d4b802
Ensure the spread of pods on different nodes (#16810)
* Ensure the spread of pods on different nodes

* Replace string ClusterFirst

* Replace Always string in DNSPolicy

* Fix registry-facade affinity

* Fix ws-proxy affinity

* Address feedback

* Update golden files
2023-03-15 10:21:07 +01: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
Filip Troníček
41f226c544
Update VS Code Browser to 1.76.1 (#16791)
* Update VS Code Browser to `1.76.1`

* Update stable
2023-03-13 09:26:48 +01:00
Jean Pierre
ca02b3f83b
Add custom supervisor metrics (#16745)
* Add custom supervisor metrics

Co-authored-by: Huiwen <mustard-mh@users.noreply.github.com>

* Add to allowlist

* Normalize error

---------

Co-authored-by: Huiwen <mustard-mh@users.noreply.github.com>
2023-03-10 20:54:46 +01:00
Huiwen
99dbc27ce5
[code-web-extension] fix PortsViews icons doesn't show up in Safari (#16799) 2023-03-10 16:02:46 +01:00
Manuel Alejandro de Brito Fontes
218f64f7c1
Replace node labeler component with a dedicated deployment (#16712)
* Replace node labeler component with a dedicated deployment

* Update go modules

* Fix invalid module name

* Fix modules
2023-03-09 23:38:45 +01:00
Milan Pavlik
9110a66b46
[server] Mount admin-credentials (#16760)
* fix

* Fix

* Fix
2023-03-09 12:15:45 +01:00
Anton Kosyakov
4d053ed316
[rebuild] fix VS Code Desktop actions (#16720) 2023-03-09 10:40:45 +01:00
Milan Pavlik
4269a7ce42
[installer] Add OpenTelemetry env variables to tracing (#16668)
* [installer] Add OpenTelemetry env variables to tracing

* fix
2023-03-09 09:02:45 +01:00
Milan Pavlik
8d187a7785
[redis] Add prometheus exporter (#16690)
* [redis] Add prometheus exporter

* fix

* fix
2023-03-09 09:00:45 +01:00
Huiwen
b48dc338f8
Add x-client in ide-metrics component (#16701)
* [ide-metrics] add to add global client header to metrics

* [ide-metrics] fix default value fallback

* [installer] update ide-metrics configmap

* [supervisor] report metrics with `x-client`
2023-03-07 11:36:04 +01:00
Anton Kosyakov
69226619e1
bump up gitpod-code to pick up fixes for rebuild hints (#16692) 2023-03-06 20:27:04 +01:00
Manuel Alejandro de Brito Fontes
ec6b911f24
Simplify image-builder-mk3 and registry-facade init containers (#16633)
* Simplify image-builder-mk3 and registry-facade init containers

* Include new image-builder-mk3-wsman deployment

* Wait before updating node labels

* Ensure the loop runs more than once
2023-03-03 19:48:01 +01:00
Christian Weichel
da4cafd5e5
Gitpod OIDC Identity Provider (#16482)
* Prototype IDP provider

* [gp cli] Add IDP commands

* [public-api] Remove zitadel based IDP implementation

* [gitpod-cli] Add IDP support for Vault

* [idp] Remove per-org IDP

* [idp] Add key cache and random key IDs

* [idp] Defer GetIDToken authorisation to server

* [idp] Add Redis public key cache

* [gitpod-cli] Hide IDP commands

* [idp] Add key ID to JWT

* [idp] Add unit tests

* [idp] Adress review comments

* [public-api-server] Use logging middleware globally

* [public-api-server] Simplify service registration

* [idp] Add Redis outage resilience
2023-03-03 17:11:01 +01:00
Manuel Alejandro de Brito Fontes
41ddf50849
[ws-daemon] Check connection to containerd socket (#16654)
* Check connection to containerd socket

* Mount containerd socket directory to avoid reconnect issues if containerd restarts

* Update golden files

* Break loop
2023-03-03 12:59:01 +01:00
Milan Pavlik
8ed4b8939b
[redis] Fix readiness probe (again) (#16655) 2023-03-03 12:52:00 +01:00
Pudong
b1ed3bf187
[ws-manager-mk2] not render image-builder-mk3-wsman if not use mk2 (#16639)
* [ws-manager-mk2] not render image-builder-mk3-wsman if not use mk2

* Add missing CODEOWNERS
2023-03-02 20:35:00 +01:00
Filip Troníček
32adcb9772
Update VS Code Browser to 1.76 (#16590)
* Update VS Code Browser to `1.76`

* also change `codeVersion`

* Update commit

* Update commit

* Update commit

* Update VS Codde Browser stable

---------

Co-authored-by: Jean Pierre <jeanp413@hotmail.com>
2023-03-02 16:24:00 +01:00
Thomas Schubart
0f190439c2
[ws-manager-mk2] Setup separate image builder deployment for mk2 (#16519)
* [installer] Setup seperate image builder deployment for mk2

* [image-builder] Route to wsman-mk2

* [wsman-mk2] Set default class

* [installer] Update render tests

* [ws-manager-mk2] Use image builder secret

* [image-builder] Update render tests
2023-03-02 12:31:59 +01:00
Milan Pavlik
aa2373fe5b
[redis] Fix readiness probe (#16599) 2023-03-01 15:13:58 +01:00
Manuel Alejandro de Brito Fontes
b958873e90
Allow registry-facade and ws-daemon to run in dedicated GPU node pools (#16608)
* Allow registry-facade and ws-daemon to run in dedicated GPU node pools

* Update golden files
2023-03-01 12:23:58 +01:00
Manuel Alejandro de Brito Fontes
dc69bb20ca
Remove host controller from ws-daemon (#16615)
* Remove host controller from ws-daemon

* Configure /etc/hosts file in registry-facade

* Update golden files
2023-03-01 00:55:58 +01:00
Milan Pavlik
a0b79e3844
Remove toxiproxy (#16450)
* [proxy] Remove slow-server config

* [installer] Remove slowserver

* [proxy] Remove slow-server config

* [installer] Remove slowserver

* Remove toxiproxy

* Fix
2023-02-27 14:21:57 +01:00
Milan Pavlik
417ca154f7
[installer] Remove cloud-sql-global (#16452) 2023-02-27 13:43:57 +01:00
Milan Pavlik
66aebf3943
[installer] Remove slowserver (#16449)
* [proxy] Remove slow-server config

* [installer] Remove slowserver
2023-02-27 13:36:57 +01:00
Manuel Alejandro de Brito Fontes
329e56580e
Switch registry-facade from hostPort to nodePort and remove hostPort from ws-daemon (#16518)
* Switch registry-facade and ws-daemon from hostPort to nodePort

* Update golden files

* Update ports

* Remove old setting

* Remove $WS_DAEMON_PORT

* Switch to podIP

* Tune GCE VM

* Use withObservability flag
2023-02-24 21:40:54 +01:00
Jean Pierre
4415b3c283
Update gitpod-web extension (#16541) 2023-02-24 07:59:54 +01:00
Anton Kosyakov
26c520c6b1
[gitpod-code] gp rebuild hints experiment (#16514) 2023-02-23 16:52:53 +01:00
Thomas Schubart
116a5b97b2
[ws-manager-mk2] Support workspace snapshots (#16471)
* [ws-manager-mk2] Scaffold snapshot CRD

* [ws-mangaer-mk2] Generate snapshot type

* [ws-manger-mk2] Provide snapshot endpoint

* [ws-daemon] Handle snapshots

* [ws-manager-mk2] Harmonize imports

* [ws-manger-mk2] Set owner reference

* [installer] Install snapshot CRD

* [ws-manager-api] Fix descriptions

* [ws-manager-mk2] Review comments

- Name controller
- Return early in case of error
- Reduce scope of permissions
2023-02-23 16:45:53 +01:00
Anton Kosyakov
cca07f15ed [ide-service] remote gp-run experiment 2023-02-20 16:10:50 +01:00
Huiwen
a4492a27ee [code] update stable code to bring encryption 2023-02-17 16:28:22 +01:00
Thomas Schubart
22a5fc3225 [registry-facade] Use multiple remote spec providers 2023-02-14 11:41:19 +01:00
Sven Efftinge
181076af92 [server] disable long migrations via config 2023-02-13 16:14:18 +01:00
Filip Troníček
de941d8c0c Update VS Code Browser to 1.75.1 2023-02-10 17:16:15 +01:00
Pudong Zheng
4b07cc41b4 [vscode] allow user custom workspace timeout 2023-02-10 16:58:15 +01:00
Milan Pavlik
460ccb0981 [redis] Deploy component 2023-02-10 15:34:15 +01:00
Huiwen
1b65866429 [gitpod-web-extension] fix supervisor notify request not await 2023-02-10 15:25:15 +01:00
Huiwen
61c4bd15ec [gitpod-web-extension] update extension to improve open desktop ide prompt 2023-02-09 16:44:14 +01:00