4759 Commits

Author SHA1 Message Date
JenTing Hsiao
66ba0b10b5 [werft] fix image pull secret not render
Specify the kubeconfig file to use.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-04-26 22:42:38 +05:30
JenTing Hsiao
71a2d6d564 Better error message
To differentiate the error message.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-04-26 22:42:38 +05:30
JenTing Hsiao
400a66f0c5 Fix potential bug once we change the value of parallel variable
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-04-26 22:42:38 +05:30
JenTing Hsiao
9886276a90 Fix typo
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-04-26 22:42:38 +05:30
JenTing Hsiao
4242538632 Remove duplicate scancel()
We already have a defer scancel().

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-04-26 22:42:38 +05:30
Anton Kosyakov
0e2d525263 enable IntelliJ and GoLand indexing in prebuilds 2022-04-26 22:25:38 +05:30
Manuel Alejandro de Brito Fontes
db903d8c05 [docker-up] Configfure docker0 MTU 2022-04-26 20:01:38 +05:30
Wulf Thimm
4a990500f0 enhance heuristics to delete preview-environments 2022-04-26 18:51:38 +05:30
Manuel Alejandro de Brito Fontes
dc99d7686b [installer] Increase ws-daemon FailureThreshold 2022-04-26 18:46:38 +05:30
JenTing Hsiao
5ecbd29232 Use configured reverse proxy port rather than fixed port
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-04-26 18:41:39 +05:30
Mads Hartmann
640cc97ca1 Temporary fix: Always sleep 10 seconds 2022-04-26 18:29:38 +05:30
Manuel Alejandro de Brito Fontes
21e549d2ba [workspacekit] Increase rin0 ws-daemon socket timeout 2022-04-26 18:10:38 +05:30
Manuel Alejandro de Brito Fontes
9b2cbd255c [ws-daemon] Remove missing cpuacct.usage file log 2022-04-26 16:56:38 +05:30
Manuel Alejandro de Brito Fontes
eab5b21cb1 Update Caddy to v2.5.0 2022-04-26 15:28:38 +05:30
Prince Rachit Sinha
4515e369fc
[observability] Fix incorrect datasource (#9543) 2022-04-26 11:46:49 +02:00
Prince Rachit Sinha
994ddfe03e [observability] Fix Dashboard Error and add Nodepool 2022-04-26 14:07:38 +05:30
Christian Weichel
3b3eba4ab2 [IDE] Run leeway link 2022-04-26 13:18:38 +05:30
Andrew Farries
94086f9d29 Give each test a name and use t.Run
To run each testcase as a sub-test.
2022-04-26 13:14:38 +05:30
Andrew Farries
94b2bf2329 Move tests to common_test package
To avoid problems with import cycles when importing components/*
packages.
2022-04-26 13:14:38 +05:30
Andrew Farries
ef3fd578c7 Use constants for component names 2022-04-26 13:14:38 +05:30
Andrew Farries
91ae5df6b6 Add test for common.Replicas function 2022-04-26 13:14:38 +05:30
Andrew Farries
1dd58fc461 Make StatefulSet replicas configurable 2022-04-26 13:14:38 +05:30
Andrew Farries
0ae3201a7e Set Replicas for multiple components
So that they respect the new
`experimental.common.podConfig.<component>.replicas` setting.
2022-04-26 13:14:38 +05:30
Andrew Farries
e9619f792f Add common.Replicas function
To allow lookup of replica counts. Defaults to one if there is no
replica count configured for a component.
2022-04-26 13:14:38 +05:30
Andrew Farries
276fb356bf Add PodConfig under a new Common field
Allow a new `common` field under `experimental` for cross-cutting
concerns such as replica counts.
2022-04-26 13:14:38 +05:30
Christian Weichel
805bb2d944 [build] Remove image check 2022-04-26 11:31:38 +05:30
Victor Nogueira
7738ae79d3 [ide] Disable the exit dialog on JetBrains IDEs 2022-04-26 11:10:38 +05:30
Prince Rachit Sinha
de0c0e80a4 [observability] Add GitpodWorkspacesNotStarting alert 2022-04-26 08:53:38 +05:30
roboquat
6da92633a3 [changelog] updated changelog 2022-04-26 06:50:38 +05:30
Andrea Falzetti
c6e96b560d docs(gitpo-cli): add README 2022-04-26 03:56:37 +05:30
Alex Tugarev
0c11cdc83e [bitbucket-server] handle pull-request context url 2022-04-25 20:38:37 +05:30
Manuel Alejandro de Brito Fontes
9e2f4acb68 Fix check logic for I/O limits 2022-04-25 20:08:37 +05:30
Simon Emms
5ba78ec619 [kots]: add install delete job to remove existing stalled jobs 2022-04-25 18:06:37 +05:30
Simon Emms
83505f407c [kots]: allow configuration of Open VSX URL 2022-04-25 18:02:37 +05:30
Tarun Pothulapati
f5778fa987 Fix multiple issues with self-signed certificates
This PR includes temporary fixes to get `Certificate` option working with `self-signed` certificates.

Currently, Whenever the `Certificate` config option is set to a
specific secret, we seem to assume **by default** that they are
publicly signed. This currently has the following issues when they
are `self-signed` :
- Due to the usage of `Certificate` in internal facing services like
  `registry-facade`, Internal clients fail to communicate as the
  self-signed CA is not in their trust store.
  (Fix: Update `registry-facade` to use `builtin-registry-facade-cert`,
  generated by `cert-manager`)
- Due to the fact that internal `registry` communication also flows
  through the `proxy`, This communication fails as the `proxy` cert is
  self-signed as its not available in the trust store.
  (Fix: Update the `registry-facade` daemonset to also include `crt` of
   `Certificate` in its trust store).

This PR also fixes an issue with `image-builder-mk3` when the
`customCACert` option is set, by removing `InternalVolumeCAMount` as
it makes the `etc/ssl/certs` empty and readOnly (which prevents
from mounting the customCACert cert into `etc/ssl/certs`

This is not needed as the directory probably exists, or we don't need
to mount it specifically. Individually cert files can be attached
directly into the folder while keeping the existing files the
same.

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
2022-04-25 17:48:37 +05:30
Milan Pavlik
a9ae750610 [baseserver] Serve pprof on /debug/pprof 2022-04-25 17:34:37 +05:30
Milan Pavlik
75bd9fc4be [ws-man-bridge] Fix Workspace Instance status update dashboard to work across web-app clusters 2022-04-25 17:33:37 +05:30
Milan Pavlik
829ea6ad28 [ws-manager-bridge] Fix workspace instance update started total metric incrementing 2022-04-25 17:32:37 +05:30
Manuel Alejandro de Brito Fontes
1b88c8058e Update go modules 2022-04-25 15:52:37 +05:30
Manuel Alejandro de Brito Fontes
ab0d69cfea Update generated code 2022-04-25 15:52:37 +05:30
Manuel Alejandro de Brito Fontes
cf1ac80c70 Add new go modules (due to 1.18) 2022-04-25 15:52:37 +05:30
Manuel Alejandro de Brito Fontes
74c5ec3977 Errorf does not support error-wrapping directive 2022-04-25 15:52:37 +05:30
Manuel Alejandro de Brito Fontes
da1beffbbf Disable gokart 2022-04-25 15:52:37 +05:30
Manuel Alejandro de Brito Fontes
8c9aae024e Update dev image 2022-04-25 15:52:37 +05:30
Manuel Alejandro de Brito Fontes
fd893f0955 Fix tailscale error 2022-04-25 15:52:37 +05:30
Manuel Alejandro de Brito Fontes
9766c45fc3 Update dev image 2022-04-25 15:52:37 +05:30
Alex Tugarev
a57dee841a [server] fix tracing errors 2022-04-25 14:39:37 +05:30
roboquat
afdd5a7a79 [changelog] updated changelog 2022-04-25 13:53:37 +05:30
Anton Kosyakov
614c0c7d3f [jb] experimental support of warm up in prebuilds 2022-04-25 13:21:37 +05:30
Manuel Alejandro de Brito Fontes
bfa4c16da4 [ws-daemon] Check blkio throttle exists 2022-04-22 20:57:35 +05:30