578 Commits

Author SHA1 Message Date
Wouter Verlaek
db756b354e
[loadgen] Resubscribe and log ids (#17080) 2023-03-29 20:44:39 +02:00
Anton Kosyakov
d405f4bdfd
[jb] support testing of stable GW (#17073) 2023-03-29 15:47:39 +02:00
Kyle Brennan
235655e250
[dev image] update base image (#17019)
* [dev image] fix prebuilds & include build output of dev/* in Github Action Summary

Fixes prebuilds by leveraging the latest workspace-full.

It also adds `pup` to our dev image, so we can more parse HTML files using CSS selectors.

Lastly, it adds the output of dev/* builds to our Github Action summary, while removing the output from dev/image, which is too large.

* A couple more dev-environment references
2023-03-28 19:23:26 +02:00
Wouter Verlaek
c032c4f5f1
[preview] Fix preview env, remove /tmp/license refs (#17047) 2023-03-27 21:04:25 +02:00
Manuel Alejandro de Brito Fontes
172e1464fa
Remove references to enterprise licenses (#17008)
Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
2023-03-26 00:38:24 +01:00
Wouter Verlaek
ea5c7a6aab
[e2e] Support and fixes for mk2 e2e tests (#16990)
* [e2e] Support and fixes for mk2 e2e tests

* Fix GHA mk2 flag, add experimental label

* Add if

* Fix slack msg

* Empty-Commit again

---------

Co-authored-by: Kyle Brennan <kylos101@gmail.com>
2023-03-24 23:42:23 +01:00
Kyle Brennan
a2176718ec
[dev image] update to Jammy (#16718)
* [dev image] update to Jammy

Ref: https://github.com/gitpod-io/workspace-images/pull/1017

no more `python-dev`

ref:
https://github.com/lewagon/data-setup/issues/219#issuecomment-1207519811
https://wiki.termux.com/wiki/No_more_-dev_packages

* [dev image] update images latest dev image

* [ws-manager] avoid false positive linter errors

* [ws-daemon] fix ineffectual assignment for err

golangci-lint is catching more errors since upgrading to go 1.19.5

* Update to more recent gcloud

* Moar timeout
2023-03-22 19:37: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
Wouter Verlaek
82605311a9
[preview] Fix deploy of resources in multiple ns (#16924)
* [preview] Fix deploy of resources in multiple ns

* Fix for namespaces: default to emptystring
2023-03-21 10:30:13 +01:00
Milan Pavlik
84d2808440
[installer] Remove admin-login-secret, unused (#16889)
* [installer] Remove admin-login-secret, unused

* fix
2023-03-21 09:41:13 +01:00
Aleksandar
e0c9ab4e6a
[preview] diff-apply server side force conflicts (#16901) 2023-03-21 09:17:13 +01:00
Kyle Brennan
a295beb0e4
[tests] fix werft triggered workspace integration tests (#16908)
* Debug

* Doh

* Moar

* Clean-up
2023-03-21 09:08:13 +01:00
Aleksandar
0187678f67
[preview] pass context to rollout status, fix regression (#16886) 2023-03-17 13:05:09 +01:00
Milan Pavlik
5bcd92c36f
[ws-man-bridge] Remove application_cluster (#16840)
* [ws-man-bridge] Renmove application_cluster

* Fix
2023-03-15 10:20:07 +01:00
Aleksandar
237481527e
[preview] fix wait, diff-apply, regression-check slack (#16842) 2023-03-15 09:35:07 +01:00
Milan Pavlik
23eb2d6292
[previewctl] Create admin credentials command (#16805)
* [previewctl] Create admin credentials command

* fix

* fix

* retest

* handle create/update

* Fix

* Fix
2023-03-13 16:09:49 +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
Milan Pavlik
f4c7c28f0f
Remove slowDatabase references (#16820)
* Remove slowDatabase references

* Fix
2023-03-13 11:54:48 +01:00
Milan Pavlik
cda8b7bd02
[dev-image] Set DB_HOST to 127.0.0.1 by default (#16797) 2023-03-13 09:46:48 +01:00
Christian Weichel
d7dd39c549
[gpctl] Add users block command (#16715) 2023-03-10 17:42: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
13b3b013b6
[logging] Enable storing/extracing of logger from context (#16658)
* [logging] Enable storing/extracing of logger from context

* Fix

* Fix

* Fix

* Fix

* Fix

* Fix
2023-03-09 10:27:45 +01:00
Milan Pavlik
5f3dfe2699
[ws-man-bridge-api] Always set govern to true (#16631)
* [ws-man-bridge-api] Always set govern to true

* fix

* Fix
2023-03-08 14:56:05 +01:00
Wouter Verlaek
6694cf138b
[ws-manager-mk2] Enable tracing, add debug logs (#16643) 2023-03-06 16:22:03 +01:00
Wouter Verlaek
1631a4a038
[ws-manager-mk2] Loadgen fixes, concurrent reconciliation (#16613)
* [ws-manager-mk2] Loadgen fixes, concurrent reconciliation

* [ws-manager-mk2] Update tests with content readiness

* Simplify content ready check

* Fix json tags

* Revert poll interval
2023-03-06 15:18: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
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
Pudong
695e5284ea
Revert "Apply gitpod resources if there's diff (#16517)" (#16642)
This reverts commit c487681a82436e31232b3b42e27ef9f3803d2c33.
2023-03-03 04:45:00 +01:00
Kyle Brennan
fbc420bf15
[loadgen] fix application of runtime stress & add network stress (#16542)
* [loadgen] remove pvc loadgen configs

* [loadgen] add network stress & do network limiting

* [loadgen] add supporting fields

This makes it easier to find results and related workspaces while testing "live"

* [loadgen] fix application of pressure at runtime

The underlying workspace image does not have `stress-ng` or `fio` installed.

* [loadgen] describe the wait timeout values
2023-02-27 20:01:57 +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
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
Anton Kosyakov
f0d1d1f1ad
[supervisor] analyze image file changes (#16513) 2023-02-24 15:19:54 +01:00
Aleksandar
75fd539a18
Don't disable workspace-full prepull (#16536) 2023-02-23 16:47:53 +01:00
Manuel Alejandro de Brito Fontes
2c45284469
Improve ready probe labeler (#16528) 2023-02-23 14:31:53 +01:00
Aleksandar
c487681a82
Apply gitpod resources if there's diff (#16517) 2023-02-23 10:08:53 +01:00
Christian Weichel
877d14eeb5 [dev:preview] Add DB_HOST default 2023-02-20 14:05:52 +01:00
Kyle Brennan
77b4d06723 [dev image] rebuild to get latest kubecdl 2023-02-16 15:51:21 +01:00
Kyle Brennan
29d03fe9a6 [kubecdl] create $HOME/.kube if not exist 2023-02-16 15:51:21 +01:00
Milan Pavlik
4e1d22285e [gpctl] Expose region in cluster list 2023-02-10 16:22:15 +01:00
Manuel Alejandro de Brito Fontes
b336a5cb65 Update go dependencies 2023-02-10 09:24:15 +01:00
Milan Pavlik
b012a3b5bc [gpctl] Ensure region is all lowercase, provide cmd help 2023-02-10 08:24:14 +01:00
Wouter Verlaek
cb192728d1 Update Go dependencies 2023-02-08 16:47:46 +01:00
Wouter Verlaek
a4e0b11fe2 [ws-manager-mk2] Fix and enable controller tests 2023-02-08 16:47:46 +01:00
Sven Efftinge
74aa6db6e4 [ws-manager-api] Add region for cluster selection 2023-02-08 10:51:46 +01:00
Mads Hartmann
e35f6827ad Simplify staleness heuristics 2023-02-07 12:35:45 +01:00
Manuel Alejandro de Brito Fontes
bcdde44633 Switch from alpine to wolfi 2023-02-05 12:10:43 +01:00
Mads Hartmann
32acb09b8d Only exit if installing SSH keys fails 2023-02-02 14:17:43 +01:00
Mads Hartmann
9a6e19e156 Implement preivew-env-gc and run on schedule 2023-02-02 14:17:43 +01:00
Gero Posmyk-Leinemann
06c91990e2 [server, installer] Make admin-login-secret configurable (new default: not set) 2023-02-02 11:53:40 +01:00
Milan Pavlik
b3d36cf14f [spicedb] Use a secret in preview envs 2023-02-02 10:43:40 +01:00