diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-08-14 10:17:23 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-08-14 10:50:27 +0300 |
commit | e0c099011fe902c52933992bc5e70c9a3e363c52 (patch) | |
tree | b829645290de3915379be891dd77c81a487b930c /check | |
parent | 8fb1eba3225eacc9a56bd0422c2a3d323458b502 (diff) | |
download | ick-contractor-e0c099011fe902c52933992bc5e70c9a3e363c52.tar.gz |
fix: use files in srcdir for passing in manager address, env vars
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
Diffstat (limited to 'check')
-rwxr-xr-x | check | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,4 +4,6 @@ set -eu rm -f test.py black --check contractor *.py -CONTRACTOR_ADDRESS="$1" sp-codegen contractor.md -o test.py --run +echo "$1" > test.address +echo "SSH_AUTH_SOCK=$SSH_AUTH_SOCK" > test.env +sp-codegen contractor.md -o test.py --run |