1
0
Fork 0
mirror of https://cgit.krebsco.de/krops synced 2024-11-23 11:39:48 +01:00
Commit graph

31 commits

Author SHA1 Message Date
Enno Lohmeier
54eb1c89cf add shallow option to git source type 2020-07-02 16:43:42 +02:00
tv
44e8dd5cea treewide: harmonize ssh calls 2020-06-08 23:12:14 +02:00
Erik Arvstedt
2cafddd78d add target.extraOptions 2020-04-18 23:05:18 +02:00
tv
ed9fc66582
Merge pull request #15 from nyantec/feature/filters
support for include filters
2020-02-18 14:36:30 +01:00
Jörg Thalheim
d51f353cb3
use writers from nixpkgs
This makes the evaluation of krops pure (no import from derivation)
and makes it faster since the fetchGit result might be garbage collected.
2020-02-17 18:05:48 +00:00
Milan Pässler
56d4dc28b3 support for include filters
- Added a new option for `file` sources, which allows to specify a list
  of `include` and `exclude` filters
- Added a new option for `file` sources, which allows to disable the
  `--delete-excluded` behaviour.
2020-02-03 16:37:55 +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
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
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
8f44460003 populate git: add fetchAlways option 2019-08-08 17:12:48 +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
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
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
Ingolf Wagner
2e93a93ac2 populate: no name clashes anymore 2018-09-19 19:57:26 +02:00
tv
c46166d407 populate rsync: use stderr 2018-09-13 21:41:00 +02:00
tv
2440120c88 populate git: clone with --recurse-submodules 2018-08-23 13:04:21 +02:00
tv
806b500e1e populate git: support submodules 2018-08-14 19:34:22 +02:00
tv
ea08f87819 populate: inline script 2018-07-12 15:41:46 +02:00
tv
3022582ade populate: support rsyncing files 2018-04-24 19:54:01 +02:00
tv
e89cf20d43 import stockholm's deployment tools
https://cgit.krebsco.de/stockholm 877b4104370c1ea9698a449e376e2842d7c372fd
2018-02-28 21:02:21 +01:00