-
Notifications
You must be signed in to change notification settings - Fork 12
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
setup joyent instances for each team #69
Comments
@tjfontaine here are the highlights for the joyent deployment code: We are planning on setting up one team at a time sequentially. Depending on your guidance, we may parallelize (by manually running the setup script in multiple windows). We would never try and set up more than 10 teams a time in parallel. This is the code that sets up a single team: setup-team.coffee. It:
I'd appreciate a review of all the code linked to in the steps above, as well as a high-level sanity check of whether anything I'm doing seems crazy. In particular, some questions that you might have opinions on:
The process will error out sanely, but I haven't yet done anything to support gracefully restarting if there are errors. I'm going to work on that today. |
I looked over the code, this all seems pretty straight-forward to me, hopefully there aren't [m]any errors. By erroring out sanely do you mean you have some sort of cleanup script that potentially goes through and cleans up what might be leftover in joyent, github, and linode after an error? I wanted to have a story for you on step5 with the image management that's rolling out, but I don't think it will be deployed in time for NKO to make use of it when provisioning team instances, or even if it is I doubt you'll want to change at the last min. As much as I'm not a fan of automagic addition of ssh keys (let alone passwordless keys in general) for this style of competition and the potential level of aptitude of your contestants it seems pertinent. What do you want to achieve with readonly access to github and no ssh access? I would advocate getting the instances as close to what you'll be delivering and then snapshotting them, such that you have a pristine state to rollback to for a contestant that happens to completely screw up their environment you don't have to worry about a re-provision. |
Awesome. Thanks TJ. Read-only would be just to have fewer moving parts the last couple days (so instead of slowly provisioning teams on the last two days, we quickly just add ssh keys). That being said, maybe it's ok if people want to get in and muck around a bit early. |
Actually two additional questions for you @tjfontaine
|
You'll want to do this in |
ping gerad for the joyent api keys
for each team:
The text was updated successfully, but these errors were encountered: