280 Commits

Author SHA1 Message Date
Jan Keromnes
ff300de9b2 [server][dashboard] Implement a new Team Billing where Owners can conveniently manage a paid plan for their Team 2022-05-16 13:25:31 +05:30
Jan Keromnes
7f6c5d0340 [payment] Implement a pro-ration helper method 2022-05-16 13:25:31 +05:30
Jan Keromnes
a2b2283005 [payment] Auto-format chargebee/team-subscription-handler.ts 2022-05-16 13:25:31 +05:30
Jan Keromnes
f40d0cf0aa [db][protocol] Implement TeamSubscription2 DB shapes and migration 2022-05-09 23:07:25 +05:30
Manuel Alejandro de Brito Fontes
64fe0d5e2e [agent-smith] Remove egress check feature 2022-05-04 17:59:20 +05:30
Thomas Schubart
3914677ae3 Speed up edit-compile-run loop 2022-04-27 03:44:12 +05:30
Manuel Alejandro de Brito Fontes
1b88c8058e Update go modules 2022-04-25 15:52:37 +05:30
Thomas Schubart
2f4293a5bd Remove duplicated config entries 2022-04-18 22:17:31 +05:30
Thomas Schubart
19ff95e940 Ensure Owner ID is available 2022-04-18 22:17:31 +05:30
utam0k
fa49f33dfa Use veth instead of slirp4netns while preventing impact on supervisor. 2022-04-11 16:07:24 +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
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
Prince Rachit Sinha
219e73cf50 [agent-smith] lock workspaces map before read 2022-03-17 10:50:23 +05:30
Prince Rachit Sinha
5a9c92049f Use info Level log 2022-03-15 17:06:22 +05:30
Prince Rachit Sinha
7aaaceabd9 [agent-smith] Enable egress monitoring 2022-03-15 17:06:22 +05:30
Gero Posmyk-Leinemann
740092ec97 [server] Introduce TeamSubscription.excludeFromMoreResources 2022-03-07 22:07:14 +05:30
Manuel Alejandro de Brito Fontes
a563242ef3 Update go dependencies 2022-03-03 18:46:10 +05:30
Gero Posmyk-Leinemann
a81c23ee50 [ts] Update network-facing libs like express (et al.), node-fetch, p-throttle 2022-02-21 22:34:01 +05:30
Pudong Zheng
0c31ecd7a8 modify supervisor entry to init 2022-02-09 17:35:31 +01:00
Mads Hartmann
dd8b5b728a Remove OWNERS related files
Fixes https://github.com/gitpod-io/ops/issues/844
2022-02-08 09:15:30 +01:00
Gero Posmyk-Leinemann
3bd683e6ea [server] Run 'yarn lint' on every build 2022-02-04 14:29:26 +01:00
Thomas Schubart
efa4a608d9 Observe number of detected workspaces 2022-01-31 10:28:22 +01:00
George Tsiolis
31dfc5bd6b Update WebApp team label in component owners 2022-01-26 10:17:18 +01:00
Jan Koehnlein
d30815e685 [owners] rename team meta to webapp 2022-01-26 08:27:17 +01:00
Manuel Alejandro de Brito Fontes
82d786e2bb Remove ws-scheduler 2022-01-24 20:08:17 +01:00
Jean Pierre
4e2c57e672 Use space character instead of u+00a0 2022-01-21 08:13:13 +01:00
Prince Rachit Sinha
78f4dabf7b Increase timeout of failing test 2022-01-18 09:40:10 +01:00
Filip Troníček
4e2de28154 Fix Gitpod casing in proc tests 2021-12-28 23:21:52 +01:00
Gero Posmyk-Leinemann
fec0a0a87f [db, payment] Remove DBPaymentSource 2021-12-20 16:05:44 +01:00
Gero Posmyk-Leinemann
22d6adaa5c [server] Debug logging for automatic OSS subscription 2021-12-16 10:32:40 +01:00
Gero Posmyk-Leinemann
fa62003417 [db, server] Implement OSS whitelist 2021-12-15 08:41:40 +01:00
Manuel Alejandro de Brito Fontes
d12fa7e4f8 [agent-smith] Add support for multiple children processes 2021-12-13 14:45:38 +01:00
Christian Weichel
7843c09dd9 [ws-scheduler] Pace GetWorkspace calls 2021-12-10 12:14:35 +01:00
ArthurSens
37c2d1ea77 component/common-go/tracing: Add version tags to all spans
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-12-08 11:30:33 +01:00
Mads Hartmann
28bf0e6541 component/gitpod-protocol/tracing: Add version tags to all spans
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-12-08 11:30:33 +01:00
Gero Posmyk-Leinemann
56874b6a0f [server, et. al] Add repeat(cb, ms) as replacement for setInterval, and use it across meta components 2021-12-07 18:43:33 +01:00
Manuel Alejandro de Brito Fontes
1c0c677313 Update alpine to 3.15 2021-12-01 10:10:27 +01:00
Gero Posmyk-Leinemann
1ed5952d58 [payment-endpoint] GitHub: Run reconcilePendingEvents and bookkeeping in same transaction 2021-11-26 12:20:22 +01:00
Gero Posmyk-Leinemann
9e41eb0526 [db] Allow to share transaction across DB impls 2021-11-26 12:20:22 +01:00
iQQBot
7a16690f3e [dev] dev-env: remove qemu, bump kubectl 2021-11-24 11:15:20 +01:00
Jan Koehnlein
5f1f48e35b [payment] added more resilience to GitHub payment endpoint 2021-11-22 10:37:19 +01:00
Gero Posmyk-Leinemann
b869746f32 [dev] dev-env: remove qemu image 2021-11-22 09:40:19 +01:00
Gero Posmyk-Leinemann
5ce67b6bfb [payment-endpoint] Sanity check nr of slots on TS creation 2021-11-19 14:08:16 +01:00
Cornelius A. Ludmann
16a23fd8f0 [ws-scheduler] Set supervisor ref for ghosts 2021-11-16 17:29:13 +01:00
Cornelius A. Ludmann
a7166daa72 Set version in Go components during build time 2021-11-11 10:23:08 +01:00
Pudong Zheng
c715b3521f remove all private repo check 2021-11-09 12:20:07 +01:00
Gero Posmyk-Leinemann
074e36ec85 [db-sync] Fix argparse runtime issues 2021-11-09 11:57:07 +01:00
Gero Posmyk-Leinemann
d7513e535c [db-sync] Upgrade argparse
This was missed in #6433
2021-11-03 16:39:11 +01:00
Simon Emms
23a494168e [ws-scheduler]: add marshal json function to the TimeOfDay type
The converts the TimeOfDay type into a string
2021-11-02 16:14:10 +01:00
Gero Posmyk-Leinemann
7abe78c917 [dev] Upgrade to node.js v16 and all major TS libs
This commit includes the following commits:
 - @iqqbot update dev image to nodejs v16lts
 - @iqqbot update dev-environment-image to use nodejs v16
 - @iqqbot update component to nodejs v16 lts
 - [licensor] Adjust to v16
 - [ts] Bump @types/node to ^16.11.0 accordingly
 - @aledbf Update typescript dependencies
 - @aledbf Update typescript configuration
 - @aledbf / @geropl Update typescript code
 - [server] Fix express/passport types
 - [db] typeorm upgrade 0.1.20 -> 0.2.22: fix compile and runtime issues
 - [db] typeorm upgrade 0.2.22 -> 0.2.38: fix compile and runtime issues
 - [dev] Upgrade amqplib and smaller libs
 - [dev] Upgrade uuid
 - [dev] Update probot
 - [dev] Final yarn.lock
2021-11-02 13:59:10 +01:00