pull swarm closures through the nix daemon: substituters in the fragment, merged root-only netrc
This commit is contained in:
parent
63ae5d6cbf
commit
ef68baa00f
1 changed files with 582 additions and 382 deletions
|
|
@ -289,7 +289,7 @@ pub enum PrivRequest {
|
|||
},
|
||||
|
||||
/// Kept for an older hive-c0re that still asks hive-priv to download:
|
||||
/// hive-c0re now pulls with `nix copy --from` and hive-priv downloads
|
||||
/// hive-c0re now pulls through the nix daemon and hive-priv downloads
|
||||
/// nothing. The answer is `Ok` when `store_path` is already in the store
|
||||
/// and signed by the swarm cache's key (what `CreateContainer` and
|
||||
/// `UpdateContainer` require), else an error that starts `not available: `.
|
||||
|
|
@ -302,8 +302,8 @@ pub enum PrivRequest {
|
|||
|
||||
/// `systemctl start hive-priv-cache-facts.service`, bounded at 60 s: the
|
||||
/// root unit that reads this hive's cache facts from the store and writes
|
||||
/// the swarm's key into the nix.conf fragment the daemon trusts and the pull
|
||||
/// token into the netrc hive-c0re reads. hive-c0re asks for it when either is
|
||||
/// the cache's address, the swarm's key and the netrc's path into the nix.conf
|
||||
/// fragment the daemon reads. hive-c0re asks for it when the fragment is
|
||||
/// missing. The request names no unit.
|
||||
RefreshCacheFacts,
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue