Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixops
  Commit: d16e4f97e057c35ff452ffae3986423321343097
      
https://github.com/NixOS/nixops/commit/d16e4f97e057c35ff452ffae3986423321343097
  Author: aszlig <asz...@redmoonstudios.org>
  Date:   2013-09-04 (Wed, 04 Sep 2013)

  Changed paths:
    M nixops/deployment.py
    M scripts/nixops

  Log Message:
  -----------
  deployment: Activate systems only if necessary.

So far, every "nixops deploy" always runs the activation script on all
systems, no matter if there are any changes.

We are now checking the symlink to the system profile if the canonical
path is the same as the new toplevel.

This also changes the order of send_keys() to be run after setting the
system profile, which I think should have no implication whatsoever
(system is already built and setting the profile is more-or-less just
updating symlinks).

If someone wants to force activation no matter if there are changes,
there is a new flag to "nixops deploy" called --always-activate, which
implements the previous behaviour.

Activation is always enforced on rollback.

Signed-off-by: aszlig <asz...@redmoonstudios.org>


  Commit: ded5f3e45414634140192f8eb486dd02970672b4
      
https://github.com/NixOS/nixops/commit/ded5f3e45414634140192f8eb486dd02970672b4
  Author: aszlig <asz...@redmoonstudios.org>
  Date:   2013-09-04 (Wed, 04 Sep 2013)

  Changed paths:
    M nix/eval-machine-info.nix
    M nix/options.nix
    M nixops/backends/__init__.py
    M nixops/deployment.py

  Log Message:
  -----------
  Control activation behavior per machine.

This changes the default to enforce activation of the configuration,
unless you set "deployment.alwaysActivate" to false on a specific
machine.

Of course the --always-activate switch still has the same meaning as
before, so you can even enforce activation on machines that have
alwaysActivate set to false.

Signed-off-by: aszlig <asz...@redmoonstudios.org>


Compare: https://github.com/NixOS/nixops/compare/83604b99e829...ded5f3e45414
_______________________________________________
nix-commits mailing list
nix-commits@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to