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

Convenience when integrating with CI #17

Open
cwpearson opened this issue Aug 14, 2018 · 0 comments
Open

Convenience when integrating with CI #17

cwpearson opened this issue Aug 14, 2018 · 0 comments
Assignees
Labels

Comments

@cwpearson
Copy link
Contributor

cwpearson commented Aug 14, 2018

I'm working on using travis to launch a rai job, and this is what I have discovered so far:

The good:

  1. It's pretty easy to add the secret_key to the .rai_profile by having a mostly-complete .rai_profile in the repository, and then echoing a secure environment variable into the .rai_profile as part of the travis build.
  2. It's easy to download, extract, and execute a specific version of the rai client.

The bad:

  1. If there is some server problem, rai will repeatedly print "Waiting for server..." which prevents travis from timing out as quickly, as there is continued stdout
  2. The client is very very patient when waiting for the server to accept a job (maybe this isn't so bad in some contexts)

Thoughts:

  1. Can we add a timeout option to the client, so it gives up on the server faster if there is a problem?
  2. Can we add an option to the client so that it's output is more ci-friendly and less shell-friendly? Removing anything that repeatedly updates the same shell line (progress bars, animated tickers, so on).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants