Handle context cancelations for SSH executor
What does this MR do?
Allows a context to be passed through dial, key exchange and script run functions allowing cancelation at any time.
Why was this MR needed?
The SSH executor was passed a context object that it was not using.
What's the best way to test this MR?
There's unit and integration tests added.
Manual QA:
- Create a job with the SSH executor
- Cancel the job.
- Check cancelation happened immediately? WIP: How do we want to handle the script cancelation here?
What are the relevant issue numbers?
Closes #70 (closed)
Edited by Arran Walker