435 Commits

Author SHA1 Message Date
Christian Weichel
bdbbd3e373 [ws-manager] Fix broken CDWP test case
/werft no-preview
2020-12-09 15:56:50 +01:00
Christian Weichel
6b61df4f29 [ws-proxy] Forward cookies with invalid names
fixes #2470
2020-12-09 15:05:26 +01:00
Christian Weichel
f44a3a728b [misc] Add missing license header 2020-12-09 15:05:26 +01:00
Christian Weichel
d813836905 [ws-scheduler] Fix JSON unmarshalling of TimeOfDay
/werft no-preview
2020-12-09 15:04:11 +01:00
Anton Kosyakov
b6c85f88fb [ws-proxy] always serve foreign content directly from the IDE 2020-12-09 14:50:45 +01:00
Anton Kosyakov
87e7b83c09 [mini-browser] serve local files from own origin
this commit should be reverted after next Theia upgrade
2020-12-09 14:50:45 +01:00
Anton Kosyakov
f53f2fbb35 [proxy] mini browser host pattern 2020-12-09 14:50:45 +01:00
Christian Weichel
01276418c5 [ws-scheduler] Add Prometheus metrics to scaler 2020-12-09 14:23:28 +01:00
Christian Weichel
423f67fb03 [ws-manager] Correctly compute NodeAffinity with registry_facade
/werft no-preview
2020-12-09 08:18:53 +01:00
Cornelius A. Ludmann
12d357f465 [gitpod-k3s] Update values.yaml for wsDaemon
/werft no-preview
2020-12-08 17:07:20 +01:00
Christian Weichel
adc29f35e6 [ws-scheduler] Introduce ghost-workspace scaler 2020-12-08 16:35:44 +01:00
Christian Weichel
cad0421768 [supervisor] Add supervisor ghost command 2020-12-08 16:35:44 +01:00
Christian Weichel
2245ed77ba [ws-manager-bridge] Ignore ghost workspaces 2020-12-08 16:35:44 +01:00
Christian Weichel
31372243e2 [ws-manager] Support ghost workspaces
which act as palceholders for actual workspaces.
2020-12-08 16:35:44 +01:00
Alex Tugarev
dea2e3f4f1 [db/migration] add missing lastModified 2020-12-08 15:03:01 +01:00
Alex Tugarev
529abf8860 [server] fix issues with tos flow and login 2020-12-08 15:03:01 +01:00
Alex Tugarev
6d72a5f236 [transfer] Replace "TypeFox" with "Gitpod"
Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
2020-12-08 10:41:44 +01:00
Christian Weichel
44e6aa820b [ws-manager] Add metrics for unary gRPC methods 2020-12-08 09:34:40 +01:00
Christian Weichel
56a336dbf0 [common-go] Add metrics support for unary gRPC methods 2020-12-08 09:34:40 +01:00
Christian Weichel
86562cac2c [ws-manager] Support configurable gRPC rate limits 2020-12-08 09:34:40 +01:00
Christian Weichel
247ddcf810 [common-go] Add gRPC rate limiting support 2020-12-08 09:34:40 +01:00
Anton Kosyakov
34a1cde10a [supervisor] avoid auto exposing the same port multiple times 2020-12-08 08:50:10 +01:00
Alex Tugarev
906fd2e2d1 [server] integrate ToS flow with authentication
Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
2020-12-07 17:28:24 +01:00
Alex Tugarev
9812a9f2ce clean up 2020-12-07 17:28:24 +01:00
Cornelius A. Ludmann
e97fd0397a [dev-env] Remove docker since it is now part of workspace-full 2020-12-07 17:09:27 +01:00
Christian Weichel
c263553c45 [static-server] Enable JSON logging for GCP compliance 2020-12-07 15:39:47 +01:00
Christian Weichel
a1c2639e78 [static-theia-server] Explicitly mark copy as done 2020-12-07 15:39:47 +01:00
Christian Weichel
bd3455067b [dev] Add whole workspace as workspace folder 2020-12-07 15:39:47 +01:00
Alex Tugarev
b354264a0f [server/auth] refreshed tokens missing user name
this should fix pushing to bitbucket.
2020-12-05 13:48:46 +01:00
Alex Tugarev
8634315954 [server/bitbucket] create API client options explicitly for tests
in tests Basic auth is used for API calls instead of Bearer tokens, this got mixed up with git authorization, where the OAuth2 token is also used for, but with a different username.
2020-12-05 12:15:49 +01:00
Christian Weichel
72588f1fa4 [server] Fix shared workspace access 2020-12-03 21:55:56 +01:00
Anton Kosyakov
c59c7f8e85 [gitpod/cli] fix nil pointer dereference 2020-12-03 21:42:13 +01:00
Sven Efftinge
71ee76822f [commons] map log severity to stackdriver 2020-12-03 18:17:13 +01:00
Christian Weichel
71d616c363 [ws-manager] Don't complain when dangling service is already gone 2020-12-03 14:43:20 +01:00
Christian Weichel
4760509b17 [content-initialiser] Improve logging and OWI association 2020-12-03 14:42:49 +01:00
Christian Weichel
a459be3065 [gp] Produce URL ourselves, don't ask IDE
This is a step back, but unblocks a deadlock when something calls
`gp url` in the bash startup path.
2020-12-03 12:33:11 +01:00
Anton Kosyakov
13e8dc88dd upgrade code 2020-12-03 12:28:48 +01:00
Alex Tugarev
01e763573b [gitlab/server] fix tests / error codes 2020-12-03 09:20:39 +01:00
Alex Tugarev
ab62677230 [server] PATCH for agent-base@4.2.1
which is pulled in and hoisted via proxy-agent-base (gcloud, probot, etc.), and eagerly patches node's `https.request` function. this monkey patching is bogus though!

