-
Notifications
You must be signed in to change notification settings - Fork 17
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
Workflow for deploying changes to lab server #19
Comments
Whatever we decide, we should have a boot test to avoid issues like NixOS/nixpkgs#12949 |
👍 sounds good! |
I did my research over the weekend (as I'm excited about this as it will reduce my human error logistic in the deployment). Aszlig implemented this for his cluster and upstreamed the Hydra part. Here are the necessary parts: |
A preliminary implementation is now in |
The prototype plan is to deploy Channel is being generated at https://hydra.snabb.co/eval/674#tabs-new What's left to do for prototype:
For later on:
|
Here are the scenarios under which we'd like to handle lab servers modifications:
Proposal:
Once we have Hydra setup on supporting server (see #8), it would poll
snabblab-nixos
for git changes and build the whole machine cluster. If the build is successful, channel would update. Meanwhile all lab servers would pull for latest channel every 15min and upgrade if new channel is available.Pros
Cons
Questions
How the change be tested locally before it's deployed?
By choosing a different NixOps backend it could be deployed into VirtualBox or Qemu via libvirt.
Another option is to apply the change to only one server, test it, then move it to
modules/lab-configuration.nix
.cc @lukego
The text was updated successfully, but these errors were encountered: