1124 Commits

Author SHA1 Message Date
Andrew Farries
4682009fd1 Add backend to payment-endpoint section 2022-08-04 07:01:48 -03:00
Thomas Schubart
4b402429b1 Remove fixed resources 2022-08-04 06:57:48 -03:00
Cornelius A. Ludmann
6c4e272bbc [installer] Fix writing golden files 2022-08-04 06:25:48 -03:00
Cornelius A. Ludmann
cf041ac0fb [installer] Add missing output.golden changes of #11807 2022-08-04 06:15:48 -03:00
Manuel Alejandro de Brito Fontes
1a3072e365 [installer] Set maximumBackupCount as deprecated 2022-08-04 05:00:48 -03:00
Manuel Alejandro de Brito Fontes
ccb4e180a7 Remove backup trail 2022-08-04 05:00:48 -03:00
Andrew Farries
d0b7ffcbad Add HTTP port to public api config 2022-08-04 03:36:48 -03:00
Simon Emms
e9a13764e4 [installer]: add output test for the render function 2022-08-02 09:02:46 -03:00
Simon Emms
3138b577e1 [installer]: set option to set seed value
This is useful for testing so we can generate the same rendering
each time and then compare the outputs against a known value. It also
allows users to make their randomisation deterministic
2022-08-02 09:02:46 -03:00
Simon Emms
1be50549ef [installer]: add docker registry haSecret to values
This allows for the values to be consistent when testing
2022-08-02 09:02:46 -03:00
Tarun Pothulapati
601fe91b57 [dashboard] Next steps nudge for local-preview
Currently, After `local-preview` is exited There are no
direct concrete steps for users to take.

This PR fixes this by adding a new `Alert` box to the
global dashboard if we notice that they are on a Gitpod
`local-preview` DOMAIN, which is `preview.gitpod-self-hosted.com`
(our own DOMAIN) from now.

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
2022-08-02 08:48:46 -03:00
Andrew Farries
0b20a63567 Make usage report bucket name configurable
The name of the object storage bucket to which usage reports are
uploaded needs to be configurable for Gitpod SaaS. GCloud bucket names
are globally unique, so the bucket name must vary between staging and
production.
2022-08-02 04:43:46 -03:00
ArthurSens
1dfc500eab Add kube-rbac-proxy to content-service
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-08-01 18:38:46 -03:00
Nandaja Varma
efe7930d85 [installer-tests] Add tests for k8s versions and ubuntu version 2022-08-01 17:39:45 -03:00
Manuel Alejandro de Brito Fontes
afc5bb6880 [ws-daemon] Increase resources more real values 2022-08-01 16:46:45 -03:00
Nandaja Varma
03849f94d3 Adding the cron for self-hosted preview cleanup 2022-08-01 07:47:45 -03:00
mustard
2e2a3d5357 [code] update stable code for 1.69 with in-product changelog and ports view improvement 2022-07-29 13:35:23 -03:00
Tarun Pothulapati
62f576f12c [local-preview] Send telemetry for each event
Currently, The telemetry of `local-preview` is the same as any self-hosted install which
means that these telemetry cronjob is run daily, and also once when the installation is ready.
This information isn't as useful, as the properties aren't that important for a short-lived
installation.

Instead, It would make sense to have telemetry on each event of the `local-preview`
command itself so that we can measure the Installation success rate,  Time taken, etc
to improve the overall UX of `local-preview`. This will be more important for us
to understand the usage of `local-preview` itself.

This PR fixes that by attaching a telemetry event to be sent, for each status update
in `local-preview`. For this to work, A anonymous User ID is generated and used
for all status updates.

Event Schema:

```
analytics.track({
    userId: userId,
    event: "localpreview_status",
    properties: {
        status: "checking prerequisites" | "starting gitpod" | "gitpod ready"
    }
})
```

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
2022-07-29 03:23:23 -03:00
Nandaja Varma
20e91af4fa [installer] updating the refCache image in image-builder-mk3 2022-07-28 20:11:23 -03:00
Aleksandar Aleksandrov
f235d61f74 add kube-rbac-proxy container to openvxs-proxy 2022-07-28 06:00:23 -03:00
Simon Emms
183c9d64a3 [kots]: put the "run" collectors into the active namespace 2022-07-27 11:05:22 -03:00
Simon Emms
7ceddbeff6 [installer]: remove todo 2022-07-27 06:19:21 -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
b28630772d [installer] Sync alpine version 2022-07-25 06:41:20 -03:00
Filip Troníček
8870f755db Add our Extension control manifest to the IDE proxy
Move steps around

use --parents

debug

Remove `ls` command

Add marketplace URL to configmap

Update code commit

Remove `vscode-webview.net`

Add another copy

Add the manifest to the repo

Remove unused code

Fix URL replacement

Update code commit

Update code commit

Add CORS header
2022-07-25 06:30:20 -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
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
4cc20308a0 [installer] registry-facade: Fix render bug 2022-07-23 09:16:18 -03:00
Nandaja Varma
3fdb0a573d [terraform] update the disk size in eks module 2022-07-22 16:44:17 -03:00
Manuel Alejandro de Brito Fontes
316b493057 Refactor ws-daemon and registry-facade postStart hook 2022-07-21 20:22:16 -03:00
Simon Emms
3aa56e64b4 [installer]: set secretTemplate for certs
This allows them to be picked up by the KOTS support bundle
2022-07-21 11:15:16 -03:00
Simon Emms
df0bf3b233 [installer]: update jetstack/cert-manager 1.4 to 1.5
This introduces the `secretTemplate` parameter
2022-07-21 11:15:16 -03:00
Tarun Pothulapati
af9da1c7da [local-preview] Remove cert-manager dependency
This PR removes the dependency of `cert-manager` and thus
reducing resource usage. This is replaced by the usage of
`mkcert` instead

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
2022-07-21 05:19:16 -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
Simon Emms
0b4c410cd3 [kots]: add preflight checks for IDE/meta nodes 2022-07-20 08:23:15 -03:00
Tarun Pothulapati
63e4b0f468 [local-preview] honour DO_NOT_TRACK env variable
Currently, There is no way to disable telemetry for `local-preview`
as we run the cronjob manaully during init, when Gitpod is ready.

This fixes that by honouring [`DO_NOT_TRACK` envrionment variable](https://consoledonottrack.com/)
, which when set prevent the script from triggering the cronjob manually.

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
2022-07-20 08:00:15 -03:00
Andrea Falzetti
64c828548c [code] Update stable to 1.69.2 2022-07-19 16:47:15 +02:00
Simon Emms
8adca006a0 [installer]: move the post-processing openvsx statefulset to installer
This removes the "status" block on the root, which breaks older versions
of Kubernetes
2022-07-19 12:27:14 +02:00
Simon Emms
433b115170 [installer]: add in ability to post-process 2022-07-19 12:27:14 +02:00
Manuel Alejandro de Brito Fontes
8130107b0f [ws-daemon] Add support for limiting the number of processes in a workspace 2022-07-18 23:25:14 +02:00
JenTing Hsiao
21642a955d Add missing permission to watch node object
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-07-15 15:34:02 +02:00
JenTing Hsiao
95ec04a005 [installer] add node get/list permission to ws-manager
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-07-14 20:03:01 +02:00
Tarun Pothulapati
eefee5515a [local-preview] show DOMAIN in the output
This PR updates the `local-preview` to printout
the Domain of the Gitpod Instance for users to
access.

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
2022-07-13 16:43:00 +02:00
Gero Posmyk-Leinemann
d1c412edc2 [server] Hook up usage API 2022-07-13 12:09:00 +02:00