7592 Commits

Author SHA1 Message Date
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
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
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
Anton Kosyakov
ba7bd3cb94 [supervisor] expose Gitpod host URL as a workspace info 2020-12-02 09:40:35 +01:00
Anton Kosyakov
8c993133cb [supervisor] git token provider support 2020-12-02 09:40:35 +01:00
Anton Kosyakov
4ab9a6e899 [supervisor] token provider kind 2020-12-02 09:40:35 +01:00
Gero Posmyk-Leinemann
1ef6c88f81 [ws-scheduler] Introduce ramSafetyBuffer and adjust tests 2020-12-01 18:13:26 +01:00
Gero Posmyk-Leinemann
a46fb7e1a7 [ws-scheduler] Introduce ramSafetyBuffer and adjust tests 2020-12-01 18:08:09 +01:00
Christian Weichel
e9d2b41be1 [ws-scheduler] Fix nil-deref when informer is too slow 2020-12-01 17:27:41 +01:00
Christian Weichel
2cd97bb049 [ws-manager] Follow Prometheus naming best practices 2020-12-01 15:48:45 +01:00
Christian Weichel
192bb320a6 [ws-scheduler] Add Prometheus and pprof support 2020-12-01 15:48:45 +01:00
Christian Weichel
4b919e1b31 [ws-daemon] Follow Prometheus naming best practices 2020-12-01 15:48:45 +01:00
Christian Weichel
1f1693b99f [registry-facade] Follow Prometheus naming best practices 2020-12-01 15:48:45 +01:00
Christian Weichel
c9a84b0fb0 [ws-scheduler] Add more detailed tracing 2020-12-01 13:18:59 +01:00
Christian Weichel
66bf9cc0aa [ws-scheduler] Minor internal API cleanup 2020-12-01 13:18:59 +01:00