aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/krops
Commit message (Collapse)AuthorAgeFilesLines
* Add flag to nixos-rebuildMartin Potier2020-11-201-0/+2
| | | | | | | In the case we need sudo for the remote target, the flag `--use-remote-sudo` must be passed if the target's ssh user is not root. If target's ssh user is root, it doesn't hurt to use sudo.
* fix local deployment with sudoJörg Thalheim2020-06-221-3/+6
|
* treewide: harmonize ssh callsv1.22.0tv2020-06-081-5/+5
|
* krops runCommand: derive script name from commandtv2020-06-081-1/+1
|
* krops remoteCommand: don't ssh if target is localtv2020-06-081-9/+12
|
* add target.extraOptionsErik Arvstedt2020-04-181-0/+1
|
* use writers from nixpkgsJörg Thalheim2020-02-171-12/+8
| | | | | This makes the evaluation of krops pure (no import from derivation) and makes it faster since the fetchGit result might be garbage collected.
* writeDeploy: add crossDeploy argumentJörg Thalheim2019-12-301-0/+3
|
* writeDeploy: add support for build hostsJörg Thalheim2019-12-301-3/+15
| | | | | This allows to evaluate & build the system on the dedicated build host, from which the build artifacts are uploaded onto the target machine.
* ssh: fix mistake with sudo on remoteMilan Pässler2019-12-021-1/+1
|
* ssh: support using ssh-configured usertv2019-11-291-2/+2
| | | | | | | Let ssh use the user configured in its configuration files when the target user is set to the empty string. Closes https://github.com/krebs/krops/issues/2
* ssh, rsync: support using sudo on remoteMilan Pässler2019-11-291-1/+1
| | | | | | | | This allows deployment of remote hosts without having ssh access to the root user. Passwordless sudo is recommended since krops will use multiple ssh sessions and the password will not be remembered. Closes https://github.com/krebs/krops/issues/3
* krops: add writeCommandv1.17.0lassulus2019-10-231-0/+15
|
* krops: add remoteCommand, use in build & rebuildlassulus2019-10-231-20/+14
|
* writeDeploy: add fast optionlassulus2019-10-231-4/+17
|
* pkgs write{Deploy,Test}: allow backup of targettv2019-07-161-4/+4
|
* krops: add dry-rebuild before nix buildlassulus2019-07-161-0/+1
|
* krops build: fix namelassulus2019-07-161-1/+1
|
* writeDeploy: fancy output with nix buildv1.14.0lassulus2019-04-281-0/+19
|
* pkgs.krops.rebuild: allow passing arbitrary argsv1.12.1tv2019-02-261-3/+5
|
* pkgs writeTest: redirect populate output to stderrv1.11.1lassulus2019-01-281-1/+1
|
* pkgs writeTest: use NIX_PATH instead of -Itv2018-12-131-1/+1
| | | | | That way, nix-build won't accidentally "fallback" to stuff in the system's NIX_PATH.
* pkgs writeTest: keep goingv1.6.0ni/mastertv2018-10-071-0/+1
|
* pkgs write{Deploy,Test}: pass force to populatelassulus2018-09-291-4/+4
|
* pkgs.krops: remove unused writeJSONtv2018-09-161-1/+1
| | | | Last use was removed in commit ea08f87819291a21ee6e031fe7748bdb04518bab.
* pkgs.krops: add rebuildv1.4.0tv2018-09-161-4/+14
|
* writeTest: simplify nix-build calltv2018-09-131-3/+2
|
* populate: inline scriptv1.2.0tv2018-07-121-19/+3
|
* lib: add isLocalTargettv2018-07-121-7/+1
|
* krops: add writePopulatev1.1.0tv2018-07-101-11/+19
|
* kops -> kropslassulus2018-05-031-0/+48