192 Commits

Author SHA1 Message Date
Milan Pavlik
13b3b013b6
[logging] Enable storing/extracing of logger from context (#16658)
* [logging] Enable storing/extracing of logger from context

* Fix

* Fix

* Fix

* Fix

* Fix

* Fix
2023-03-09 10:27:45 +01:00
Anton Kosyakov
b9f2657c3e
[gp] track git event with instanceId (#16693)
instead of workspaceInstanceId to allow cross events matching in Mixpanel
2023-03-06 22:05:04 +01:00
Christian Weichel
da4cafd5e5
Gitpod OIDC Identity Provider (#16482)
* Prototype IDP provider

* [gp cli] Add IDP commands

* [public-api] Remove zitadel based IDP implementation

* [gitpod-cli] Add IDP support for Vault

* [idp] Remove per-org IDP

* [idp] Add key cache and random key IDs

* [idp] Defer GetIDToken authorisation to server

* [idp] Add Redis public key cache

* [gitpod-cli] Hide IDP commands

* [idp] Add key ID to JWT

* [idp] Add unit tests

* [idp] Adress review comments

* [public-api-server] Use logging middleware globally

* [public-api-server] Simplify service registration

* [idp] Add Redis outage resilience
2023-03-03 17:11:01 +01:00
Milan Pavlik
e4e05143e2
[baseserver] Initialize tracer with server (#16586)
* [baseserver] Initialize tracer with server

* fix

* Fix

* fix
2023-03-03 14:57:01 +01:00
Pudong
884a177f4d
[inner-loop] run Isolated docker in debug workspace (#16363) 2023-02-25 04:32:54 +01:00
Anton Kosyakov
ad26ca1a57
[rebuild] fix 16535: auto manage windows (#16561) 2023-02-24 15:52:54 +01:00
Anton Kosyakov
f0d1d1f1ad
[supervisor] analyze image file changes (#16513) 2023-02-24 15:19:54 +01:00
Huiwen
2877b3b1fa
[gp-cli] fix gp init panic (#16550) 2023-02-24 09:58:54 +01:00
Anton Kosyakov
4a37a26b04
[rebuild] remove notion of debug workspace from output (#16533) 2023-02-23 14:40:53 +01:00
Anton Kosyakov
626d05722f [rebuild] consume workspace env var as is
gp env changes values a bit to satisfy eval, instead of using it rebuild directly applies values returned by a server
2023-02-22 15:01:52 +01:00
Anton Kosyakov
44f60692d0 [rebuild] map workspace location properly 2023-02-21 16:33:51 +01:00
Pudong Zheng
7f02f26784 [gitpod-cli] gp rebuild respect image context 2023-02-21 16:26:51 +01:00
Anton Kosyakov
532513a848 fix #12208: gp env to respect workspace env vars 2023-02-20 18:36:50 +01:00
Huiwen
be8f9e30c5 [gp-cli] fix empty human readable timeout 2023-02-13 10:44:17 +01:00
Huiwen
e3e3b976c7 [gp-cli] fix gp open cmd open another file 2023-02-13 08:29:17 +01:00
Filip Troníček
880f186042 gp timeout set and gp timeout show to echo back the server-interpreted display duration
This means that 1439m doesn't become "1439 minutes", but rather "29 hours and 59 minutes"
2023-02-10 11:38:15 +01:00
Filip Troníček
90a865f269 Update gp timeout set help text to match backend 2023-02-10 11:38:15 +01:00
Pudong
ab5cd3f807 [gp-cli] fix sync-await cannot interrupt 2023-02-10 10:25:15 +01:00
Manuel Alejandro de Brito Fontes
b336a5cb65 Update go dependencies 2023-02-10 09:24:15 +01:00
Anton Kosyakov
04ab8dd5cb gp rebuild: disable desktop IDEs 2023-02-08 18:08:46 +01:00
Pudong Zheng
352393456b gitpod-cli: add analytics
Co-authored-by: Andrea Falzetti <andrea@gitpod.io>
2023-02-08 17:43:46 +01:00
Anton Kosyakov
5d516df005 small improvements for gp rebuild
- fix checkout and workspace locations
- don't generate dockerfile if image is specified to avoid transfering traffic to daemon over and over
- only do inline replacements for VS Code Server in debug mode
2023-02-08 10:04:46 +01:00
Kwok He Chu
64fdd5a2b1 Added WorkspaceContextUrl to gitpod-cli under the command gp info 2023-02-07 13:23:45 +01:00
Anton Kosyakov
9b3f8a2cc4 gp rebuild with isolated debug workspace
Co-authored-by: Pudong Zheng <tianshi8650@gmail.com>
2023-02-06 14:47:44 +01:00
Andrea Falzetti
1c5296e0f5 gitpod-cli: call segement directly for analytics 2023-01-18 18:40:26 +01:00
Sven Efftinge
95996df038 [server, cli] Allow flexible workspace timeouts 2023-01-18 16:14:26 +01:00
Andrea Falzetti
75fec4ac8e gp rebuild improvements
Co-authored-by: Victor Nogueira <victor@gitpod.io>
2023-01-18 10:24:26 +01:00
Siddhant Khare
83a75c732a educate user about gitpod templates
Signed-off-by: Siddhant Khare <siddhant@gitpod.io>
2023-01-17 09:50:25 +01:00
Andrea Falzetti
1e24370e8e gitpod-cli: add gp rebuild cmd
Co-authored-by: Victor Nogueira <victor@gitpod.io>
2023-01-13 14:48:21 +01:00
Siddhant Khare
7cb644114f feat: gp docs in gitpod cli
Signed-off-by: Siddhant Khare <siddhant@gitpod.io>
2023-01-13 11:05:52 +01:00
Anton Kosyakov
697696029b [gp-run] experimental workspace config debug mode
Co-authored-by: Anton Kosyakov <anton@gitpod.io>
Co-authored-by: Victor Nogueira <victor@gitpod.io>
Co-authored-by: Andrea Falzetti <andrea@gitpod.io>
2023-01-09 06:32:48 +01:00
Siddhant Khare
e7fd85cbf2 chore: descriptive output gp CLI
Signed-off-by: Siddhant Khare <siddhant@gitpod.io>
2023-01-06 18:43:46 +01:00
Siddhant Khare
1d3bf3065f fix: context URLs of JetBrains ex. repo.
Signed-off-by: Siddhant Khare <siddhant@gitpod.io>
2022-12-27 15:51:36 +01:00
Anton Kosyakov
e8a7835f9b [gitpod-cli] clean up
This PR introduces SupervisorClient to cache grpc connection and clients. It is in a prepartion to support inner container while running gp-run to provide access to all tasks.
2022-12-21 09:18:30 -03:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Andrea Falzetti
e052cd2af5 fix(gp-cli): display error for unknown subcommands 2022-11-12 12:16:41 +02:00
Manuel Alejandro de Brito Fontes
184fec8010 Refactor gp await to use available protocols 2022-11-09 17:59:39 +02:00
Andrea Falzetti
7c5dc44b4a fix(gitpod-cli): ports list safe access to exposed url 2022-10-21 21:31:36 +02:00
mustard
c2f7cdf7d9 [gp-cli] remove sort in gp ports list cmd 2022-10-20 22:01:36 +02:00
Andrea Falzetti
3c072803c6 feat(gitpod-cli): report errors to ide-metrics-api 2022-10-13 18:21:28 +02:00
Anton Kosyakov
11c412b57d [gp-cli] remove unused code 2022-10-11 10:22:26 +02:00
Wouter Verlaek
3684e89d24 Move workspace class to table 2022-10-05 16:32:21 +02:00
Wouter Verlaek
858c37ad99 chore(gitpod-cli): Update top table output format 2022-10-05 16:32:21 +02:00
Anton Kosyakov
08a8412774 random exponential backoff of server connections 2022-10-05 11:16:20 +02:00
Wouter Verlaek
208fbe4806 feat(gitpod-cli): gp info command 2022-10-05 10:07:20 +02:00
Manuel Alejandro de Brito Fontes
d5eb5815b5 Update to 1.19 2022-10-04 15:17:22 +02:00
Manuel Alejandro de Brito Fontes
3f6cbd07f1 Update go dependencies 2022-10-04 15:17:22 +02:00
mustard
0d416fb738 [gp-cli] add command to change ports visibility 2022-09-29 11:42:30 +02:00
Christian Weichel
d6023c989a Revert "Switch to Go workspaces"
This reverts commit 6bc34cf17512cb0a10a3a6cce44141b1f06b624e.
2022-09-29 05:28:29 +02:00
Christian Weichel
174a09222f Revert "Run go work sync"
This reverts commit 6b23167e09f74062b31150d4044a8fe7cacbc34b.
2022-09-29 05:28:29 +02:00