Skip to content

Conversation

@geropl
Copy link
Member

@geropl geropl commented Jul 25, 2025

Description

Install SDKMAN as root (proven working approach) then create gitpod user with symlinks to make SDKMAN accessible at /home/gitpod/.sdkman path expected by JetBrains plugin BUILD.yaml files. This resolves the issue where leeway run dev:preview fails in Flex environments due to SDKMAN path mismatch.

Related Issue(s)

Fixes CLC-1619

How to test

Documentation

Preview status

gitpod:summary

Build Options

Build
  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer
  • analytics=segment
  • with-dedicated-emulation
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • /werft preemptible
    Saves cost. Untick this only if you're really sure you need a non-preemtible machine.
  • with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh. If enabled, with-preview and with-large-vm will be enabled.
  • with-monitoring

/hold

Install SDKMAN as root (proven working approach) then create gitpod user
with symlinks to make SDKMAN accessible at /home/gitpod/.sdkman path
expected by JetBrains plugin BUILD.yaml files. This resolves the issue
where leeway run dev:preview fails in Flex environments due to SDKMAN
path mismatch.

Fixes CLC-1619

Co-authored-by: Ona <[email protected]>
@geropl geropl changed the title Fix SDKMAN_DIR mismatch in Flex environments Unblock Ona on Classic: Fix SDKMAN_DIR mismatch in Flex environments Jul 25, 2025
@geropl
Copy link
Member Author

geropl commented Jul 25, 2025

@iQQBot If you have a minute I would appreciate your review! 🙏

@geropl
Copy link
Member Author

geropl commented Jul 25, 2025

/unhold

@roboquat roboquat merged commit 12531a7 into main Jul 25, 2025
46 of 47 checks passed
@roboquat roboquat deleted the gpl/1619-sdkman-fix branch July 25, 2025 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants