Builder works!

This commit is contained in:
Graham Christensen 2017-11-10 20:01:52 -05:00
parent b17aed722c
commit 1b28839266
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C
2 changed files with 19 additions and 1 deletions

18
config.example.json Normal file
View file

@ -0,0 +1,18 @@
{
"runner": {
"identity": "grahamc-laptop"
},
"checkout": {
"root": "/home/grahamc/.nix-test-rs"
},
"nix": {
"system": "x86_64-linux",
"remote": "daemon"
},
"rabbitmq": {
"ssl": true,
"host": "events.nix.gsc.io",
"username": "...",
"password": "..."
}
}

View file

@ -48,7 +48,7 @@ fn main() {
channel.basic_consume(
worker::new(tasks::build::BuildWorker::new(cloner, nix, cfg.nix.system.clone())),
"build-inputs-samples",
format!("build-inputs-{}", cfg.nix.system.clone()).as_ref(),
format!("{}-builder", cfg.whoami()).as_ref(),
false,
false,