Filip Troníček
c24b8f4aed
Add optional, org-wide Gitpod commit annotation ( #20525 )
...
* [supervisor] Add Gitpod commit annotation
* server and API changes
* [dashboard] add org setting for commit annotation
* Fix things
* Fix label for annotation switch
* Revert accidental rename
* minor docs fixes
* Add a feature flag for the setting: `commit_annotation_setting_enabled`
* Register hook in the cloned repo instead of under /etc/
* don't override existing hooks
* `gp git-commit-message-helper` to use `git interpret-trailers`
* Test it!
* 🧹 indeed
* Update timestamp of DB migration
2025-01-24 08:11:14 -05:00
Gero Posmyk-Leinemann
5982621a05
[cli] ports-list: Increase timeout for establishing connection + receiving response to 5s -> 10s ( #20424 )
2024-12-05 05:48:12 -05:00
Filip Troníček
fc65cf1751
[server] increase getToken bucket size ( #20398 )
2024-11-28 04:51:05 -05:00
Filip Troníček
28942bd01b
Properly time out gp open ( #20378 )
...
* Properly time out `gp open`
* on the Edge of Sleep™
2024-11-18 14:09:56 -05:00
Filip Troníček
810f5e9a01
[WS CLI] Make env --scope=user compatible with GitLab groups ( #20279 )
...
* [WS CLI] Make `env --scope=user` compatible with GitLab groups
* Allow updating `*/*` scoped vars for backwards compat
* Fix test races
2024-10-22 13:39:52 -04:00
Filip Troníček
dae15292d4
Fix docs URLs ( #20270 )
2024-10-04 08:06:19 -04:00
Filip Troníček
1accbd9101
[Workspace CLI] better logs streaming for validate ( #20238 )
...
* [Workspace CLI] better logs streaming for `validate`
* add tests, handle `\b`
2024-09-24 10:52:10 -04:00
Gero Posmyk-Leinemann
192727f082
[gp] Add helpful message in case "gp env --scope=user" fails because of missing create permission ( #20227 )
...
* [gp] Add helpful message in case "gp env --scope=user" fails because of missing create permission
* Fix typo
Co-authored-by: Filip Troníček <filip@gitpod.io>
* another typo
---------
Co-authored-by: Filip Troníček <filip@gitpod.io>
2024-09-17 07:59:03 -04:00
Gero Posmyk-Leinemann
93f81feb15
[gp] Introduce "gp user-info" showing userId and email ( #20206 )
...
* [gp] Introduce "gp user-info" showing userId and email
* [gp] gp user-info: Add --email
2024-09-12 04:36:57 -04:00
Gero Posmyk-Leinemann
d3eccd0169
[gp] Allow update of existing user-scoped env vars ( #20193 )
...
* [gp, protocol, server] Remove references to long-deprecated "getEnvVars" API method
* [gp, server] Allow users to update user-scopes env vars
2024-09-11 02:57:56 -04:00
mustard
cee438b2e2
[GP-CLI] fix gp preview not outputting stderr and stdout properly ( #20166 )
...
* [GP-CLI] fix `gp preview` not outputting stderr and stdout properly
* remove stdout pipe
2024-09-02 08:52:45 -04:00
Pudong
5661c6e701
[gp validate] using gitpod/workspace-full:latest as default image ( #20155 )
2024-08-28 05:26:41 -04: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
Aminur Rahman
a4c4c57bc7
Update cmd name example in gp timeout set ( #19965 )
2024-06-24 13:53:19 +02:00
Huiwen
3ba3118be6
[GP-CLI] fix incorrect pre-configured workspace image for enterprise ( #19811 )
...
* [GP-CLI] fix incorrect pre-configured workspace image for enterprise
* fixup
2024-05-30 19:14:11 +08:00
Huiwen
5ff4535ac5
Add scope flag to idp commands ( #19727 )
...
* Add `scope` flag to idp commands
* fix flag inherit
2024-05-15 16:27:53 +08:00
Pudong
6c7544ebca
[idp] improve idp ( #19647 )
...
* [idp] add repository claim
* [idp] add missing `use` field for key cache
* [idp] simplify logic for `idp token --decode` command
* [idp] add `gcloud-token` command
* Apply suggestions from code review
Co-authored-by: Huiwen <mhqnwt@gmail.com>
---------
Co-authored-by: Huiwen <mhqnwt@gmail.com>
2024-04-23 09:59:01 +02: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
Pudong
53635199e9
Allow customize aws and vault audience ( #18840 )
2023-10-10 11:38:18 +03:00
Milan Pavlik
fff69c97bc
[cli] Support gp idp login aws --duration-seconds ( #18797 )
2023-09-26 10:09:05 +03:00
Siddhant Khare
8d2c8d86c2
[CLI] --decode flag to decode IDP token to JSON ( #18750 )
...
* [CLI] `--decode` flag to decode IDP token to JSON
* Marhsal into a map into a proper JSON output
2023-09-20 17:20:59 +02: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
Christian Weichel
205e6fc9b4
Improve gp idp login aws ( #18601 )
...
* [idp aws login] Make AWS profile configurable
* Use workspaceID as session name
2023-08-25 17:01:51 +02:00
AXON
c747c1e933
Use WORKSPACE_CLUSTER_HOST for gp ssh output ( #18289 )
...
* Use WORKSPACE_CLUSTER_HOST for `gp ssh` output
* Update ssh.go
2023-07-17 22:42:34 +08:00
Anton Kosyakov
dcaa6da5d1
validate: run IDE prebuild only in headless workspace ( #18120 )
...
in order to avoid race between IDE and prebuild
2023-07-03 19:21:20 +08:00
Filip Troníček
de62cdc802
Show gp idp in the CLI help menu ( #18115 )
...
* Show `gp idp` in the CLI help menu
* Fix description
* leeway link
2023-06-30 17:31:48 +08:00
Filip Troníček
673ac4d946
gp ssh (#17998 )
...
* Add `gp ssh`
* Implement non-working owner token retrieval
* `--access-token`
* Remove access token method
* update help text
* Format errors
* Enhance help command
* Remove unused import
* Unnecessary variable
* Add todo
2023-06-22 16:30:12 +08:00
Pudong
91f4a5ae49
[gp-cli] respect exit-code when received SIGNAL ( #17966 )
2023-06-20 22:09:10 +08:00
Anton Kosyakov
9f975671d0
fix IDE-130: report gp env arg parsing errors as user errors ( #17780 )
2023-05-31 14:58:05 +08:00
Pudong
c1e80f5f8d
Support forward https protocol port ( #16547 )
...
* introduce this feature to user
* use tcp proxy
2023-05-31 14:41:05 +08:00
Anton Kosyakov
8e9f2c0ff9
[rebuild] support desktop IDEs ( #16818 )
...
* [rebuild] support desktop IDEs
* ensure target is exist
---------
Co-authored-by: Pudong <tianshi8650@gmail.com>
2023-03-17 15:00:10 +01:00
Pudong
c0d6fa978d
[gitpod-cli] change gp rebuild to gp validate ( #16867 )
...
* [gitpod-cli] change `gp rebuild` to `gp validate`
* fix `await-port` and `forward-port` command backward compatible
* Change the reference to `gp rebuild`
* update `gitpod-web` extension ref 3b076b9103
2023-03-17 06:51:08 +01:00
Anton Kosyakov
f260c31439
[rebuild] decoule IDE env vars from registry-facade ( #16812 )
...
by moving in supervisor-ide-config.json
2023-03-13 13:24:48 +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
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
Anton Kosyakov
04ab8dd5cb
gp rebuild: disable desktop IDEs
2023-02-08 18:08:46 +01:00