backend.ai icon indicating copy to clipboard operation
backend.ai copied to clipboard

feat: update codespaces bootstrap script

Open kyujin-cho opened this issue 2 years ago • 4 comments

This PR updates codespace bootstrap script to reflect updated monorepo setup.
This resolves #499.

kyujin-cho avatar Jul 05 '22 10:07 kyujin-cho

  • Let's explicitly add a handful range (about 10?) of forwarded TCP ports for wsproxy and explicitly configure the wsproxy worker port range as well (for v1).

This can't be achieved within current webui's wsproxy implementation:

  • wsproxy randomly selects listening ports (lablup/backend.ai-webui#1389) Additionally, using wsproxy on vscode web won't work, as codespace launched on web distinguishes traffic to designated port from subdomain, not by port.

I'll add port 10200~10209 as exported port on devcontainer.json for desktop VSCode users.

kyujin-cho avatar Jul 25 '22 08:07 kyujin-cho

Relevant document updates will be followed after this PR is merged, on a separate PR.

kyujin-cho avatar Jul 25 '22 08:07 kyujin-cho

image Please take a look at this.

achimnol avatar Aug 09 '22 14:08 achimnol

Also let's add the ssh feature config: https://github.com/cli/cli/pull/6019/files

achimnol avatar Aug 12 '22 09:08 achimnol