Markus Läll
c9e68bb39e
Fix typo
2022-01-11 17:49:27 +02:00
notgne2
715e92a130
Merge pull request #138 from input-output-hk/await-thread
...
ensure spawned thread exits before main
2021-12-04 17:53:10 -07:00
Timothy DeHerrera
629596964e
ensure spawned thread exits before main
2021-11-18 10:45:31 -07:00
Alexander Bantyev
9a02de4373
Fix darwin build
...
Frameworks are libraries used at runtime, so should be in buildInputs
and not nativeBuildInputs.
Closes https://github.com/serokell/deploy-rs/issues/132
2021-09-28 12:51:24 +03:00
Alexander Bantyev
ea5f2ab581
Merge pull request #131 from pjjw/aarch64-darwin
...
add aarch64-darwin to built systems
2021-09-27 19:08:56 +03:00
Peter Woodman
ed1ee1d866
add aarch64-darwin to built systems
2021-09-27 11:16:11 -04:00
Alexander Bantyev
bd91450cc1
Merge pull request #129 from serokell/update
...
flake.lock: Update
2021-09-23 12:42:18 +03:00
Alexander Bantyev
c7f8d07caf
Merge pull request #125 from blaggacao/master
...
fix: ignore direnv files
2021-09-23 12:41:42 +03:00
Alexander Bantyev
d676dd648c
flake.lock: Update
...
Flake lock file changes:
• Updated input 'flake-compat':
'github:edolstra/flake-compat/99f1c2157fba4bfe6211a321fd0ee43199025dbf' (2020-11-26)
→ 'github:edolstra/flake-compat/12c64ca55c1014cdc1b16ed5a804aa8576601ff2' (2021-08-02)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/d8eb97e3801bde96491535f40483d550b57605b9' (2021-06-06)
→ 'github:NixOS/nixpkgs/e0ce3c683ae677cf5aab597d645520cddd13392b' (2021-09-19)
• Updated input 'utils':
'github:numtide/flake-utils/7d706970d94bc5559077eb1a6600afddcd25a7c8' (2021-05-31)
→ 'github:numtide/flake-utils/7e5bf3925f6fbdfaf50a2a7ca0be2879c4261d19' (2021-09-13)
2021-09-23 12:39:51 +03:00
Alexander Bantyev
78bfc5d11c
Use nix-unstable command
2021-09-23 12:39:33 +03:00
Alexander Bantyev
b8f42e2a7f
Merge pull request #128 from lovesegfault/no-naersk
...
flake: replace naersk with buildRustPackage
2021-09-23 12:30:42 +03:00
Bernardo Meurer
dc6e17b86f
flake: replace naersk with buildRustPackage
2021-09-15 10:03:29 -07:00
David Arnold
188544797c
fix: ignore direnv files
2021-08-26 13:49:35 -05:00
notgne2
e5546f9c25
General code cleanup
2021-08-12 00:18:06 -07:00
Alexander Bantyev
d72174307d
Merge pull request #104 from nrdxp/as-lib
...
Use as library
2021-08-04 12:10:08 +03:00
Alexander Bantyev
2d06590cb0
Merge branch 'master' into as-lib
2021-08-04 12:09:54 +03:00
notgne2
a0dd40684d
Merge pull request #108 from serokell/notgne2/add-envrc
...
Add .envrc and fix devShell to work with more tools
2021-08-04 01:01:57 -07:00
notgne2
63ccbd7cdd
Add .envrc and fix devShell to work with more tools
2021-08-04 00:06:51 -07:00
Timothy DeHerrera
cfa203b1d3
fix ambiguous crate ref
2021-07-29 18:17:54 -06:00
Timothy DeHerrera
8a27483dce
optionally take args as input
2021-07-29 18:17:53 -06:00
Timothy DeHerrera
3b6e84d3e2
make cli opts public
2021-07-29 18:17:51 -06:00
Timothy DeHerrera
1b08f09f49
update tokio
2021-07-29 18:17:47 -06:00
Timothy DeHerrera
3c4d7d53d0
export cli run in lib
2021-07-14 15:21:56 -06:00
Alexander Bantyev
587cbcfe8d
Merge pull request #97 from blaggacao/patch-1
...
fix: add meta.description
2021-07-08 10:24:53 +03:00
Alexander Bantyev
364ef202e4
Merge pull request #96 from serokell/balsoft/eval-only-once
...
Evaluate only once, and then only realise
2021-07-02 20:55:09 +03:00
Alexander Bantyev
220f07199e
Evaluate only once, and then only realise
2021-07-02 19:28:49 +03:00
David Arnold
4bc3bea502
fix: add meta.description
2021-06-25 20:49:54 -05:00
Alexander Bantyev
f973cb571c
Add rustfmt and rust-analyzer to devShell
2021-06-25 11:27:05 +03:00
Alexander Bantyev
0964acc950
Merge pull request #95 from serokell/balsoft/refactor-as-overlay
...
flake.nix: refactor as overlay
2021-06-23 22:45:59 +03:00
Alexander Bantyev
0fc8dea27a
Merge branch 'feature/multi-node'
2021-06-22 14:58:01 +03:00
Alexander Bantyev
1d88b8409e
Cargo fmt
2021-06-22 14:57:50 +03:00
Yannik Sander
1a2d35be27
Add multi node support
...
Run multiple deployments in sequence
Resolve targets later
Extend context by deployed flake
Apply clippy suggestions
Add revoke command builder
Track succeeded deploys
Add revoke function
Register revoke error as deploy error
Prepare revoke command in activate
Extend logger to handle revoke
Implement revoke command client side
Run revoke on previously suceeded
Control whether to override by flag
Adhere profile configuration auto_rollback setting
Cargo fmt
Correctly provide profile path to activation script when revoking
Document multi flake mode in README
Resolve a typo in README.md
Co-authored-by: notgne2 <gen2@gen2.space>
Use existing teminology
rename revoke_suceeded -> rollback_suceeded
Use more open CLI argument name `targets` instead of `flakes`
Document name changes in README
Add sudo command support for revokes
Call run_deploy with `dry_active` flag
Test revoke commands contains sudo
Set default temp_path in activate binary
Require temp_path for wait and activate subcommands
Add copyright comment
Address review change requests
Fix typo in README
Co-authored-by: Alexander Bantyev <balsoft@balsoft.ru>
2021-06-22 13:41:15 +02:00
Alexander Bantyev
6424e7519f
flake.nix: refactor as overlay
2021-06-22 00:46:08 +03:00
Alexander Bantyev
70d71b3027
Merge pull request #84 from lovesegfault/flake-update
...
flake: update inputs
2021-06-06 23:37:16 +03:00
Bernardo Meurer
047c5dc39a
flake: update inputs
2021-06-06 12:46:28 -07:00
Alexander Bantyev
f1b70cad41
Merge pull request #93 from serokell/balsoft/matrix
...
Mention the matrix channel in the README
2021-06-06 17:15:27 +03:00
Alexander Bantyev
2a7cef6c29
Mention the matrix channel in the README
2021-06-06 16:04:12 +03:00
Alexander Bantyev
d2d05e1357
Merge pull request #90 from serokell/balsoft/fix-rollback
...
Fix auto-rollback with dry_activate
2021-05-20 14:14:22 +03:00
Alexander Bantyev
c8854cee19
flake.nix: clean up dry-activation logic
2021-05-20 14:14:01 +03:00
Alexander Bantyev
86fecf7db2
Fix rollback to old profiles
...
In 5d5da48
(https://github.com/serokell/deploy-rs/pull/81 ), $DRY_ACTIVATE
is used in a bash script with -u. When DRY_ACTIVATE is not set (which it
is not for older profiles), the script fails. Fix this by setting a fallback.
2021-05-18 22:11:35 +03:00
notgne2
896f9d3b5d
Merge pull request #82 from serokell/notgne2/add-hm-support
...
Add helper activation function for home-manager
2021-05-10 21:44:56 -07:00
notgne2
8dd6e23b95
Add helper activation function for home-manager
2021-05-10 21:43:16 -07:00
notgne2
f0456d6714
Merge pull request #81 from kitnil/dry-activate
...
Add dry-activate
2021-05-10 21:40:30 -07:00
notgne2
5d5da4898d
Use correct path to deploy-rs-activate
binary when using dry_activate
...
Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-04-30 10:47:46 +03:00
Oleg Pykhalov
920c9d2ed4
Apply notgne2 suggestions.
2021-04-16 12:38:37 +03:00
Oleg Pykhalov
6093dc02e9
flake: Add optional dryActivate argument to activate.custom
2021-04-07 19:40:17 +03:00
Oleg Pykhalov
46ac71aa24
Add dry activate argument.
2021-04-07 19:40:15 +03:00
Zhenya Vinogradov
9e405fbc5a
Merge pull request #79 from serokell/zhenya/ops1190-nix-logs
...
CI: print full logs for `nix flake check`
2021-03-22 12:52:06 +03:00
Zhenya Vinogradov
03d9f670ec
CI: print full logs for nix flake check
...
Without '-L' nix only prints logs on failure, and only the last 10
lines of them
2021-03-22 12:51:09 +03:00
notgne2
6278b9bef5
Merge pull request #64 from serokell/notgne2/fix-ssh-url
...
Remove `ssh://` prefix from SSH addresses
2021-03-01 20:12:55 -07:00