-
Notifications
You must be signed in to change notification settings - Fork 3
feat: Integrate wstunnel for future remote session ingress #994
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
feat: Integrate wstunnel for future remote session ingress #994
Conversation
leafty
left a comment
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 OK as a starting point.
661e73a to
7d399fa
Compare
8a9d502 to
3b33b7a
Compare
518ba1c to
e00de68
Compare
|
I've made this work on staging.dev.renku.ch, so we can rebase this and merge it into the feature branch. |
9ac5a34 to
e640377
Compare
|
rebased |
leafty
left a comment
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.
LGTM.
I'll check the merge conflict.
leafty
left a comment
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.
chartpress leftovers
e909a51
into
build/support-remote-sessions-hpc
* experimental: remote sessions * update * fix types * error formatting * remove 'not implemented error' * exp: use a dev name for sessions * update * fix e2e? * revert non-important changes * rerun some make targets * feat: support remote sessions on HPC clusters Closes #983. _Feature branch_ * exp: use a dev name for sessions * more updates * feat: support remote sessions on HPC clusters Closes #983. _Feature branch_ * feat: install wstunnel in sidecars * feat: add tunnel using wstunnel and os.exec.Command * feat: add tunnel command to sidecars * feat: basic testing of tunnel in sidecars * refactor: use TARGETOS and TARGETARCH instead of WSTUNNEL_PLATFORM * update * fix e2e? * feat: support remote sessions on HPC clusters Closes #983. _Feature branch_ * feat: support remote sessions on HPC clusters Closes #983. _Feature branch_ * Revert chartpress e2e leftovers --------- Co-authored-by: Flora Thiebaut <flora.thiebaut@sdsc.ethz.ch>
* experimental: remote sessions * update * fix types * error formatting * remove 'not implemented error' * exp: use a dev name for sessions * update * fix e2e? * revert non-important changes * rerun some make targets * feat: support remote sessions on HPC clusters Closes #983. _Feature branch_ * exp: use a dev name for sessions * more updates * feat: support remote sessions on HPC clusters Closes #983. _Feature branch_ * feat: install wstunnel in sidecars * feat: add tunnel using wstunnel and os.exec.Command * feat: add tunnel command to sidecars * feat: basic testing of tunnel in sidecars * refactor: use TARGETOS and TARGETARCH instead of WSTUNNEL_PLATFORM * update * fix e2e? * feat: support remote sessions on HPC clusters Closes #983. _Feature branch_ * feat: support remote sessions on HPC clusters Closes #983. _Feature branch_ * Revert chartpress e2e leftovers --------- Co-authored-by: Flora Thiebaut <flora.thiebaut@sdsc.ethz.ch>
* experimental: remote sessions * update * fix types * error formatting * remove 'not implemented error' * exp: use a dev name for sessions * update * fix e2e? * revert non-important changes * rerun some make targets * feat: support remote sessions on HPC clusters Closes #983. _Feature branch_ * exp: use a dev name for sessions * more updates * feat: support remote sessions on HPC clusters Closes #983. _Feature branch_ * feat: install wstunnel in sidecars * feat: add tunnel using wstunnel and os.exec.Command * feat: add tunnel command to sidecars * feat: basic testing of tunnel in sidecars * refactor: use TARGETOS and TARGETARCH instead of WSTUNNEL_PLATFORM * update * fix e2e? * feat: support remote sessions on HPC clusters Closes #983. _Feature branch_ * feat: support remote sessions on HPC clusters Closes #983. _Feature branch_ * Revert chartpress e2e leftovers --------- Co-authored-by: Flora Thiebaut <flora.thiebaut@sdsc.ethz.ch>
Merging into #984.
This PR integrates
wstunnelinto thesidecarsimage, laying the groundwork for enabling inbound tunnels for Amalthea's remote sessions. This component will allow for more robust and flexible connectivity to remote development environments in a subsequent phase.Key changes in this PR include:
wstunnelBinary Inclusion: Thewstunnelbinary (version 10.4.4 for linux_amd64) is now downloaded and installed within thesidecars.Dockerfile.tunnelCommand: A newtunnelCobra command with alistensubcommand has been added. This command encapsulates the logic for running thewstunnelserver and includes configurable options for thewstunnelsecret, port, and log level, exposed via persistent flags and environment variables.Important Note: This PR focuses solely on packaging
wstunnelas a sidecar and providing the necessary command-line interface within thesidecarsimage. The orchestration and activation of thiswstunnelsidecar from the main Amalthea application are not included in this PR and will be addressed in a future, separate PR. This separation allows for incremental deployment and testing of thewstunnelcomponent.PR stack: