Andrew Farries
edaada8e91
Increase metric only if image build is required
2022-11-01 09:56:05 +01:00
Andrew Farries
f47eaa9da9
Add prometheus metric for image builds started
2022-11-01 09:56:05 +01:00
Milan Pavlik
9bc39df509
[server] Remove gitpod_server_api_calls_user_total metric
2022-10-31 14:54:06 +01:00
Alex Tugarev
f9717b185c
[projects] add message: Prebuilds have been paused
2022-10-28 12:38:02 +02:00
Andrew Farries
cd8a0953c7
Revert "Increase metric when starting an image build"
...
This reverts commit 5d8873e38e5cac0ca21ff4f72e5d39457d879105.
2022-10-26 20:40:41 +02:00
Andrew Farries
c928b66408
Revert "Add prometheus metric for image builds started"
...
This reverts commit c41ca2081674fb330bea0a06f24f1f930d28b50d.
2022-10-26 20:40:41 +02:00
Jan Keromnes
aedb5c4046
[installer][server] Clarify 'inactivityPeriodForRepos' by renaming it to '...InDays'
2022-10-26 18:49:41 +02:00
Andrew Farries
2ede9de6e0
Pass applicationCluster everywhere
...
Connect the configured installationShortname aka applicationCluster from
server, ws-manager-bridge, and the image-builder-api to workspace
cluster provider.
2022-10-26 17:26:42 +02:00
Milan Pavlik
a8638e4a14
[usage] Add UsageService.ResetUsage RPC
2022-10-26 16:17:41 +02:00
Andrew Farries
1d4de96661
Increase metric when starting an image build
2022-10-26 13:41:41 +02:00
Andrew Farries
a4b28069ae
Add prometheus metric for image builds started
2022-10-26 13:41:41 +02:00
Gero Posmyk-Leinemann
5d1976ec68
[server] Introduce UsageServiceMock to unblock the Self-Hosted release
2022-10-26 10:20:41 +02:00
Gero Posmyk-Leinemann
b3976cc3c9
[server] Refactor to use UsageService over UsageServiceClient where possible
2022-10-26 10:20:41 +02:00
Mauricio Walters
a476438832
Check commit hash before removing ref
2022-10-25 17:38:40 +02:00
Milan Pavlik
022547373d
[server] Remove createStripeCustomer, handled by usage instead
2022-10-25 13:38:39 +02:00
Gero Posmyk-Leinemann
b633262a24
[server] Restart PVC workspace from latest valid backup
2022-10-24 10:58:38 +02:00
Jan Keromnes
98737b5133
[server] Don't attribute usage to a team without active billing
2022-10-21 12:21:36 +02:00
Jan Keromnes
4648d717d3
Re-add "[server] Don't fetch the repository config a second time when starting incremental prebuilds"
...
This reverts commit 7eca992058bfd41aca5503daa4cab771faaab76f.
2022-10-21 11:33:36 +02:00
Jan Keromnes
3c372b8e95
Re-add "[server][dashboard] Implement a 'Use Last Successful Prebuild' workspace creation mode"
...
This reverts commit 9e31fbf834d9eb7c9c92209cc2c97797470a8367.
2022-10-21 11:33:36 +02:00
Gero Posmyk-Leinemann
5090bfdcc2
[server] Limit BillingAccount selection on server side
2022-10-21 11:31:36 +02:00
Gero Posmyk-Leinemann
07bf05a90b
[server] Use CostCenter to determine BillingAccount options
2022-10-21 11:31:36 +02:00
Gero Posmyk-Leinemann
b4955302f2
[server] Block users from attributing usage to any other user except themselves
2022-10-21 11:31:36 +02:00
Thomas Schubart
eba66327d4
[server] Enable psi for paying users
2022-10-21 10:42:36 +02:00
Huiwen
91dea2ed19
[server] remove port 3000 from default config
2022-10-20 22:24:35 +02:00
Gero Posmyk-Leinemann
5bef3e336c
[server] BillingMode: Don't count free team plan as "paid"
2022-10-20 17:28:35 +02:00
Gero Posmyk-Leinemann
a1b14af2df
[server] Introduce BillingMode.paid
2022-10-20 17:28:35 +02:00
Milan Pavlik
49b02cd883
Revert "[server] Garbage collect probe workspaces"
...
This reverts commit 0a857e5d4cb81cf59c7f3b2f93b2c40da6b95565.
2022-10-20 12:02:35 +02:00
Jan Keromnes
9e31fbf834
Revert "[server][dashboard] Implement a 'Use Last Successful Prebuild' workspace creation mode"
...
This reverts commit 5687600aab763adc2562b31163dd337c9332aa4e.
2022-10-19 13:51:34 +02:00
Jan Keromnes
7eca992058
Revert "[server] Don't fetch the repository config a second time when starting incremental prebuilds"
...
This reverts commit 53ad76132823e874479c8226d666929e85b0e36a.
2022-10-19 13:51:34 +02:00
Milan Pavlik
f985cf853f
[sever] Delegate stripe customer create to usage (behind feature flag)
2022-10-19 12:01:34 +02:00
Jan Keromnes
53ad761328
[server] Don't fetch the repository config a second time when starting incremental prebuilds
2022-10-19 10:58:34 +02:00
Milan Pavlik
3e9243eb19
[server] Do not log full request on enforcement-endpoint
2022-10-19 09:44:34 +02:00
Gero Posmyk-Leinemann
2115fd4e7f
[server] Fix BillingMode tests
2022-10-18 16:29:33 +02:00
Jan Keromnes
5687600aab
[server][dashboard] Implement a 'Use Last Successful Prebuild' workspace creation mode
2022-10-18 14:40:34 +02:00
Gero Posmyk-Leinemann
3c3a4e05fa
[server] BillingMode: pass team.name
2022-10-17 12:09:32 +02:00
Milan Pavlik
ae39a73a6c
[usage] Check UBP even without any teams
2022-10-15 21:30:30 +02:00
Christian Weichel
8155f244f8
[prebuild] Support opening a specfic prebuild
2022-10-14 16:33:29 +02:00
Milan Pavlik
a4870ce5db
[configcat] Do not supply lists to configcat evaluations
2022-10-14 13:57:29 +02:00
Gero Posmyk-Leinemann
ed62ab9298
[server] Deprecate AdditionalContentPrefixContextParser
2022-10-14 08:26:29 +02:00
Jan Keromnes
53c1a1f5c5
[server] Make 'subscribeToStripe' return the new usage limit
2022-10-13 11:45:28 +02:00
Jan Keromnes
30a58cddd0
[server][dashboard] Always explicitly set a usage limit when upgrading to Stripe
2022-10-13 11:45:28 +02:00
Milan Pavlik
dff8cc5b39
[server] Use CostCenter to determine if user has paid subscription
2022-10-11 14:07:26 +02:00
Alex Tugarev
542e7c9463
[bitbucket-server] fix parsing of branch name
...
Context URLs of BitBucket Server may include a search param "at" to specify a branch fully qualified. GItpod's context parser results are expected to provide a simple "ref" name for branches.
2022-10-11 10:59:26 +02:00
Thomas Schubart
8b129f2c90
[server] Remove workspace class feature flag
2022-10-10 17:05:25 +02:00
Milan Pavlik
0a857e5d4c
[server] Garbage collect probe workspaces
2022-10-10 16:53:25 +02:00
Milan Pavlik
f7288e3ebc
[server] openPort maps ResourceExhausted from ws-man to TooManyRequests
2022-10-10 16:42:25 +02:00
Milan Pavlik
16a6faf490
[server] Remove fallback to search for stripe customers
2022-10-10 12:15:25 +02:00
Sven Efftinge
1c01d585b0
[server] don't rely on stripe for billingmode
2022-10-08 09:37:23 +02:00
Milan Pavlik
d31c1a89a3
[server] Use BillingService.GetStripeCustomer to fetch customer
2022-10-07 17:25:23 +02:00
Victor Nogueira
1f605d62ee
Add missing gitpod configurations for RubyMine and WebStorm
...
Co-authored-by: Anton Kosyakov <anton@gitpod.io>
Co-authored-by: Andrea Falzetti <andrea@gitpod.io>
2022-10-07 10:26:22 +02:00