notgne2
0e1cc238e1
Remove ssh://
prefix from SSH addresses
2021-02-28 02:38:40 -07:00
notgne2
c8a40bedcd
Re-use ssh_addr
2021-02-28 02:38:06 -07:00
notgne2
4d4bdda3ab
Merge pull request #70 from talw/readme-fix
...
Fix examples/system/README.md: `deploy` -> `deploy-rs`
2021-02-28 02:24:08 -07:00
Tal Walter
c89930b0d9
Fix examples/system/README.md: deploy
-> deploy-rs
2021-02-27 11:11:53 +09:00
notgne2
c599d36da6
Merge pull request #67 from serokell/notgne2/remove-redundant-format
...
Remove redundant `format!()`
2021-02-19 16:32:44 -07:00
notgne2
15864f9826
Remove redundant format!()
2021-02-19 16:31:28 -07:00
notgne2
da25b20674
Merge pull request #66 from serokell/notgne2/clean-up-command-args
...
Clean up adding Command arguments
2021-02-19 16:30:28 -07:00
notgne2
b8e2837250
Clean up adding Command arguments
2021-02-09 21:41:53 -07:00
notgne2
fecc7e723d
Merge pull request #65 from serokell/notgne2/set-tmp-in-nixos-activation
...
cd into `/tmp` during NixOS activation
2021-02-09 03:01:36 -07:00
notgne2
c27b76e001
Merge branch 'master' into notgne2/set-tmp-in-nixos-activation
2021-02-09 03:00:48 -07:00
notgne2
4f956e0979
Merge pull request #59 from serokell/notgne2/wait-for-activate
...
Wait for activation
2021-02-09 02:56:35 -07:00
notgne2
7ee0f7eb4d
Re-add debug log for activate command erroring
2021-02-09 02:55:26 -07:00
notgne2
b74bb50a15
Clean up structure used for activation command error sending
2021-02-09 02:55:26 -07:00
notgne2
e798bb7d83
Still wait for activation command to end even in cases of errors
2021-02-09 02:55:26 -07:00
notgne2
c32d25ec28
Use oneshot signals to ensure SSH activate command has finished before deployment ends
2021-02-09 02:55:26 -07:00
notgne2
4ff0e5f90b
Wait for ssh_activate
to complete and check for errors in magic_rollback activation ( fixes #58 and #49 )
2021-02-09 02:55:26 -07:00
notgne2
96a268db2d
Merge pull request #47 from lovesegfault/style-fixes
...
changed: assorted fixes
2021-02-08 23:47:32 -07:00
notgne2
8571c086c5
Merge branch 'master' into style-fixes
2021-02-08 23:46:13 -07:00
notgne2
64f84aaf87
Work around NixOS/nixpkgs#73404 by cd
-ing into /tmp
during NixOS activation
2021-02-08 15:28:31 -07:00
notgne2
4f4c1e3cf7
Merge pull request #63 from serokell/balsoft/lazy-eval
...
Evaluate deploy output lazily
2021-02-08 15:24:13 -07:00
Alexander Bantyev
99f2127cce
fixup! Evaluate deploy output lazily
2021-02-07 13:37:41 +03:00
Alexander Bantyev
80ab1d7538
Evaluate deploy output lazily
...
Currently, we evaluate the `#deploy` output strictly. This means
- Longer eval times
- Extraneous evaluation errors with `--skip-checks`
- `-- --impure` even when the path we're currently deploying is pure
- etc.
With this change, evaluation happens lazily -- we only evaluate the nodes
and profiles we really need. It is only implemented for flaky Nix, and
it is on by default. To get the old behavior, one can specify
`--strict-eval`.
I have tested that this indeed dramatically increases evaluation speed
in all of our repos, and removes the need to deploy Agora with
`--impure`. Hooray!
2021-02-06 02:48:57 +03:00
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