Skip to content
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

Do not override RELEASE_DISTRIBUTION in release to allow rpc #2922

Merged
merged 2 commits into from
Jan 30, 2025

Conversation

jonatanklosko
Copy link
Member

We start distribution programmatically as part of boot, so we set RELEASE_DISTRIBUTION=none. However, when debugging inside a release we may want to connect via a remote shell. This should work if we run it as RELEASE_DISTRIBUTION=name /bin/app/livebook remote, however currently we always override it with RELEASE_DISTRIBUTION=none. This PR changes it, such that we check if RELEASE_DISTRIBUTION is defined.

rel/app/env.bat.eex Outdated Show resolved Hide resolved
rel/server/env.bat.eex Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Jan 30, 2025

Uffizzi Preview deployment-60475 was deleted.

@jonatanklosko jonatanklosko merged commit cbe209a into main Jan 30, 2025
7 checks passed
@jonatanklosko jonatanklosko deleted the jk-release-rpc branch January 31, 2025 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants