diff --git a/config.example.json b/config.example.json new file mode 100644 index 0000000..fcef604 --- /dev/null +++ b/config.example.json @@ -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": "..." + } +} diff --git a/ofborg/src/bin/builder.rs b/ofborg/src/bin/builder.rs index 265132f..9f81f64 100644 --- a/ofborg/src/bin/builder.rs +++ b/ofborg/src/bin/builder.rs @@ -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,