50 Commits

Author SHA1 Message Date
Gero Posmyk-Leinemann
89e09307b9
[server] Introduces ReadinessProbe (#20669)
* [server] Introduce ReadinessController and probe at /ready

Tool: gitpod/catfood.gitpod.cloud

* [server] Move /live and /ready endpoints to a separate express app and port

Tool: gitpod/catfood.gitpod.cloud

* [memory-bank] task-related learnings

Tool: gitpod/catfood.gitpod.cloud

* [server] Introduce `server_readiness_probe` feature flag so we can disable the ReadinessProbe if required

Tool: gitpod/catfood.gitpod.cloud

* docs: formalize Product Requirements Document workflow

- Add PRD workflow to systemPatterns.md as a standardized development process
- Update .clinerules with instructions to follow the PRD workflow
- Update activeContext.md and progress.md to reference the new workflow

This formalizes the process we used for implementing the server readiness probe feature.

Tool: gitpod/catfood.gitpod.cloud

* [server] ReadinessProbe: add redis as dependency

Tool: gitpod/catfood.gitpod.cloud

* review comments

Tool: gitpod/catfood.gitpod.cloud

* [dev] Remove outdated gopls config

Tool: gitpod/catfood.gitpod.cloud

* [server] Fix import

Tool: gitpod/catfood.gitpod.cloud
2025-03-17 11:44:46 -04:00
Gero Posmyk-Leinemann
76781bf322
[dev] Update workspace libraries to match kubernetes (containerd, runc, buildkit) (#20526)
* [workspace] Set lib versions: containerd to 1.6.36, runc 1.1.14 and buildkit to 0.12.5

Reasoning: https://linear.app/gitpod/issue/CLC-982/update-containerd-to-latest-patch-16x-k8s-and-runc-libs-in-gitpod-mono#comment-d5450e2c

* [golangci] Remove superfluous notlint and checks

* [image-builder-mk3] Fix incomplete tests where a library made the field "mediaType" non-optimal

    Original change: https://github.com/opencontainers/image-spec/pull/1091

* [docker] Switch from github.com/docker/distribution/reference to github.com/distribution/reference

* [ws-daemon] Internalize libcontainer/specconv because it got dropped between runc 1.1.10 and 1.1.14
2025-01-20 09:32:10 -05:00
Filip Troníček
55b486ee5f
Introduce max_parallel_running_workspaces for orgs (#20448)
* Introduce `max_parallel_running_workspaces` for orgs

* Add migration

* Add UI and org settings server changes

* Rough edges

* Number inputs (:trollface:)

* Move LazyOrganizationService to UBP entitlement service to get rid of circ. dep. errs

* Fix tests

* Update components/gitpod-db/src/typeorm/entity/db-team-settings.ts

Co-authored-by: Gero Posmyk-Leinemann <gero@gitpod.io>

* Rename `isPaidPlan` to `isPaidOrDedicated` and get rid of `update_max_parallel_running_workspaces`

* Update components/server/src/workspace/workspace-service.ts

Co-authored-by: Gero Posmyk-Leinemann <gero@gitpod.io>

* Deduplicate instance counting logic

---------

Co-authored-by: Gero Posmyk-Leinemann <gero@gitpod.io>
2024-12-16 09:06:02 -05:00
Kyle Brennan
f74b054279
[image-builder-mk3] Improve logging and tracing for build (#19734)
* [image-builder-mk3] improve traces and logging

* Add ws-manager-bridge to VS Code workspace

* Setting up  gpctl imagebuilds to help with testing

* Fix merge miss
2024-05-16 21:37:54 +08:00
Kyle Brennan
34b4602286
[ws-manager-mk2] remove experimental mode feature (#18513)
* [installer] remove experimental mode

* [ws-manager-mk2] remove experimental node selector

* [ws-manager-api] remove ExperimentalMode from configuration

* Add `ws-manager-api` to vscode workspace

* [preview] remove experimental & bump deps

Depends on https://github.com/gitpod-io/gitpod-packer-gcp-image/pull/246

* [preview] LocalStorageCapacityIsolation is GA, no needed as a gate in 1.27
2023-08-15 06:37:41 +02:00
Sven Efftinge
e667765a18
[spicedb] generate ts definitions (#18308) 2023-07-20 15:30:36 +08:00
Sven Efftinge
fb3f55ad51
[db/server] cache the user object using redis (#17906) 2023-06-14 13:50:04 +08:00
Milan Pavlik
4a95517df3
Remove some leftover ws-man refs to fix workspace (#17746) 2023-05-25 19:48:59 +08:00
Milan Pavlik
d6629f3f92
[server] Unimplemented user service on internal port (#16999) 2023-03-27 09:26:24 +02:00
Manuel Alejandro de Brito Fontes
555ee279fe
Remove licensor component (#16983)
* Remove licensor component

* Update docker version to v20.10.23
2023-03-23 10:35:15 +01:00
Manuel Alejandro de Brito Fontes
218f64f7c1
Replace node labeler component with a dedicated deployment (#16712)
* Replace node labeler component with a dedicated deployment

* Update go modules

* Fix invalid module name

* Fix modules
2023-03-09 23:38:45 +01:00
Milan Pavlik
6774bf3338
[public-api] Auto-generate proxy handler (#16626)
* fix

* fix

* Fix

* fix

* fix

* fix

* fix

* fix

* Fix

* Fix

* Fix
2023-03-06 09:27:03 +01:00
Kyle Brennan
cc9e940124 [ws-manager-mk2] add Go workspace 2023-02-13 08:31:17 +01:00
Sven Efftinge
3c7eb185c4 Revert "update vscode workspace folders"
This reverts commit 878ba4377205801b5402d17f53c687b9eec94a43.
2023-02-10 14:42:15 +01:00
Sven Efftinge
878ba43772 update vscode workspace folders 2023-02-10 14:20:15 +01:00
Milan Pavlik
17e83b9985 [iam] Remove component 2023-01-23 17:33:31 +01:00
Manuel Alejandro de Brito Fontes
fb42bcaed7 Remove refresh-credential 2023-01-17 13:09:25 +01:00
Alex Tugarev
1f31c2111d [papi] add iam-api dependency
go mod tidy
2023-01-13 17:37:21 +01:00
JenTing Hsiao
37772682ab Rename from registry-credential to refresh-credential
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-12-15 05:48:24 -03:00
JenTing Hsiao
1e8c0fca2c A new component: registry-credential
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-12-15 05:48:24 -03:00
Alex Tugarev
ce8e4f9c12 [IAM] add component skeleton 2022-12-01 08:28:00 -03:00
Sven Efftinge
fe374a7b98 fix path to prettier config 2022-12-01 06:11:00 -03:00
Milan Pavlik
b30941bc83 [public-api] Implement list personal access tokens 2022-11-22 06:53:51 -03:00
Mads Hartmann
7944aaff4d Add previewctl to code workspace 2022-11-18 11:42:48 -03:00
Christian Weichel
d6023c989a Revert "Switch to Go workspaces"
This reverts commit 6bc34cf17512cb0a10a3a6cce44141b1f06b624e.
2022-09-29 05:28:29 +02:00
Christian Weichel
6bc34cf175 Switch to Go workspaces 2022-09-28 08:45:28 +02:00
Sven Efftinge
214e7dedad [vscode] add public-api-server to workspace 2022-09-16 16:24:17 +02:00
mustard
3b65137a7b [ide-service] add IDE service server component 2022-09-14 09:50:15 +02:00
Sven Efftinge
29388c9764 Added API call to fetch usage data 2022-09-06 09:04:21 +02:00
Pudong Zheng
8bcb24623c Add IDE metrics server component 2022-08-05 07:52:49 -03:00
Manuel Alejandro de Brito Fontes
316b493057 Refactor ws-daemon and registry-facade postStart hook 2022-07-21 20:22:16 -03:00
Pavel Tumik
28821e7d56 [dev] add gp-gcloud cli 2022-07-12 23:38:59 +02:00
Gero Posmyk-Leinemann
9ad2345b55 [usage-api] Add TS client and basic, empty getBilledUsage 2022-07-12 11:49:59 +05:30
Tarun Pothulapati
c96adbed6d [telemetry] Add new telemetry.data config option for telemetry
Fixes https://github.com/gitpod-io/gitpod/issues/10766

This PR adds a new `experimental.telemetry.data.platform` config option
that is then passed to `GITPOD_INSTALLATION_PLATFORM` env variable, which
is then transmitted by the `gitpod-telemetry` job as the `platform`
property into our telemetry store. The value of this env variable
is then overrided by each install method.

This env can have the following values:
- `installer` by default as when the installation is done directly
  through the installer, We don't have enough information
   about the environment.
-  [One of the `distribution` values](https://docs.replicated.com/reference/template-functions-static-context#distribution)
   when done through `kots`. This would have the distribution in which
   Gitpod is being installed, and is dependent on `kots`.
- `local-preview` when the installation is done through the new
   preview install method.

As the changes show in the PR, each installation method overrides
the value.

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
2022-07-01 14:53:40 +05:30
Aleksandar Aleksandrov
cf7e70df15 Remove poolkeeper 2022-06-30 15:30:39 +05:30
Mads Hartmann
982252a9a5 Remove sweeper 2022-05-04 17:41:20 +05:30
William Ghelfi
96e3b0fe5d Pre-install Prettier and ESLint VSCode extensions 2022-04-28 23:16:14 +05:30
Simon Emms
4820e804bb [installer]: move to /install 2022-02-22 17:03:02 +05:30
Cornelius A. Ludmann
58dff456b0 Move /installer to /components/installer 2022-02-14 18:42:35 +01:00
Pudong Zheng
22147062a6 remove vscode-database plugin in .gitpod.yaml 2022-02-07 08:08:28 +01:00
Manuel Alejandro de Brito Fontes
82d786e2bb Remove ws-scheduler 2022-01-24 20:08:17 +01:00
Manuel Alejandro de Brito Fontes
5bb417b822 [vscode] Remove image-builder folder 2021-12-17 16:13:41 +01:00
Manuel Alejandro de Brito Fontes
1f9ba618b9 Add installer folder to vscode settings 2021-11-22 09:38:18 +01:00
Jan Koehnlein
6c0e91e3b4 [changelog] automated changelog generation 2021-09-08 15:11:14 +02:00
Christian Weichel
133cdcfa0c [image-builder] Backport mk3 from gitpod-com 2021-07-22 16:32:26 +02:00
Sven Efftinge
a061798980 [.gitpod.yml] update config 2021-07-16 09:39:25 +02:00
Lorenzo Fontana
f67b786013 Include agent-smith in the workspace
Signed-off-by: fntlnz <lo@linux.com>
2021-06-09 10:16:01 +02:00
rl-gitpod
f96392a1e4
[server] add OAuth2 server endpoints (behind a feature flag) (#4222)
to manage client application access to users Gitpod workspaces
2021-05-21 21:23:08 +10:00
Manuel Alejandro de Brito Fontes
3e3a6cb892 Remove cerc component 2021-05-04 13:31:19 -04:00
Anton Kosyakov
7f3ba1c820
fix workspace file extension (#3768) 2021-04-07 20:04:48 +02:00