-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TB] allow to config launcher from Dashboard #20051
Conversation
out: java/src/main/java | ||
- plugin: buf.build/protocolbuffers/java | ||
# https://buf.build/protocolbuffers/java?version=v27.2 | ||
- plugin: buf.build/protocolbuffers/java:v27.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pin java plugin's version in case it updates java protobuf version and make lib usages incompatible
@@ -98,6 +99,7 @@ func main() { | |||
// supervisor refer see https://github.com/gitpod-io/gitpod/blob/main/components/supervisor/pkg/supervisor/supervisor.go#L961 | |||
shouldWaitBackendPlugin := os.Getenv("GITPOD_WAIT_IDE_BACKEND") == "true" | |||
debugEnabled := os.Getenv("SUPERVISOR_DEBUG_ENABLE") == "true" | |||
preferToolbox := os.Getenv("GITPOD_PREFER_TOOLBOX") == "true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have to use env so that we don't need to rebuild all versions of all JetBrains IDEs (args to start launcher are written inside image)
"phpstorm" | ||
], | ||
"installationSteps": [ | ||
"If you don't see an open dialog in your browser, make sure you have the \u003ca target='_blank' class='gp-link' href='https://www.gitpod.io/docs/ides-and-editors/jetbrains-gateway#getting-started-jetbrains-gateway'\u003eJetBrains Toolbox with Gitpod Plugin\u003c/a\u003e installed on your machine, and then click \u003cb\u003e${OPEN_LINK_LABEL}\u003c/b\u003e below." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Draft changes, will update in the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, toggling the ff off makes the button disappear from the dashboard.
@@ -25,18 +27,21 @@ export default function SelectIDE(props: SelectIDEProps) { | |||
|
|||
const [defaultIde, setDefaultIde] = useState<string>(user?.editorSettings?.name || "code"); | |||
const [useLatestVersion, setUseLatestVersion] = useState<boolean>(user?.editorSettings?.version === "latest"); | |||
const [preferToolbox, setPreferToolbox] = useState<boolean>(user?.editorSettings?.preferToolbox || false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: we can only default on undefined
const [preferToolbox, setPreferToolbox] = useState<boolean>(user?.editorSettings?.preferToolbox || false); | |
const [preferToolbox, setPreferToolbox] = useState<boolean>(user?.editorSettings?.preferToolbox ?? false); |
@@ -46,9 +51,10 @@ export default function SelectIDE(props: SelectIDEProps) { | |||
additionalData: { | |||
workspaceAutostartOptions, | |||
ideSettings: { | |||
settingVersion: "2.0", | |||
settingVersion: IDESettingsVersion, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
Thank you @filiptronicek |
/unhold |
Description
Related Issue(s)
Fixes ENT-442
How to test
enable_experimental_jbtb
everything should work like beforeDocumentation
Preview status
Gitpod was successfully deployed to your preview environment.
Build Options
Build
Run the build with werft instead of GHA
Run Leeway with
--dont-test
Publish
Installer
Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
If enabled this will build
install/preview
If enabled this will create the environment on GCE infra
Saves cost. Untick this only if you're really sure you need a non-preemtible machine.
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh
. If enabled,with-preview
andwith-large-vm
will be enabled./hold