the `patch-patch` module provides a patched patch to be loaded first, which will load (and therefore cache) the initial patch module, and fix the substitution of `https.request` afterwards in order to be compatible with current node API again.
2020-12-03 09:20:39 +01:00
Alex Tugarev
27568b10b9 [server] bump gitlab 2020-12-03 09:20:39 +01:00
Anton Kosyakov
cd1e4418f9 fix #2368: use vi as a fallback for gp open 2020-12-03 09:10:39 +01:00
Christian Weichel
603464b97b [runc-facade] Use runc from the path
/werft https
2020-12-02 17:06:51 +01:00
Gero Posmyk-Leinemann
30df139318 [ws-scheduler] Fix leaking localBindingCache entries 2020-12-02 15:16:50 +01:00
Gero Posmyk-Leinemann
2416cbc84e [ws-scheduler] Output state in Mi 2020-12-02 15:16:50 +01:00
Christian Weichel
6f05c4f787 [ws-scheduler] Maintain old behaviour - don't start the (broken) scaler
After talking to @geropl it turned out that the scaler is broken.
Not starting it was actually desired behaviour. However, we should
be explicit about it.
2020-12-02 15:09:25 +01:00
Christian Weichel
fca84a1174 [ws-scheduler] Don't let scheduler start block everything else 2020-12-02 15:09:25 +01:00
Christian Weichel
f347a95f09 [ws-scheduler] Match pprof/prometheus config shapes 2020-12-02 15:09:25 +01:00
Christian Weichel
4206fda07d [ws-manager] Don't request 0 resources, but don't request at all
/werft no-preview
2020-12-02 13:11:50 +01:00
Christian Weichel
5ab046db02 [dev] loadgen - a load-generator for Gitpod 2020-12-02 12:14:15 +01:00
Anton Kosyakov
ace0b59bb4 [code] fix #2256: fix links/commands pointing the gitpod host 2020-12-02 09:40:35 +01:00