Manuel Alejandro de Brito Fontes
5186adfcc0
[ws-manager] Refactor notification signals ( #3194 )
...
[ws-manager] Refactor notification signals
2021-02-17 09:10:40 -03:00
George Tsiolis
8a9d7e62eb
Update help link in garbage collection alert ( #3203 )
2021-02-17 22:34:52 +11:00
Geoffrey Huntley
5660116cc5
[dashboard] Improve awareness for automatic workspace deletion due to garbage collection ( #3158 )
2021-02-17 09:25:08 +02:00
Gero Posmyk-Leinemann
d819a6b3b2
[db] Improve performance of DBUserStorageResource.update(...) ( #3151 )
...
* [db] UserStorageResource: make userId char(36) instead of varchar(255)
* [db] Use INSERT INTO ... ON DUPLICATE KEY UPDATE for user storage
2021-02-15 16:39:50 +01:00
Gero Posmyk-Leinemann
f1d8250faf
[gitpod-protocol] Introduce contextUrlToUrl ( #3191 )
2021-02-15 16:39:11 +01:00
Cornelius A. Ludmann
e33ff3369d
[supervisor] Let workspace fail when IDE never came up
2021-02-12 14:31:58 +01:00
Christian Weichel
5b6325f0de
Remove privileged feature flag and permission
...
now that we have user-namespaced workspaces the privileged flag
has become even more of a nuisance and technical debt.
Fixes gitpod-io/gitpod#3058
2021-02-12 09:19:48 +01:00
Christian Weichel
f3f67fcafd
[server] Add missing license header
2021-02-12 09:19:48 +01:00
Christian Weichel
47c7d9a8c9
[leeway] Run leeway fmt
2021-02-12 09:11:53 +01:00
Alex Tugarev
3a0ca242f2
[env-var-context] fix parsing of env vars from context
...
Signed-off-by: Alex Tugarev <alex@gitpod.io>
2021-02-12 09:06:59 +01:00
Christian Weichel
4b8d636ed8
[go] Update ws-daemon deps
...
and enable allowModfileModifications
/werft no-preview
2021-02-12 08:41:01 +01:00
Christian Weichel
8a118a8c1f
[admin] Rename stop workspace button
...
to something more appriopriate and less brutal.
/werft no-preview
2021-02-11 11:12:11 +01:00
Christian Weichel
ab00cd07be
[admin] Introduce audit logs for admin API calls
2021-02-11 11:11:38 +01:00
Cornelius A. Ludmann
55564b66cf
[server] Add API rate limiter and API Prometheus metrics
2021-02-10 18:12:39 +01:00
Cornelius A. Ludmann
e3ca1a2e14
[admin dashboard] Add latest instance ID to workspace view
2021-02-10 16:35:38 +01:00
Jan Keromnes
589c39a192
[dashboard] Refresh example repositories featured in empty workspaces list
2021-02-09 11:09:04 +01:00
Anton Kosyakov
2cab99e5e7
[supervisor] handle rate limitting of exposed ports
2021-02-08 14:46:28 +01:00
ArthurSens
986bd94858
Reconfigure Prometheus buckets for workspace startup time histograms
...
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-02-08 10:10:41 -03:00
Christian Weichel
c913675274
[ws-manager] Provide subscription queue metric
...
A gauge vector reporting the fill levels of all subscriber queues.
2021-02-08 09:50:10 +01:00
Christian Weichel
a34163f131
[metrics] Add call metrics to all gRPC services
2021-02-08 09:49:09 +01:00
Christian Weichel
227e6bd192
[ws-manager] Replace our own gRPC prom metrics with grpc_ecosystem
...
Fixes gitpod-io/gitpod#3090
2021-02-08 09:49:09 +01:00
Anton Kosyakov
8da435d6dc
[code] fix user data URI on windows machine
2021-02-05 11:14:52 +01:00
Gero Posmyk-Leinemann
e42f7c8dec
[server-ee] Fix wrong injection of GitHupApp ( #3088 )
2021-02-03 16:25:05 +01:00
Christian Weichel
fd46a8344e
[ws-daemon] Improve error when content init fails
2021-02-02 15:26:35 +01:00
Christian Weichel
53c56622b7
[registry-facade] Harmonise env naming conventions
...
introduced in https://github.com/gitpod-io/gitpod/pull/2577
2021-02-02 14:04:19 +01:00
Christian Weichel
d940209ffd
[go.mod] Run leeway link to clean up go replace
2021-02-01 15:22:53 +01:00
Christian Weichel
4d3947dc98
[content-service] Remove docker dependency
...
by moving archive creation back to ws-daemon
2021-02-01 15:22:53 +01:00
Cornelius A. Ludmann
ab4c6f5a7b
Fix go.mod links with leeway link
2021-02-01 13:07:43 +00:00
Alex Tugarev
e8adb24ecc
[server/dashboard] stop moving identities
...
* allow our users to disconnect provider identities from their accounts
* when a user tries to connect with a provider, for which there is already a connection to anther account, we redirect to an assistance page. a summary should help to review both accounts. in the end, any user may decide to move to a single account by disconnecting the provider identities from the other account.
this way we can guarantee to not automagically lock out users from accounts with subscriptions or any meaningful data.
* show `Connected as`
* update terms renderer
Signed-off-by: Alex Tugarev <alex@gitpod.io>
2021-02-01 08:06:11 +01:00
Alex Tugarev
0bb6ab6629
[server/auth] avoid creating duplicate accounts
...
in a situation where the browser agent might submit the terms form more than once, we should avoid creating new accounts. instead, we need to select the recently created account for a login in a parallel session.
2021-02-01 08:06:11 +01:00
Alex Tugarev
b0f6b664e1
[terms/dashboard] avoid resubmitting twice
2021-02-01 08:06:11 +01:00
Christian Weichel
13a5f8ea5e
[seccomp-profile] Allow unshare(0) to make nsexec work
2021-01-29 17:46:53 +01:00
Christian Weichel
705bbc5481
[docker-up] Enable proper verbose logging
2021-01-29 17:46:53 +01:00
Christian Weichel
0486da1802
[runc-facade] Don't replace proc mount
2021-01-29 17:46:53 +01:00
Christian Weichel
2b4ae94df1
[ws-daemon] Support umount proc
2021-01-29 17:46:53 +01:00
Christian Weichel
7cc8e52725
[ws-daemon] Support proc mounts using open_tree/move_mount
2021-01-29 17:46:53 +01:00
Christian Weichel
7712280777
[workspacekit] Support mount proc in a workspace using seccomp-notify
2021-01-29 17:46:53 +01:00
Christian Weichel
e641afad2b
[workspacekit] Move all user namespace setup stuff to its own component
...
To keep supervisor free from CGO e.g. libcap or libseccomp
2021-01-29 17:46:53 +01:00
Cornelius A. Ludmann
a3135d6d50
[content-service] Update several values.yaml files with new remoteStorage config
2021-01-29 17:15:33 +01:00
Anton Kosyakov
bbbb855a42
fix #2802 : add missing commands to Code
2021-01-29 15:12:42 +01:00
Alex Tugarev
a93897c343
[proxy/dashboard] redirect 404 to www
2021-01-29 09:54:08 +01:00
Sven Efftinge
55dad24136
[content-init] apply UID mapping symmetrically
2021-01-29 09:22:12 +01:00
Alex Tugarev
3644d93db9
[gitlab] Allow adding Git Provider using a relative URL
...
Signed-off-by: Alex Tugarev <alex@gitpod.io>
2021-01-29 08:50:18 +01:00
Cornelius A. Ludmann
70fe39a8ba
[content-store] Add a content-store component with blobs API
2021-01-28 14:15:31 +01:00
Cornelius A. Ludmann
069013a7b2
[project setup wizard] Create readme file if missing and fix some bugs
...
Fixes gitpod-io/gitpod#3012
2021-01-28 14:12:47 +01:00
Christian Weichel
6b10ec9eb0
[supervisor] Don't blindly deref port configs
...
fixes #3007
/werft no-preview
2021-01-28 14:06:01 +01:00
Anton Kosyakov
4cc6245ab8
[supervisor] terminal API enhancements
2021-01-28 09:33:09 +01:00
ArthurSens
aae2e4544b
Add metric for login requests
...
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-01-27 14:26:04 -03:00
Gero Posmyk-Leinemann
54b314bffc
[ws-scheduler] Make ghost workspaces more effective by integrating them with scheduler ( #2552 )
...
* [ws-manager] Do not delete ghost workspace on start
* [ws-scheduler] Enable asynchronous binding of pods
* [ws-scheduler] Introduce ghosts
- remove a ghost before binding a regular workspace
- make ghosts "invisible" to strategy
* [scheduler] Wait longer on ghost deletion to prevent OOM errors
* [scheduler] Make isRegularWorkspace -> makeGhostsInvisible explicit
* [scheduler] cancel ghost.Delete if it takes too long (5s)
* [ws-scheduler] Add tests for ghost-sepcific state computation
* [scheduler] Make sure ghost are only selected for deletion once
* [scheduler] delete ghosts: ctxDeleteTimeout > gracePeriod
* [scheduler] Don't bind terminated pods
* [scheduler] Make all non-ghost workspaces replace ghosts
* [scheduler] review comments
2021-01-27 17:07:24 +01:00
Alex Tugarev
33d874bf57
[dashboard] update copyright year
2021-01-27 11:00:42 +01:00