Commit Graph

171 Commits

Author SHA1 Message Date
Bernardo Meurer
9c32ddeb05
changed: sort Cargo.toml 2021-01-26 10:33:06 -08:00
Bernardo Meurer
815814529e
changed: remove 2015-style extern crate 2021-01-26 10:33:05 -08:00
notgne2
c00e29a39d
Merge pull request #56 from serokell/notgne2/nix-check-build-and-tests
Add Nix-flake check for checking build and Rust tests
2021-01-26 05:28:30 -07:00
notgne2
dac53d9c9a
Add Nix-flake check for checking build and Rust tests 2021-01-26 04:51:08 -07:00
notgne2
4be67edc24
Merge pull request #41 from serokell/notgne2/document-hostname-dot
Document quotating profile or hostnames with a `.` in CLI
2021-01-24 18:54:36 -07:00
notgne2
b35fccfd67
Merge branch 'master' into notgne2/document-hostname-dot 2021-01-24 18:53:42 -07:00
notgne2
fc77473568
Add note about shell escaping quoted hostname or profile names 2021-01-24 18:24:31 -07:00
notgne2
a33127ad41
Merge pull request #45 from serokell/notgne2/cleanup
Code cleanup
2021-01-24 18:20:58 -07:00
notgne2
9850b951f5
Merge branch 'master' into notgne2/cleanup 2021-01-24 18:20:12 -07:00
notgne2
726d758768
Merge pull request #53 from serokell/notgne2/set-euo-pipefail
Run `set -euo pipefail` in generated activation scripts
2021-01-23 01:29:44 -07:00
notgne2
501bfa6b72
Run set -euo pipefail in generated activation scripts 2021-01-22 16:30:24 -07:00
notgne2
a1bb313c6a
Merge branch 'master' into notgne2/cleanup 2021-01-20 21:48:37 -07:00
notgne2
0f0c0e17e9
Merge pull request #50 from serokell/balsoft/update-inputs
Update all flake inputs to latest versions
2021-01-20 21:38:33 -07:00
Alexander Bantyev
397aaad8bb
Update all flake inputs to latest versions 2021-01-18 12:03:24 +03:00
notgne2
0ca5d41aa6
Merge branch 'master' into notgne2/cleanup 2021-01-14 13:21:29 -07:00
notgne2
8161b427c6
Merge pull request #48 from serokell/notgne2/raise-wait-timeout
Raise wait timeout
2021-01-14 13:21:06 -07:00
notgne2
3885d6608e
Raise wait timeout 2021-01-14 13:12:24 -07:00
notgne2
91f505401e
Only build wait command if magic_rollback is enabled 2021-01-14 12:37:59 -07:00
notgne2
bcdf7b8966
Merge pull request #42 from serokell/notgne2/fix-systemd-boot-entry
Remove default loader entry on NixOS activation
2021-01-10 23:45:31 -07:00
notgne2
4300218fc7
Merge branch 'master' into notgne2/fix-systemd-boot-entry 2021-01-10 23:44:22 -07:00
notgne2
48095042f2
Don't import PushProfileData 2021-01-08 19:11:35 -07:00
notgne2
dc26fba1bd
Remove unused DeployPathToActivatePathError 2021-01-08 19:08:34 -07:00
notgne2
f33081cc8c
Remove Error postfixes from error variants variants 2021-01-08 19:05:40 -07:00
notgne2
32af1d6a31
Use type definition for ToDeploy 2021-01-08 19:02:14 -07:00
notgne2
e03c66ffba
Struct-ify arguments to push_profile 2021-01-08 18:57:16 -07:00
notgne2
6854fea5c6
Struct-ify arguments to build_wait_command 2021-01-08 18:36:10 -07:00
notgne2
f7e5768712
Struct-ify arguments to build_activate_command 2021-01-08 18:33:34 -07:00
notgne2
1789551855
Fix trivial lint issues 2021-01-08 18:28:45 -07:00
notgne2
70c55363a9
Restructure project 2021-01-08 18:24:04 -07:00
notgne2
330a73e329
Check if systemd-boot is enabled before attempting to delete default entry line 2021-01-08 14:54:00 -07:00
notgne2
aa42daa800
Merge branch 'notgne2/new-logger' 2021-01-08 14:33:14 -07:00
notgne2
1021191b90
Use boot path from configuration and ignore failures when updating loader conf 2021-01-06 22:07:02 -07:00
notgne2
a9a5c4bd1e
Automatically filter out default line from loader.conf after NixOS activation 2021-01-05 16:44:00 -07:00
notgne2
3b08cef157
Document quotating profile or hostnames with a . in CLI (closes #10) 2021-01-01 19:35:22 -07:00
notgne2
12fee773d5
Format logs differently 2021-01-01 19:30:33 -07:00
notgne2
b6a6abe104
Modify activation logic to keep SSH connection alive for magic-rollback and avoid forking or disconnecting std{out,err} 2020-12-30 20:25:59 -07:00
notgne2
40d71ccdd7
Make printed deployment information be info level instead of warn 2020-12-27 13:04:54 -07:00
notgne2
4ba83f14ce
Merge pull request #35 from serokell/notgne2/fix-settings-merge
Fix the order in which settings are merged
2020-12-27 12:15:34 -07:00
notgne2
48548d1b15
Remove discriminant (they are already differenciated by binary name) 2020-12-27 11:33:55 -07:00
notgne2
01ea759cf6
Deduplicate level to emoji pattern into make_emoji() 2020-12-27 11:05:37 -07:00
notgne2
72b04b0ae8
Fix log dir/file mismatch 2020-12-27 10:59:32 -07:00
notgne2
bbc2a2d984
Use error log macro more in activate.rs 2020-12-27 10:58:20 -07:00
notgne2
4461d1ea3f
Replace logger, add more logging options including files 2020-12-27 10:52:37 -07:00
notgne2
ccf5160c1f
Merge branch 'master' into notgne2/fix-settings-merge 2020-12-27 10:51:15 -07:00
notgne2
d01eab0e97
Fix the order in which settings are merged 2020-12-22 11:36:48 -07:00
notgne2
91e934fd9e
Merge pull request #30 from serokell/notgne2/fix-substitution
Fix fast_connection flag to enable substitute-on-destination correctly
2020-12-20 11:19:02 -07:00
notgne2
3adc593f19
Fix fast_connection flag to enable substitute-on-destination correctly 2020-12-19 21:25:12 -07:00
Andreas Fuchs
7d4020f130 Simplify the types involved a little
The cursed match is still cursed, but at least we're not sending
useless data across channels anymore.
2020-12-15 13:00:01 -07:00
Andreas Fuchs
4ed33219a9 Build "activate" binary on all platforms
Now that activate uses a cross-platform fs notification library, we
can build it on Darwin again (and build its deps separately, speeding
up recompiles there).
2020-12-15 13:00:01 -07:00
Andreas Fuchs
c3b36bbb3b Use notify crate to learn about deletion of the activation sentinel
We should now be able to deploy to non-Linux systems, and build all
the required binaries too.
2020-12-15 13:00:01 -07:00