summaryrefslogtreecommitdiff
path: root/funcs.py
AgeCommit message (Collapse)AuthorFilesLines
2020-08-14fix: use files in srcdir for passing in manager address, env varsLars Wirzenius1-8/+36
Subplot now clears the environment before running scenarios so we can't use $CONTRACTOR_ADDRESS to pass in the manager's address. We also need the SSH agent's address so we can authenticate into the manager. set up test.env get env from test.env
2020-05-10refactor: format with blackLars Wirzenius1-15/+15
2020-05-10refactor: use argparse instead of cliappLars Wirzenius1-9/+9
cliapp is an old, moribund Python project of mine, and argparse is the preferred way to parse the command line now.
2020-04-18Add: log file of contractor when run by SubplotLars Wirzenius1-0/+1
2020-04-17Add: abstract running commands over SSH; reduce SSH callsLars Wirzenius1-1/+0
This speeds up a no-op test from about 50 seconds to 30 seconds on my laptop.
2020-04-09Drop: debug printsLars Wirzenius1-4/+0
2020-04-09Fix: shut down worker cleanly at endLars Wirzenius1-0/+8
So that workspace disk gets synced and unmounted cleanly. Otherwise we lose data there.
2020-04-09Add: step to copy file from source treeLars Wirzenius1-0/+6
This will be used for copying pre-built worker images.
2020-04-09Fix up subplotLars Wirzenius1-0/+83