2834 Commits

Author SHA1 Message Date
utam0k
fa49f33dfa Use veth instead of slirp4netns while preventing impact on supervisor. 2022-04-11 16:07:24 +05:30
utam0k
f046782319 ws-dameon: implement the SetupPairVeths function. 2022-04-11 16:07:24 +05:30
Manuel Alejandro de Brito Fontes
0d7a2c9dd3 Fix ipfsAddr field 2022-04-11 14:02:24 +05:30
Manuel Alejandro de Brito Fontes
9fb5c369fd Update go modules 2022-04-11 14:02:24 +05:30
Manuel Alejandro de Brito Fontes
8bbc59b5d5 [registry-facade] Fix IPFS/Redis validation 2022-04-11 14:02:24 +05:30
Jan Keromnes
b26e2716c3 [analytics] Fix default notification settings in analytics call
Co-authored-by: jakobhero <jakob.herold.jh@gmail.com>
2022-04-11 12:32:24 +05:30
Milan Pavlik
91c518a9ed [ws-manager-bridge] Skip stale prebuild events
This reverts commit 67ad495fd40a16e78de0d5ed6460b29eb633fb86.
2022-04-11 12:31:24 +05:30
Manuel Alejandro de Brito Fontes
95ebdd8f6f Use sync.Pool as buffer 2022-04-08 19:29:22 +05:30
Manuel Alejandro de Brito Fontes
a56c2448a8 Include error in probe log 2022-04-08 19:29:22 +05:30
Manuel Alejandro de Brito Fontes
88e050ce95 Update tests 2022-04-08 19:29:22 +05:30
Manuel Alejandro de Brito Fontes
c82829bfdf Check if the keys exists and use MULTI 2022-04-08 19:29:22 +05:30
Manuel Alejandro de Brito Fontes
42d14c963c Separate redis manifest cache from IPFS 2022-04-08 19:29:22 +05:30
Manuel Alejandro de Brito Fontes
7267c38871 Check redis connection 2022-04-08 19:29:22 +05:30
Manuel Alejandro de Brito Fontes
811be9b72c Revert removal of DisableKeepAlives 2022-04-08 19:29:22 +05:30
Alex Tugarev
d7f1255dcd [bitbucket-server] add token validator 2022-04-08 18:21:22 +05:30
Anton Kosyakov
b3ea6db43e Revert "ws-dameon: implement the SetupPairVeths function."
This reverts commit a960121dce48a80c3e5919f4fe7f056781ef9504.
2022-04-08 18:19:21 +05:30
Anton Kosyakov
5bdf47767e Revert "ws-daemon: Use a pair of veths instead of slirp4netns"
This reverts commit 4fef102695684ad3e98ed90c7f368d79aa1e304d.
2022-04-08 18:19:21 +05:30
William Ghelfi
06bd515dbd [dashboard] replace dev configuration with env vars 2022-04-08 16:00:21 +05:30
utam0k
4fef102695 ws-daemon: Use a pair of veths instead of slirp4netns
Pod Network Namespace(ring1)
+------------------------------------------------+
|                                                |
|       Workspace Network Namesapce(ring2)       |
| +--------------------------------------------+ |
| |                                            | |
| |              default via veth0             | |
| |                                            | |
| |                                            | |
| |     +------+  +--------------+             | |
| |     |  lo  |  |    ceth0     | 10.0.2.2/24 | |
| |     +------+  +--^--------+--+             | |
| |                  |        |                | |
| +------------------+--------+----------------+ |
|                    |        |                  |
|                 +--+--------v--+               |
|   +-----------> |    veth0     | 10.0.2.1/24   |
|   |             +-----------+--+               |
|   |                         |                  |
|   |          +--------------v-----+            |
|   |          |                    |            |
|   |          |      nftables      |            |
|   |          |   (ip masquerade)  |            |
|   |          +--------------+-----+            |
|   |                         |                  |
|   |   +------+  +-----------v--+               |
|   |   |  lo  |  |     eth0     |               |
|   |   +------+  +--^--------+--+               |
|   |                |        |                  |
|   |          +-----+--------v-----+            |
|   |          |                    |            |
|   +----------+      nftables      |            |
| if with port | (port redirecter)  |            |
|              +-----^--------+-----+            |
|                    |        |                  |
+--------------------+--------+------------------+
                     |        |
                     |        |
                     |        v
                    o u t s i d e
2022-04-08 13:41:21 +05:30
utam0k
a960121dce ws-dameon: implement the SetupPairVeths function. 2022-04-08 13:41:21 +05:30
Tarun Pothulapati
59527b3703 [webapp] move admin redirects to App.tsx
Fixes https://github.com/gitpod-io/gitpod/issues/8303

Currently, Each page in `admin` has its own redirect to check if
the user has admin access. This is error-prone as some pages
can miss these tags causing unexpected privelleges for non-admin
users.

This is fixed by moving these redirects into admin, where the URL router
is added. We create a new wrapper called `AdminRoute` which has to
be used for all the `/admin` routes.

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
2022-04-08 12:56:21 +05:30
Pudong Zheng
7a708ceef6 [dashboard] support connect via SSH 2022-04-08 12:47:21 +05:30
Milan Pavlik
19fe0d3f8e [dashboard]: Use prebuild record when determining prebuild actions
Fix
2022-04-08 12:34:21 +05:30
Manuel Alejandro de Brito Fontes
9b7fa7f15e Update buildkit to v0.10.1 2022-04-08 06:38:21 +05:30
Thomas Schubart
3bf6664eac Use checkout location during content init 2022-04-08 00:29:21 +05:30
Christian Weichel
0303453c07 Remove checkoutLocation from StartWorkspaceReq 2022-04-08 00:29:21 +05:30
Anton Kosyakov
584f8d9254 fix #6508: Allow users to define Jetbrains plugins to be installed on a given project 2022-04-07 18:55:21 +05:30
Anton Kosyakov
9b80bb7415 build JB images for stable and latest separately 2022-04-07 18:55:21 +05:30
Nandaja
f53b52afe3 [licensor] fix fallback for defaultlicense 2022-04-07 18:53:20 +05:30
Milan Pavlik
55933f389b [db] Type Prebuild.statusVersion as string due to bigint db represenation 2022-04-07 18:42:21 +05:30
Manuel Alejandro de Brito Fontes
a6fe4640a2 Update go modules 2022-04-07 18:40:20 +05:30
Manuel Alejandro de Brito Fontes
0ac53c0794 [ws-proxy] Deny ACME challenges 2022-04-07 18:40:20 +05:30
Jan Keromnes
bb210362ef [dashboard] Implement a PaymentContext and use it to hide payment features when payment is disabled 2022-04-07 12:11:20 +05:30
mustard
43a41f2a65 Redirect web page when instance changed 2022-04-06 22:31:20 +05:30
mustard
fc8c0c76a7 [supervisor] remove supervisor_readiness for headless workspaces 2022-04-06 21:48:20 +05:30
Milan Pavlik
67ad495fd4 Revert '[ws-manager-bridge] Skip stale prebuild events' 2022-04-06 20:40:20 +05:30
Milan Pavlik
1fca342a6a [ws-manager-bridge] Log handling of prebuild update events 2022-04-06 20:39:20 +05:30
Jean Pierre
5816e45cb1 Handle compressed response and follow redirects in openvsx proxy 2022-04-06 17:55:20 +05:30
Cornelius A. Ludmann
5166afd3d9 [installer] Allow to set default workspace timeout 2022-04-06 14:35:19 +05:30
Milan Pavlik
3ecb0f7a44 Cleanup local-app entrypoint 2022-04-06 14:00:20 +05:30
Milan Pavlik
eb72c2f54f [ws-manager-bridge] Skip stale prebuild events 2022-04-06 12:29:19 +05:30
Pavel Tumik
5a62315e27 add PVC feature flag 2022-04-06 01:59:19 +05:30
Manuel Alejandro de Brito Fontes
da28f0c09f Omit optional fields related to IPFS 2022-04-05 22:35:19 +05:30
Manuel Alejandro de Brito Fontes
377e119306 Add missing auth field for sentinels 2022-04-05 22:35:19 +05:30
Manuel Alejandro de Brito Fontes
4095a07ec9 [registry-facade] Override IPFSAddr value using the IPFS_HOST env variable 2022-04-05 22:35:19 +05:30
Christian Weichel
01c257f1e8 [supervisor] Mount custom CA in ring2
if it exists
2022-04-05 21:28:19 +05:30
Christian Weichel
dcf82f628e [ws-manager] Support custom CA certs 2022-04-05 21:28:19 +05:30
Milan Pavlik
0c20837ee0 Remove Prebuild logs from ProjectConfiguration view 2022-04-05 19:34:19 +05:30
Milan Pavlik
98526f44ef [ws-manager-bridge] Fix counting of stale prebuild events 2022-04-05 19:25:19 +05:30
Jan Keromnes
81a79af4ec [gitpod-db] Don't consider garbage-collected prebuilds as potential bases for incremental prebuilds 2022-04-05 18:58:19 +05:30