1
0
Fork 0
mirror of https://cgit.krebsco.de/krops synced 2024-11-26 21:19:47 +01:00
Commit graph

71 commits

Author SHA1 Message Date
Jörg Thalheim
402c9cac25 writeDeploy: add support for build hosts
This allows to evaluate & build the system on the dedicated build host,
from which the build artifacts are uploaded onto the target machine.
2019-12-30 14:15:08 +01:00
Jörg Thalheim
fce5826802 populate: re-add default values for useChecksum/exclude
Turns out, those where required.
2019-12-23 23:18:05 +01:00
Jörg Thalheim
fff9b24ec9 populate file: add exclude option 2019-12-23 21:18:35 +01:00
tv
f2f8cbf1af
Merge pull request #9 from nyantec/feature/sudo
ssh: fix mistake with sudo on remote
2019-12-02 14:31:07 +01:00
Milan Pässler
01b82ecaf3 ssh: fix mistake with sudo on remote 2019-12-02 11:31:02 +01:00
tv
53dfb30af3 README: talk about the target attribute 2019-11-29 13:41:39 +01:00
tv
70fa39607f ssh: support using ssh-configured user
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
2019-11-29 13:21:04 +01:00
tv
8de797dae0
Merge pull request #7 from nyantec/feature/sudo
ssh, rsync: support using sudo on remote
2019-11-29 13:20:21 +01:00
Milan Pässler
cd21575333 ssh, rsync: support using sudo on remote
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
2019-11-29 12:56:03 +01:00
lassulus
2e94e6eb24 README: fix minimal example 2019-11-20 19:44:52 +01:00
lassulus
2dc1725309 krops: add writeCommand 2019-10-23 20:50:41 +02:00
lassulus
3d59510ac2 krops: add remoteCommand, use in build & rebuild 2019-10-23 20:26:33 +02:00
lassulus
6d1c35ea2c writeDeploy: add fast option 2019-10-23 20:14:23 +02:00
lassulus
8f44460003 populate git: add fetchAlways option 2019-08-08 17:12:48 +02:00
tv
14a54637ce pkgs write{Deploy,Test}: allow backup of target 2019-07-16 22:23:50 +02:00
tv
79aa2c6a88 populate: support backupping target 2019-07-16 22:13:26 +02:00
tv
42e8085b95 populate: allow directories as sentinel 2019-07-16 22:13:26 +02:00
tv
1921a71a75 pkgs: allow to overlay all the things 2019-07-16 22:13:26 +02:00
lassulus
f2348bfbc2 krops: add dry-rebuild before nix build 2019-07-16 20:56:01 +02:00
lassulus
10fd67a6a2 krops build: fix name 2019-07-16 20:55:29 +02:00
lassulus
ee41207df1 writeDeploy: fancy output with nix build 2019-04-28 14:25:06 +02:00
tv
219e5aa008 pkgs nix-writers: 3.0.0 -> 3.4.0 2019-04-02 20:12:13 +02:00
tv
ad4c3cad0a README: document all the source types 2019-02-26 21:38:32 +01:00
tv
5dd80e884a pkgs.krops.rebuild: allow passing arbitrary args 2019-02-26 19:50:53 +01:00
tv
ba211472ef LICENSE: import WTFPL 2 2019-02-26 16:29:52 +01:00
lassulus
5b8fb8dc0e pkgs writeTest: redirect populate output to stderr 2019-01-28 22:26:16 +01:00
lassulus
1c0601c56a populate derivation: print nix-build output to stderr 2019-01-28 22:26:07 +01:00
lassulus
61b5ef3b8e populate pass: check only hash of source directory 2018-12-14 20:16:52 +01:00
tv
943c6567fc populate pass: set -efu 2018-12-14 20:07:49 +01:00
tv
78830f5ea7 ci.nix: define nixpkgs 2018-12-13 10:15:40 +01:00
tv
21a894dc6f pkgs writeTest: use NIX_PATH instead of -I
That way, nix-build won't accidentally "fallback" to stuff in the
system's NIX_PATH.
2018-12-13 09:55:09 +01:00
lassulus
140bdfdf6c populate: add derivation type 2018-12-04 23:44:06 +01:00
lassulus
eb68146cc4 populate pass: check if already up to date 2018-11-30 22:28:16 +01:00
tv
4017c60485 populate git: set -efu 2018-11-30 18:16:20 +01:00
tv
6f49342b2d populate file: add useChecksum 2018-11-28 12:45:21 +01:00
tv
d92cc88a3c populate symlink: fail if target is a directory 2018-11-28 12:08:14 +01:00
tv
4ce5dae7bc populate check: mkdir's verbose output to stderr 2018-11-20 00:52:29 +01:00
tv
ce37b2a9c2 populate git: reset --hard 2018-11-13 23:17:44 +01:00
tv
170c46d53c populate git: add clean.exclude 2018-10-31 18:26:05 +01:00
tv
e2b2965425 pkgs writeTest: keep going 2018-10-07 16:45:21 +02:00
tv
bc6615457e README: add communication section 2018-10-05 20:13:26 +02:00
lassulus
7c283d06ef Revert "readme: use builtins.fetchGit to follow master"
This reverts commit c3af2ddcf2.
2018-10-02 19:51:54 +02:00
lassulus
b81d2468b9 add ci.nix 2018-09-29 23:17:22 +02:00
lassulus
4dbef48565 pkgs write{Deploy,Test}: pass force to populate 2018-09-29 23:15:43 +02:00
lassulus
913e7b41bb Merge remote-tracking branch 'ni/master' into HEAD 2018-09-29 20:44:50 +02:00
lassulus
7e1bcc4d4b Merge branch 'master' of prism:krops into HEAD 2018-09-29 20:43:20 +02:00
tv
5b27dc84c8 README: add link to password store 2018-09-28 17:03:24 +02:00
tv
b922b41fe3 README: add more words to the example =) 2018-09-28 17:01:38 +02:00
tv
75e1338628 README: add link to palo's blog post 2018-09-28 16:11:52 +02:00
tv
d9dd5b94ea README: fix list 2018-09-28 16:04:22 +02:00