86 Commits

Author SHA1 Message Date
Thomas Schubart
6e7cbfb18c [installer] Do not add protected secrets flag by default 2022-11-02 21:25:07 +01:00
Jan Keromnes
aedb5c4046 [installer][server] Clarify 'inactivityPeriodForRepos' by renaming it to '...InDays' 2022-10-26 18:49:41 +02:00
Jan Keromnes
af5311dcfe [installer] Actually add 'inactivityPeriodForRepos' to server configmap 2022-10-26 18:49:41 +02:00
Manuel Alejandro de Brito Fontes
def55ee7ba Add option to add authentication to Jaeger and custom tags 2022-10-11 13:51:26 +02:00
Kyle Brennan
0cd9c5d483 [installer] enable protected_secrets by default
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-10-07 08:56:22 +02:00
Christian Weichel
9c7e7c356d [installer] Support enabling protected secrets 2022-09-30 15:07:31 +02:00
Pudong Zheng
481267b24f [server] decouple get ide config logic from server 2022-09-27 16:12:28 +02:00
Milan Pavlik
e6fc700b14 [server] Purge records older than 1 year from content deletion 2022-09-23 12:54:24 +02:00
Andrew Farries
f2ec516013 [installer] Add liveness probe for server
Add a liveness probe for server that fails if the nodejs event loop lag
exceeds a given threshold.
2022-09-22 16:10:23 +02:00
Andrew Farries
86d80e6d10 [installer] Set maximumEventLoopLag
Hard code the server setting added in the parent commit. If necessary,
this could become configurable (via an experimental config setting).
2022-09-22 16:10:23 +02:00
Pudong Zheng
0c63ab95de move ide config type define to ide-service-api 2022-09-21 11:18:22 +02:00
Milan Pavlik
480e97bd59 [server] Purge 5k instances at a time 2022-09-19 11:33:20 +02:00
Milan Pavlik
b589c6d463 [server] Purge workspaces which are older than 2 years 2022-09-16 13:39:17 +02:00
Gero Posmyk-Leinemann
a7fd1becd6 [server] Delete Workspaces & Workspace Instances after configured period 2022-09-15 15:27:16 +02:00
Simon Emms
53932cef34 [installer]: set the server URLs to the FQDN and add no_grpc_proxy envvar
The @grpc/grpc-node package does not support wildcards in the no_proxy
envvar. Add the FQDN's for the components that the server calls to the
no_grpc_proxy envvar so that these calls are not proxied
2022-09-13 12:38:14 +02:00
Anton Kosyakov
02457e39b8 [ide]: pin latest JB plugin version
since it's always built by main
2022-09-12 19:19:14 +02:00
Anton Kosyakov
bace8c3c5c [jb] split backend and plugin images 2022-09-12 11:21:13 +02:00
Sven Efftinge
79b75ab4d5 Add phone verification 2022-08-29 09:36:13 +02:00
Manuel Alejandro de Brito Fontes
64b4d6fcf9 Fix typecheck errors 2022-08-23 08:18:39 +02:00
Simon Emms
2fd3dd3586 [installer]: remove the custom labels from the selector labels 2022-08-09 04:16:53 -03:00
Thomas Schubart
4b402429b1 Remove fixed resources 2022-08-04 06:57:48 -03:00
Nandaja Varma
ec2f934ad3 [installer] move workspaceImage out of experimental config 2022-07-27 04:40:21 -03:00
Thomas Schubart
ab8eb0b13b [installer] Extend workspace class info 2022-07-25 12:39:20 -03:00
Manuel Alejandro de Brito Fontes
14095f470b Refactor configuration of localhost address, metric and debug ports 2022-07-23 11:19:18 -03:00
Gero Posmyk-Leinemann
53e47b2c98 [server] Use WorkspaceClassesConfig 2022-07-21 05:10:16 -03:00
Thomas Schubart
4f6a5b576c Incorporate review feedback
- Use latest workspace instance to set workspace class
- Add more detailed configuration for workspace classes
- Make workspace classes configurable in installer
2022-07-21 05:10:16 -03:00
Thomas Schubart
01c9081718 [installer] Configure default workspace class 2022-07-21 05:10:16 -03:00
Gero Posmyk-Leinemann
c305aa4a41 [server] Remove blockedRepositories config 2022-07-20 09:05:15 -03:00
Gero Posmyk-Leinemann
d1c412edc2 [server] Hook up usage API 2022-07-13 12:09:00 +02:00
Thomas Schubart
88e5beb8d6 [bridge] Regularly check for class updates 2022-07-06 23:15:53 +05:30
Simon Emms
8fad588e6b [installer]: add customization functions to components 2022-06-24 17:02:33 +05:30
Milan Pavlik
58a9ebbe3f [experiments] Configure ConfigCat SDK through installer 2022-06-24 15:28:33 +05:30
Jan Keromnes
b93288865e [server] Make Stripe usage-based product price IDs configurable 2022-06-20 14:52:29 +05:30
Andrew Farries
e9e33d817c Remove stripeSettingsFile from server config 2022-06-13 21:32:23 +05:30
Andrew Farries
f3680fe1a9 Configure server to use stripe secret 2022-06-13 21:32:23 +05:30
Jan Keromnes
92e2e72e2c [server][dashboard] Add a Stripe settings secret 2022-05-31 13:40:49 +05:30
Mads Hartmann
7b68fb4a27 Use slices instead of maps for service ports to control ordering 2022-05-30 20:14:48 +05:30
Andrew Farries
ba261d79b7 Add test for server deployment tracing config
Check that the server deployment uses tracing values defined in
`expermental.webapp.tracing`.
2022-05-11 13:25:26 +05:30
Andrew Farries
43d98b386d Make server use WebappTracingEnv
Rather than `WorkspaceTracingEnv`.
2022-05-11 13:25:26 +05:30
Andrew Farries
7363937d54 Rename TracingEnv to WorkspaceTracingEnv 2022-05-11 13:25:26 +05:30
Andrew Farries
539414d0e4 Ensure that blocked repo string is a valid regexp 2022-05-10 14:07:25 +05:30
Andrew Farries
1ae1ce97bf Add test for blocked repository config 2022-05-10 14:07:25 +05:30
Andrew Farries
fbf4932c9c Add blockedRepositories config to the installer
* Add new config under the `experimental.webapp.server` section.
* Add the new field to the configmap struct.
2022-05-10 14:07:25 +05:30
Andrew Farries
57ce815dd8 Add a test for ws garbage collection
Add it to the existing configmap test.
2022-05-10 12:38:25 +05:30
Andrew Farries
4f70422024 Make workspace garbage collection configurable 2022-05-10 12:38:25 +05:30
Gero Posmyk-Leinemann
d90e6ab4a7 [installer] Fix server GitHub app cert mount 2022-05-06 13:17:21 +05:30
Andrew Farries
773deca0d5 Add server render test
Ensure that the server pod defines a volume when a github app is
specified and that the server container mounts it.
2022-05-05 20:28:21 +05:30
Andrew Farries
252d715c5e Add server vol and mount for github app secret 2022-05-05 20:28:21 +05:30
Andrew Farries
580772ade3 Off topic: Make variable local to block 2022-05-05 20:28:21 +05:30
Gero Posmyk-Leinemann
e955e75f59 [installer] Minor alignments + fixes 2022-05-05 13:16:20 +05:30