| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Its directory for providers, as the host's configuration names it, on a
ramfs that is never written to swap, instead of /run/enstate/krops.
|
| |
|
|
|
|
| |
The running generation would plan the submissions, and refuse what only
the profile's generation has a slot for; the reboot would find nothing
to take.
|
| |
|
|
|
|
|
| |
A deploy that finds the profile up to date took what waits with
enstate --migrate, under the running generation, also when the profile
waits for a reboot: what only the new generation has a slot for got
refused, and the reboot found nothing to take.
|
| |
|
|
|
|
|
| |
After the switch, or the migration without one: a submission the
running generation refused (at boot, say), or a required slot without an
entry, fails the deploy, with enstate --status' report. Not for boot,
whose generation doesn't run yet.
|
| |
|
|
|
| |
They would wait in enstate's incoming directory, and refuse every
later switch to a generation that refuses them, too.
|
| |
|
|
|
|
|
|
| |
enstate's check runs for boot now (enstate 34ac5db), and runs before
the profile is set only by the separate check. For boot, that's
enstate's check alone, run as its module runs it: NixOS' check of switch
inhibitors skips boot, but not when switch-to-configuration runs it as
check, and would refuse a deploy with boot for what boot is for.
|
| |
|
|
| |
Its configuration has no enstate options, so deploying oxi failed.
|
| | |
|
| |
|
|
|
|
|
| |
A pipe source with directory = true, whose command packs into the
directory populate gives it, in a populate run of its own with the
target's /run/enstate/krops as target path, instead of mktemp, rsync and
ssh by hand. It needs krops' populate at 9cbe2fa or later.
|
| |
|
|
|
|
|
| |
Next to enstate's views, by channel name, and kept after a deploy, so
the next one sends only what changed (rsync --checksum; --delete for a
channel that's gone). They get stamped when moved into the incoming
directory, still only after the build.
|
| |
|
|
|
|
| |
From /run to /var/lib/enstate, mv copies, so a submission was briefly
half there in the incoming directory. Now each is copied under a dot
name, which enstate skips, and renamed.
|
| |
|
|
|
|
|
| |
As with builds on the target: packed here once the system is copied,
moved to the incoming directory on the target before activating it.
The packing runs in a subshell, as the remote build's own trap keeps the
builder's GC root until the end.
|
| |
|
|
|
| |
It delivers only the host's enstate submissions, packed as for deploy,
and the running system takes them, without populating or building.
|
| |
|
|
|
|
|
|
|
| |
The deploying host evaluates the host's enstate.sourceLists, packs each
channel's submission with hrm's enstate, in memory, and copies it to the
target's memory; once the system is built, it goes to enstate's incoming
directory, where the switch's pre-switch check plans it and
enstate.service takes it; without a switch, enstate --migrate takes it.
Builds on the target only, for now.
|
| |
|
|
|
| |
For its NixOS module, which every host imports and only hosts with
enstate.enable use.
|
| |
|
|
|
|
|
|
| |
switch-to-configuration runs the pre-switch checks only after nix-env has
made the new system the profile, so a refused switch left it to be booted
next time. Only before a switch: check runs the checks as for a switch,
and with boot, those that skip boot would run. The switch itself then
skips them (NIXOS_NO_CHECK), so they don't run twice.
|
| |
|
|
|
|
| |
checkouts, a comma-separated list of NAME or NAME=PATH, replaces the
mobile-nixos argument: each named source comes from the directory, as it
is, ~/sync/src/NAME without a path.
|
| | |
|
| |
|
|
|
|
| |
With the hash, as the package fetches it into the store, and without a
branch, as a new revision needs a new plan. krops.nix reads the same
entry for the NixOS module, instead of importing the package file.
|
| |
|
|
| |
Without a branch: it moves when a change in the fork is ready.
|
| |
|
|
|
| |
Each channel is an entry of its own, nixpkgs/CHANNEL, which a host
chooses by spec.nixpkgs. Replaces nixpkgs.json.
|
| |
|
|
|
| |
One file for the pins of the git sources, so a tool can update them.
An entry has url, rev and date, and branch if it follows one.
|
| | |
|
| |
|
|
|
| |
A directory instead of the pinned revision, with whatever is in it, to
try a kernel without committing, pushing and pinning it first.
|
| | |
|
| |
|
|
|
|
| |
They build a host's boot image on a builder like its system, with GC
roots of its own, and fetch it as a file; the fastboot actions then
start it once, or write it and reboot.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
A host with builders gets evaluated here, but with its sources mounted
where the target has them, so that paths like <secrets> are the
target's, as if it had evaluated itself, and nothing needs to be told
where the secrets are. This host's checkouts get mounted there as
well, instead of linked: a link would lead to this host's path, and one
into the target's path, where this host has its own sources, to
itself.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Upstream is at 6.4 and has no RMNET, which mobile data needs.
|
| | |
|
| | |
|
| |
|
|
| |
A host with builders is evaluated on the deploying host, without <secrets>, which stockholm resolves for krebs.secret.directory.
|
| |
|
|
| |
It failed for a host's first remote build, with a missing sentinel file.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Without --environment, nix-diff skips the environment of a derivation
when one of its inputs changed. A unit whose X-Restart-Triggers input
changes then hides its own changes, e.g. a new RefreshOnReload= next to
a changed config file.
|
| |
|
|
|
|
|
| |
diff-closures only shows version changes and size changes of 8 KiB or
more, so configuration changes go unseen. nix-diff shows them. It
comes from nix-shell -p with the target's nixpkgs if the target doesn't
have it.
|