Skip to content

Commit

Permalink
[cluster-test] use jumphost in env var if defined
Browse files Browse the repository at this point in the history
Added an option in cluster test runner to use jumphost specified in env
var if there is one defined.  Fall back to default if not.

Closes: diem#2391
Approved by: andll
  • Loading branch information
sausagee authored and bors-libra committed Jan 31, 2020
1 parent 2d9a530 commit 9b510ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cti
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ then
exit 1
fi

JUMPHOST=ssh.${WORKSPACE}.aws.hlw3truzy4ls.com
JUMPHOST=${JUMPHOST:-ssh.${WORKSPACE}.aws.hlw3truzy4ls.com}

ssh $JUMPHOST echo "ssh ok" >/dev/null || (echo "Failed to ssh to jump host $JUMPHOST. Try renew corp canal cert with cc-certs"; exit 1)

Expand Down

0 comments on commit 9b510ae

Please sign in to comment.