eWaterCycle / eWaterCycle/infra

Ask workspace name + collaborative collaboration name for jupyterhub URL construction

Open
#115 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jinja
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.