mirror of
https://github.com/NixOS/nix
synced 2025-06-29 10:31:15 +02:00
Replace $NIX_REMOTE_SYSTEMS with an option "builder-files"
Also, to unify with hydra-queue-runner, allow it to be a list of files.
This commit is contained in:
parent
cd4d2705ec
commit
7f6837a0f6
4 changed files with 34 additions and 14 deletions
|
@ -13,6 +13,7 @@ struct Machine {
|
|||
const unsigned int speedFactor;
|
||||
const std::set<string> supportedFeatures;
|
||||
const std::set<string> mandatoryFeatures;
|
||||
const std::string sshPublicHostKey;
|
||||
bool enabled = true;
|
||||
|
||||
bool allSupported(const std::set<string> & features) const;
|
||||
|
@ -25,7 +26,8 @@ struct Machine {
|
|||
decltype(maxJobs) maxJobs,
|
||||
decltype(speedFactor) speedFactor,
|
||||
decltype(supportedFeatures) supportedFeatures,
|
||||
decltype(mandatoryFeatures) mandatoryFeatures);
|
||||
decltype(mandatoryFeatures) mandatoryFeatures,
|
||||
decltype(sshPublicHostKey) sshPublicHostKey);
|
||||
};
|
||||
|
||||
typedef std::vector<Machine> Machines;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue