28 Commits

Author SHA1 Message Date
Milan Pavlik
dcad4dce4e
[usage] Mutex jobs redis WEB-266 (#17167)
* fix

* Fix

* fix

* fix

* Fix

* Comment out test to see if testcointer breaks CI

* fix

* fix

* fix

* add ctx to func
2023-05-03 15:01:41 +08:00
Milan Pavlik
41c14a137c
[usage] Add server address to config - WEB-94 (#17094)
* [usage] Add server address to config

* Fix

* Fix
2023-04-11 10:42:50 +02:00
Milan Pavlik
08504033f4 [installer] Reduce duplication when extracting experimental webapp config 2023-01-11 15:46:51 +01:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Laurie T. Malau
ee08e7863c [db] Move db models to gitpod-db/go module 2022-11-21 08:37:50 -03:00
Milan Pavlik
fb29551aa8 Revert "[usage] Deploy usage by default"
This reverts commit 6c1994cd3fb3c66e3cb1da2520f24c4298c72c76.
2022-11-16 18:18:46 +02:00
Milan Pavlik
6c1994cd3f [usage] Deploy usage by default 2022-11-16 14:04:46 +02:00
Laurie T. Malau
c9496a034a [installer] Update installer to use credits config 2022-11-14 13:02:44 +02:00
Milan Pavlik
603af782bb [usage] Fix config binding 2022-11-04 15:03:09 +01:00
Milan Pavlik
76424a4b49 [usage] Make reset usage task configurable through installer 2022-11-03 09:50:07 +01:00
Laurie T. Malau
ee8354aa79 [usage] Implement CreateStripeSubscription 2022-11-01 16:15:06 +01:00
Milan Pavlik
7532f3c15f [usage] Setup usage reset job 2022-10-26 14:46:41 +02:00
Milan Pavlik
7a5f156f5a [usage] Configure Stripe Price IDs through installer 2022-10-25 21:53:40 +02:00
Milan Pavlik
f626371eaf [usage] Validate spending limits in UpdateCostCenter 2022-10-13 14:00:29 +02:00
Sven Efftinge
2701ec7bdc [usage] added costcenter nextBillingTime 2022-09-15 19:18:16 +02:00
Simon Emms
2f03c004a7 [installer]: explicitly set all host addresses to 0.0.0.0 2022-09-13 12:38:14 +02:00
Milan Pavlik
e85ad2a595 [usage] Remove unused config and functions 2022-09-12 08:35:13 +02:00
Milan Pavlik
6045af2d5e [usage] Remove default controller schedule of 1h, prevents disabling in US 2022-09-09 07:20:23 +02:00
Milan Pavlik
9cab00ae89 [biling] Remove UpdateInvoices - old reconciler 2022-09-08 16:38:23 +02:00
Andrew Farries
ba65d4ab2e [installer] Support setting billInstancesAfter
Add the ability to set the usage controller `BillInstancesAfter` config.
2022-08-05 09:52:49 -03:00
Andrew Farries
2eff43ca33 Use net.JoinHostPort instead of Sprintf 2022-07-25 05:56:20 -03:00
Andrew Farries
01af2de26b Rename ContentServiceUrl to ContentServiceAddress 2022-07-25 05:56:20 -03:00
Andrew Farries
717810a0ba Make installer write content-service URL
Populate the usage component's config file with the URL of the
in-cluster content-service.
2022-07-25 05:56:20 -03:00
Milan Pavlik
48411d7cfb [usage] Workspace Pricer uses config 2022-07-13 08:49:59 +02:00
Andrew Farries
68d95a5734 Add gRPC config to usage configmap 2022-07-11 13:50:58 +05:30
Milan Pavlik
e8ab39e3e7 [usage] Use a config file to configure usage component 2022-07-04 20:44:51 +05:30
Simon Emms
8fad588e6b [installer]: add customization functions to components 2022-06-24 17:02:33 +05:30
Andrew Farries
45768b76b5 Make installer render usage configmap 2022-06-21 15:24:30 +05:30