镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
reubenPublic archive

About

Interactive job template and helpers for https://github.com/mozilla/snakepit-client

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

snakepit-interactive

Helper for interactive jobs with snakepit.

Add your SSH public key to .compute and modify .real_compute to suit your needs.

./run-interactive.sh <job name> <job allocation> will start a job, wait for it to run and SSHD to be available, then forward a local port to SSHD on the job and connect to it, attaching into the existing tmux session that is running on the job. If you're on macOS running on iTerm2, it'll use iTerm2's tmux integration. You'll then be attached into the session running .real_compute and can go from there. Commands executed in the interactive shell and their outputs will be logged to |pit log| normally. If you create new tmux panes/ windows, those won't be logged into |pit log|. This can be fixed, patches welcome :)

If available, uses autossh to automatically restart the SSH session if the connection drops.

About

Interactive job template and helpers for https://github.com/mozilla/snakepit-client

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages