Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SkipStageEnvVarSet method. #54

Merged
merged 7 commits into from
Feb 21, 2018
Merged

Add SkipStageEnvVarSet method. #54

merged 7 commits into from
Feb 21, 2018

Conversation

brikis98
Copy link
Member

@brikis98 brikis98 commented Feb 21, 2018

This PR does two things:

  1. Update our SSH code so it properly times out connections. For some reason, the timeout built into Go’s SSH library doesn’t work, and as a result, our tests that use SSH (e.g., module-server with persistent-ebs-volume) sometimes hang for a very long time or forever. Update: it turns out the SSH timeouts do work and in reality, the persistent-ebs-volume test was successfully connecting over SSH, but then calling sleep 300! I've removed this change, but if we ever need it in the future, it's in this PR.

  2. Add a SkipStageEnvVarSet to make it easier to distinguish between local dev and CI server.

@brikis98 brikis98 changed the title Fix SSH timeout. Add SkipStageEnvVarSet method. Add SkipStageEnvVarSet method. Feb 21, 2018
@brikis98 brikis98 merged commit e39943e into master Feb 21, 2018
@brikis98 brikis98 deleted the ssh-timeout branch February 21, 2018 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant