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

120 commits

Author SHA1 Message Date
tv
3aa04be96f Merge remote-tracking branch 'prism/master' 2022-07-26 21:03:55 +02:00
lassulus
117b0b32cd krops writeTest: make trace optional 2022-07-26 21:02:05 +02:00
tv
9c49e9aa24 krops writeDeploy: add operation parameter 2022-07-16 16:50:32 +02:00
tv
89e5e67659 populate git: remove trailing spaces 2022-02-12 10:07:17 +01:00
tv
824aa36b2a populate git: remove non-worktree target 2022-02-12 10:06:34 +01:00
tv
13ae434b14
Merge pull request #35 from erikarvstedt/fix-ssh-port
target: use default port from SSH config
2021-11-20 15:46:09 +01:00
Erik Arvstedt
9fc8cbf8e8 target: use default port from SSH config
This is the expected behavior.
The SSH config is also implicitly used for other SSH-related settings.
2021-11-20 14:28:54 +01:00
tv
05f0d3b5c1 populate file: isDerivation -> isStorePath 2021-10-26 19:36:12 +02:00
tv
6ef8900af4 populate file: admit derivations 2021-10-26 13:52:25 +02:00
tv
53eda9cafe README: transfered -> transferred 2021-10-26 13:52:25 +02:00
tv
bdce88820b README: talk about systems 2021-10-26 13:52:25 +02:00
tv
0fc8f1b2a6 populate: add rsyncDefaultConfig 2021-10-26 13:52:25 +02:00
lassulus
d80cb74c74 runShell/writeCommand: add allocateTTY argument 2021-10-26 13:51:18 +02:00
lassulus
c1b24328c4 krops writeDeploy: deprecate fast parameter 2021-10-26 13:51:07 +02:00
Matthias Beyer
a3bda5c49b README: use latest krops version in example
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-10-26 13:51:04 +02:00
lassulus
b78e4d5a92 README: update irc link 2021-07-22 08:19:15 +02:00
Lassulus
cccebf3ff7
Merge pull request #30 from krebs/fixups
(hopefully) fix pass with subfolders, make README more clear for extraOptions
2021-03-23 22:47:37 +01:00
lassulus
2ea0cdb99d README: better usecase for extraOptions 2021-02-16 19:29:51 +01:00
lassulus
438d3f8738 populate pass: don't decrypt .gpg-id 2021-02-16 19:29:41 +01:00
lassulus
9eb2c2d0d6 populate pass: make git optional again 2021-01-17 17:18:05 +01:00
tv
c2fa48550f isLocalTarget: use "localhost" as default
This fixes an issue when trying to deploy using sudo from systems that
don't provide means to determine the real host name.
2021-01-16 14:12:45 +01:00
tv
efe400d87c README: ops -> operations
Because there's no need to save on characters.
2021-01-05 22:54:24 +01:00
Simon Bruder
804c79a14d Make pass source follow symlinks 2020-12-15 22:15:37 +01:00
tv
73f0cdcb0b
Merge pull request #26 from Mic92/contrib
README: mention github fork
2020-12-14 17:25:42 +01:00
Jörg Thalheim
790e31fead
README: mention github fork 2020-12-14 16:27:24 +01:00
tv
c207e1f71b
Merge pull request #24 from jpotier/fix-sudo-for-remote
Add flag to nixos-rebuild
2020-11-20 19:49:26 +01:00
b83fd5c682
Add flag to nixos-rebuild
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.
2020-11-20 17:04:30 +02:00
tv
5ea125514e
Merge pull request #21 from elohmeier/git-shallow
add shallow option to git source type
2020-07-02 19:44:56 +02:00
Enno Lohmeier
54eb1c89cf add shallow option to git source type 2020-07-02 16:43:42 +02:00
tv
3e731035ed
Merge pull request #20 from Mic92/local-sudo
fix local deployment with sudo
2020-06-22 20:57:21 +02:00
Jörg Thalheim
bdf56191e2
fix local deployment with sudo 2020-06-22 15:40:34 +01:00
tv
56a066d470 Merge remote-tracking branch 'krebs/master' 2020-06-16 19:47:08 +02:00
tv
44e8dd5cea treewide: harmonize ssh calls 2020-06-08 23:12:14 +02:00
tv
1eb67a9b78 README: brakets -> brackets 2020-06-08 23:00:27 +02:00
tv
486300fb35 krops runCommand: derive script name from command 2020-06-08 22:59:42 +02:00
tv
81c4885124 lib: add firstWord 2020-06-08 22:59:42 +02:00
tv
67132ed53f krops remoteCommand: don't ssh if target is local 2020-06-08 22:59:37 +02:00
lassulus
be3fa4608b README: document writeTest & writeCommand 2020-05-12 19:19:00 +02:00
tv
476fb97dc9 README: talk about target.extraOptions 2020-04-19 01:30:15 +02:00
tv
55aa2c77ce
Merge pull request #19 from erikarvstedt/improve-target-opts
Improve deploy target options
2020-04-19 01:06:20 +02:00
Erik Arvstedt
8a8b2cf861 support default target attrs for attrSets 2020-04-18 23:38:43 +02:00
Erik Arvstedt
2cafddd78d add target.extraOptions 2020-04-18 23:05:18 +02:00
tv
9c16ab1ce1 populate file: deprecated exclude option 2020-03-17 19:32:46 +01:00
tv
ed9fc66582
Merge pull request #15 from nyantec/feature/filters
support for include filters
2020-02-18 14:36:30 +01:00
tv
8161ec7367
Merge pull request #17 from Mic92/no-writers
use writers from nixpkgs
2020-02-18 14:34:10 +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
tv
f1b7112ac3
Merge pull request #11 from Mic92/build-host
Support for build hosts
2019-12-30 14:17:06 +01:00
Jörg Thalheim
ea7e0c3a35 writeDeploy: add crossDeploy argument 2019-12-30 14:15:08 +01:00
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