37 Commits

Author SHA1 Message Date
mustard
b6c243b149
[JBGateway] connection-based client side additional heartbeat (#20319)
* [supervisor-api] Protobuf update and code generating

* [supervisor] implement `sendHeartbeat` method

* [JBGW] update jetbrains gateway (WIP)

* add thinClient a condition for additional heartbeat

* Update checkbox description
2024-11-05 11:50:02 -05:00
Filip Troníček
a4c1a319cf
Implement gp tasks stop --force-success (#20067)
* Implement `gp tasks stop --force-success`

* Fix potential race
2024-07-26 22:21:48 +02:00
Filip Troníček
b94aec1263
Integrate reading from log files into Supervisor's terminal.Listen (#19863)
* Integrate reading from log files into Supervisor's `terminal.Listen`

* Try with GetOutput

* do not bubble down and fail

* remove debug stuff

* definitions and impl of `task.proto`

* codegen

* update endpoint

* Implement `ListenToOutput`

* Try with one API (🤞)

* stream beginning from where we left off

* Do not watch closed tasks

* move closing of worker channel

* simplify one-off reading

* codegen

* consolidate for loops, optimize watching

* remove extra line

It makes sense to group the offset definition with the function below it

* Gpl/ft/supervisor-listen-files (#19878)

* commit step 1

* 2nd

* Changes from joint code review

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>

* Remove year bumps

---------

Co-authored-by: Gero Posmyk-Leinemann <gero@gitpod.io>
2024-06-12 21:37:08 +08:00
Huiwen
a7bd49fb34
[supervisor] Remove default image fetch to improve IDE startup performance (#18993)
* [supervisor] Remove default image fetch to improve IDE startup performance

* fix build

* address feedback
2023-11-02 08:30:40 +02:00
Anton Kosyakov
cbc308305c
[ssh] flexible auth user (#18880) 2023-10-06 14:52:15 +03:00
Huiwen
04e576fbe0
Add default workspace image to org setting (#18723)
* Add default workspace image to org setting

* [db] add migration

* fixup

* [dashboard] add org default image settings

* fixup

* dashboard fixup

* Add server image test TODO

* [server] assign global workspace default image

* [dashboard] allow to submit empty string (will fallback to global default)

* [gp-cli] support gp validate with default image

* [dashboard] save default image

* fixup

* fixup

* [gp-cli] improve output

* [gp-cli] improve gp init

* [gp-cli] gp validate compatibility

* Update components/dashboard/src/teams/TeamSettings.tsx

Co-authored-by: Filip Troníček <filip@gitpod.io>

* Remove org id / get org settings in supervisor

* Remove `WorkspaceConfigContext`

* Add unit tests

* Rename to `DefaultWorkspaceImage`

* Update components/dashboard/src/teams/TeamSettings.tsx

Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>

* Add empty image fallback to supervisor

* Fix default workspace image setup

* Update org settings fields

* fixup

* Allow empty image to set to default one

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2023-09-19 14:51:58 +02:00
Anton Kosyakov
dda04f50a8
[supervisor-api] don't generate java typings separately (#18426)
to avoid ditry changes
2023-08-03 17:15:28 +08:00
Anton Kosyakov
8f85d82009
[supervisor] expose control service over REST (#18411)
* [supervisor] expose control service over REST

* [supervisor] expose host key on create key pair

to let clients to do fingerpring checking
2023-08-02 23:01:28 +08:00
Anton Kosyakov
8a529c132c
[supervisor] add http binding for create private ssh keys (#18405)
There is not grcp web client for Java.
I would like to use plain http request to resolve it
in order to establish SSH over Web Socket tunnel.
2023-08-02 17:57:27 +08:00
Anton Kosyakov
f91100838f
[supervisor] commit java typings (#18404)
to unblock local development
2023-08-02 16:34:28 +08:00
Anton Kosyakov
affaa319ca
[jb] bump up major platform version of backend plugin (#16913) 2023-03-21 09:22:13 +01:00
Victor Nogueira
0c06ac63be Git-ignore the proto-generated Java files from Supervisor API 2022-12-22 08:43:31 -03:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Victor Nogueira
6dfd3f7003 Upgrade Gradle Wrapper to v7.5.1 in all components
The process of upgrading Gradle Wrapper is described here: https://docs.gradle.org/7.5.1/userguide/gradle_wrapper.html#sec:upgrading_wrapper
2022-11-08 10:18:38 +01:00
Manuel Alejandro de Brito Fontes
000cadead8 Update grpc code 2022-10-04 15:17:22 +02:00
Jean Pierre
0acc0b30ec [supervisor] Add PortsStatus::on_open and deprecate ExposedPortInfo::on_exposed 2022-09-22 12:29:23 +02:00
Anton Kosyakov
3c6c85fc72 jb: backend plugin hot deploy 2022-09-12 11:21:13 +02:00
mustard
95fa4439e5 [gp-cli] provide workspace class info in top command 2022-08-30 10:25:14 +02:00
Andrea Falzetti
131aa358ad feat(supervisor): add resource status severity 2022-08-17 13:35:33 +02:00
Victor Nogueira
b60946ec96 Fix Java projects configs 2022-08-11 21:16:28 +02:00
Victor Nogueira
232e85a0d7 Upgrade Gradle Wrapper for compatibility with Java 17 2022-08-10 07:48:54 +02:00
Anton Kosyakov
52e422189c [supervisor] fix #9521: add resources endpoint respecting cgroup v1 2022-05-18 13:06:32 +05:30
Manuel Alejandro de Brito Fontes
ab0d69cfea Update generated code 2022-04-25 15:52:37 +05:30
mustard
dea32b3119 [supervisor-api] introduce new endpoint to set active client 2022-04-21 18:52:33 +05:30
Anton Kosyakov
0b6c4273bb [supervisor]: add ide-dekstop-ready phase to status_rendered analyitcs event
To track whether a user seen loading screen after configuring desktop IDE.
2022-02-25 16:51:05 +05:30
Anton Kosyakov
bc75f05bba increase gradle timeouts to stabilize builds 2022-02-01 10:23:23 +01:00
Anton Kosyakov
615e8a0bbc fixing JB backend plugin
- remove dependencies, since JB backend already has Kotling dependencies, and adding other version leads to runtime incompatibilities
- fix memory leak of grpc message channels
- use Kotlin koroutines instead of dedicated thread for heartbeating
- implement web socket reconnection handling for Gitpod server connection
- pin java target to v.11 in all projects
2022-01-27 10:15:19 +01:00
Anton Kosyakov
f3ed7e4a91 [ide] desktop client installation steps 2022-01-24 13:32:16 +01:00
Pudong Zheng
b58cb5984b Automatic rollout latest Jetbrains IDE 2022-01-19 22:38:12 +01:00
Pudong Zheng
d9955ccc74 Add SSH Gateway to ws-proxy 2022-01-06 17:29:00 +01:00
Victor Nogueira
f85494006d [supervisor] Provide port Name and Description along with the port status 2021-12-20 18:42:44 +01:00
Manuel Alejandro de Brito Fontes
a30a1bff48 Add ExposedPorts message and remove Target and GlobalPort 2021-11-05 10:33:03 +01:00
Manuel Alejandro de Brito Fontes
5cd1a4e267 Update graddle dependencies 2021-11-02 15:50:10 +01:00
Manuel Alejandro de Brito Fontes
9b90bd5f6b Update protoc generated code 2021-11-02 15:50:10 +01:00
Cornelius A. Ludmann
19dcaa45d8 [supervisor] Add desktop IDE backend support
/werft with-clean-slate-deployment
2021-10-27 12:49:04 +02:00
André Duarte
acee90361c Create intellij-backend-plugin 2021-10-14 09:43:01 -03:00
Cornelius A. Ludmann
79542d659c [supervisor-api] Add Java gRPC API
/werft no-preview
2021-10-11 05:44:57 -03:00