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

Ask workspace name + collaborative collaboration name for jupyterhub URL construction #115

Open
sverhoeven opened this issue Nov 15, 2021 · 0 comments

Comments

@sverhoeven
Copy link
Member

At the moment the experiment launcher constructs the JupyterHub URL based on the origin header in the http request, see https://github.com/eWaterCycle/experiment-launcher/blob/dd003084b6ac79ca243018f391e636a5facb528a/ewatercycle_experiment_launcher/process.py#L15-L16

As SRC workspace domain names are now constructed as

[workspace].[co].src.surf-hosted.nl

We can set the JUPYTERHUB_URL env var for a more secure way of getting the URL.

The ansible tasks do not have access the workspace name or collaborative collaboration name form the ansible context. To configure the launcher in a ansible task the they should be added as application parameters when creating the workspace.

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

No branches or pull requests

1 participant