11481 Commits

Author SHA1 Message Date
Huiwen
be35ce16a8
Use golden files for converter testings (#19168)
* Use golden files for converter testings

* Add tips if test failed

* Make results of enum human-readable

* Add copyright
main-gha.21146
2023-11-30 19:47:08 +02:00
Pudong
555c738cd0
hook create key route in ws-proxy (#19174) main-gha.21143 pd-create-key-hook-gha.21191 2023-11-30 19:28:07 +02:00
Pudong
10fe5b9699
[sshgateway] use ssh CA to auth (#19147)
* [sshgateway] use ssh CA to auth

* change name

* add error log

* fix

* mark volume optional

* [installer] validate ssh-ca secret

* Revert "[installer] validate ssh-ca secret"

This reverts commit ca6ede78a7b5a720fd315eca32eb277cb5063069.

We must support the scenario where the installer has the secret, but, it is not in the cluster yet.

---------

Co-authored-by: Kyle Brennan <kyle@gitpod.io>
main-gha.21141 pd-ssh-cert-gha.21155
2023-11-30 19:17:08 +02:00
Thomas Schubart
a96456ae29
Manage only workspaces created by manager (#19155)
* Add managed by label

* Fix test

* Handle workspaces if no label is set
main-gha.21126
2023-11-30 15:50:07 +02:00
Jean Pierre
172145ed6e
Enable new UI on first start (#19169) main-gha.21122 2023-11-30 12:29:08 +02:00
Huiwen
a6f4722556
Revert "Refine workspace API (#19138)" (#19172)
This reverts commit da0c5901b4af15a3584d5c5d6b80380f0c093855.
main-gha.21117
2023-11-30 12:14:07 +02:00
Jean Pierre
a997229da8
[public-api] Add installation service (#19150)
* Add installation service

* Fix dashboard

* Fix

* Fix

---------

Co-authored-by: Huiwen <mhqnwt@gmail.com>
main-gha.21098
2023-11-30 01:12:07 +02:00
Brad Harris
d327e5c5e8
Update repo config detail pages to use nested router (#19161)
* Update detail pages to use nested router

* stubbing out prebuilds page

* normalizing sizing/padding a bit across pages
main-gha.21080
2023-11-29 19:22:07 +02:00
Anton Kosyakov
8fe07adcf4
[dashboard] only keep public-api migration FF per a service (#19165) main-gha.21076 2023-11-29 19:03:06 +02:00
Filip Troníček
6c1251ad80
Gitpod CLI changelog (#19135)
* Gitpod CLI changelog

* Format

* Remove outdated comment
main-gha.21075
2023-11-29 18:43:07 +02:00
Christian Weichel
da0c5901b4
Refine workspace API (#19138)
* Refine workspace API

* Fix build

* update proto

* fix rebase

* fix rebase - 2

* 1

* fix editor

* Update doc

---------

Co-authored-by: Huiwen <mhqnwt@gmail.com>
2023-11-29 16:15:07 +02:00
Alex Tugarev
88d65c186f
[papi] Add UserService/UpdateUser to proto (#19163)
* [papi] Add `UserService/UpdateUser` to proto

* extract SetWorkspaceAutoStartOptions
main-gha.21058
2023-11-29 16:08:06 +02:00
Pudong
b983b6276f
[ws-manager] use workspace class description (#19164) main-gha.21053 2023-11-29 14:11:06 +02:00
Huiwen
d6dcda8a3e
Migrate parts of gPRC workspaceService (#19129)
* Migrate parts of WorkspaceService

* bump version
main-gha.21033
2023-11-29 12:28:07 +02:00
Alex Tugarev
56b3dd5392
Install pre-commit hooks in prebuild (#19159)
* [dev/image] Install pre-commit hooks under /workspace during prebuilds

* Separate task: Install pre-commit hooks

* Update dev image with `env PRE_COMMIT_HOME`
main-gha.21027
2023-11-29 11:51:06 +02:00
Anton Kosyakov
2f14d7a2fe
decouple gitpod-protocol from public-api (#19151)
to prevent rebuilding of components which dependent on gitpod-protocol, but not public-api on an API change
main-gha.21021
2023-11-29 10:36:06 +02:00
Brad Harris
b73c20a169
Fix logic that hydrates protobuf msgs and add test (#19162) main-gha.21012 2023-11-29 01:17:06 +02:00
Wouter Verlaek
c5d296f8e2
[ws-manager-mk2] Refactor node utilization to count by pod resource requests (#19160) main-gha.20995 2023-11-28 22:04:06 +02:00
Alex Tugarev
5bbfc3b2ec
Fix some log statements and a minor in pre-commit settings (#19137)
* [server] fix log message

* [pre-commit] run dashboard-linter only if dashboard files changed

breaks dependency on `yarn install`
2023-11-28 18:24:05 +02:00
Huiwen
0acd42e106
Migrate gRPC VerificationService (#19143)
* Implement

* use on dashboard

* Add test case

* fixup

* fix build

* Update proto

* Update

* 💄

* 💄

* [verificationservice] added mock impl for previews

---------

Co-authored-by: Jean Pierre Huaroto <jeanp413@hotmail.com>
Co-authored-by: Sven Efftinge <sven@gitpod.io>
main-gha.20979
2023-11-28 17:56:06 +02:00
Huiwen
ab797f1057
Fix leeway make-user-admin script (#19156) main-gha.20957 2023-11-28 17:07:06 +02:00
Wouter Verlaek
237578143b
[ws-manager-mk2] Add workspace pending time histogram (#19154) main-gha.20941 2023-11-28 14:04:06 +02:00
Alex Tugarev
4c6cc4fb01
[papi] add user.proto and GetAuthenticatedUser – EXP-845 (#19132)
* [papi] add user.proto and GetAuthenticatedUser

* [papi] (generate.sh) Run end-of-file-fixer

* rename to EditoSettings

* clean up proto

* fix import

* update WorkspaceTimeoutSettings

* fix typo

* update WorkspaceTimeoutSettings

* clarify User.name is full name in doc line
main-gha.20932
2023-11-28 12:42:06 +02:00
Robo Quat
df2c4ebbb7
update index (#19121)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
main-gha.20931
2023-11-28 12:41:06 +02:00
Sven Efftinge
1a68211e21
[server] consider unfinished prebuilds (#19152) main-gha.20921 2023-11-28 11:25:05 +02:00
Gero Posmyk-Leinemann
5fc4561abc
SubjectId: Address mismatch (I) (#19144)
* [workspace] Use runWithRequestContext in reconcileWorkspaceStart

* [probot] Run prebuild webhook with correct subjectId

* [prebuods] Mopre SubjectId changes...
main-gha.20918
2023-11-28 10:53:05 +02:00
Huiwen
dfb3dc22f0
[service-waiter] use ide proxy for metric report (#19141) 2023-11-28 08:32:05 +02:00
Alex Tugarev
fa4f79e228
[dashboard] Fix Repository Finder after switch to SCM Service (#19149) main-gha.20902 2023-11-28 08:31:05 +02:00
Manuel Alejandro de Brito Fontes
4dfc2b7886
Reduce job log verbosity (#19148) main-gha.20901 2023-11-28 08:27:05 +02:00
Manuel Alejandro de Brito Fontes
e9cfedd0c9
Get SSH username from workspacekit (#19146)
* Get SSH username from workspacekit

* Disable false positive

* Check status code
main-gha.20870
2023-11-27 19:52:05 +02:00
Robo Quat
8ca0953fd7
Update Platform Version of JetBrains Gateway Plugin (EAP) to 233.11799-EAP-CANDIDATE-SNAPSHOT (#18878) main-gha.20867 2023-11-27 19:06:04 +02:00
Robo Quat
1d938809a7
Update Platform Version of JetBrains Backend Plugin (EAP) to 233.11799-EAP-CANDIDATE-SNAPSHOT (#19006) 2023-11-27 19:05:05 +02:00
Gero Posmyk-Leinemann
c25da3989b
[dashboard] Fix: Show inactive workspaces if there are some (#19145) main-gha.20850 2023-11-27 14:41:04 +02:00
Autofix
08c974be8c
Autofix: upgrade-nvm-tools (#19040)
Co-authored-by: Autofix <autofix-bot@users.noreply.github.com>
main-gha.20833
2023-11-27 12:33:04 +02:00
Anton Kosyakov
180f648782
[dashboard] enable grpc migration per service (#19140) main-gha.20826 2023-11-27 10:42:04 +02:00
Robo Quat
eb5450f166
[JetBrains] Update IDE images to new build version (#18933)
* [JetBrains] Update IDE images to new build version

* Fix

---------

Co-authored-by: Jean Pierre Huaroto <jeanp413@hotmail.com>
main-gha.20789
2023-11-24 20:48:02 +02:00
Manuel Alejandro de Brito Fontes
453bf6ea4a
Refactor configuration of workspace SSH key (#19059)
* Refactor configuration of workspace SSH key

* Update go modules

* Update CRD

* only add SSH Key to workspace CR (#19130)

---------

Co-authored-by: Pudong <tianshi8650@gmail.com>
main-gha.20774
2023-11-24 15:55:01 +02:00
Pudong
34674c7fdb
Migrate the ssh tunnel from supervisor to ws-proxy (#19119)
* Migrate the ssh tunnel from supervisor to ws-proxy

* Add metrics for tunnel open and close
main-gha.20762
2023-11-24 14:21:02 +02:00
Filip Troníček
96a480ca30
cli: use the gitpod endpoint for analytics (#19109)
* cli: use the gitpod endpoint for analytics

* Remove gitpod.io constraint

* Remove unused tomfoolery

* bump version
main-gha.20753
2023-11-24 13:07:02 +02:00
Gero Posmyk-Leinemann
b6fa451a94
[server] Use RequestContext.subjectId for authorization (#19091) main-gha.20749 2023-11-24 13:00:02 +02:00
Pudong
d5c978ae1b
[gateway-plugin] add ssh gateway host key to accept list (#19116) main-gha.20718 2023-11-24 10:07:02 +02:00
Sven Efftinge
ce1e7706b7
[usage] fix usage export (#19127) main-gha.20694 2023-11-23 17:49:01 +02:00
Wouter Verlaek
f9e6a632a6
[ws-manager-mk2] Add node utilization metrics (#19105)
* [ws-manager-mk2] Node capacity metrics

* CPU use millis, fix stopped, collect

* Refactor to utilization metric, rm total, add type
main-gha.20688
2023-11-23 16:46:01 +02:00
Filip Troníček
9737e97f22
cli: prompt for organization on login (#19107)
* cli: prompt for organization on login

If the user is a member of more than one organization, let them choose one upon login, interactively.

* Avoid double negation in `if`

* Remove 'em pesky whitespaces

Thanks Chris!

* Loading indicator

* Move the block to the correct location 🙄

* Bump version
main-gha.20680
2023-11-23 16:22:02 +02:00
Anton Kosyakov
1d3b862976
[configcat] ensure that browser updates the cacge (#19125) main-gha.20678 2023-11-23 16:10:01 +02:00
Huiwen
f1475ab16b
Fix create workspace missing project id (#19122) main-gha.20660 2023-11-23 14:40:01 +02:00
Sven Efftinge
874a733bc9
[build] update leeway (#19114)
* [build] update leeway

* make use of image

* don't run the ide builds
main-gha.20642
2023-11-23 10:42:01 +02:00
Jean Pierre
c201a2d9df
[public-api] migrate ssh service (#19110)
* migrate ssh service

* 💄

* 💄

* fix build

* Fix

---------

Co-authored-by: Huiwen <mhqnwt@gmail.com>
main-gha.20641
2023-11-23 07:12:00 +02:00
Alex Tugarev
79666cd24d
[dashboard] Use SCM Service (gRPC) (#19101)
* [dashboard] Use SCM Service (gRPC)

* address review comments

* bump cache version
main-gha.20616
2023-11-22 18:26:00 +02:00
Huiwen
fa3cca46c0
Migrate CreateAndStartWorkspace method in dashboard (#19076)
* Migrate WorkspaceService.CreateAndStartWorkspace

* Add unit tests

* Fix rebase build error
main-gha.20614
2023-11-22 18:23:59 +02:00