Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSH example

Project page | GitHub repo

A Calkit example project that runs one pipeline stage on another machine over SSH, and the rest locally.

The raw-data stage collects data in the py environment on a remote host; plot then reads that data and makes a figure here. Calkit moves the project to a workspace on that host, runs the stage there, and brings the outputs back.

Getting set up and running

There isn't a separate setup step. Run the pipeline and Calkit asks for whatever is missing:

calkit run

In a terminal, that prompts for the host and user (saving them to .env), offers to create an SSH key if you don't have one, offers to authorize this machine on the host with ssh-copy-id, and offers to install Calkit there if it's missing. Nothing happens without you agreeing to it.

To check the setup without running anything, use:

calkit check env -n remote

Outside a terminal---in CI, say---nothing is prompted for, because there's nobody to answer. It fails with the exact commands to run instead.

About

An example project that runs a command in a remote environment via SSH.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages